dapl_ep_post_send.c revision 9e39c5ba00a55fa05777cc94b148296af305e135
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * CDDL HEADER START
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * The contents of this file are subject to the terms of the
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * Common Development and Distribution License (the "License").
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * You may not use this file except in compliance with the License.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * See the License for the specific language governing permissions
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * and limitations under the License.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * When distributing Covered Code, include this CDDL HEADER in each
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * If applicable, add the following below this CDDL HEADER, with the
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * fields enclosed by brackets "[]" replaced with your own identifying
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * information: Portions Copyright [yyyy] [name of copyright owner]
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * CDDL HEADER END
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * Use is subject to license terms.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * PURPOSE: Endpoint management
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * Description: Interfaces in this file are completely described in
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * the DAPL 1.1 API, Chapter 6, section 5
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * $Id: dapl_ep_post_send.c,v 1.7 2003/07/30 18:13:37 hobie16 Exp $
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * dapl_ep_post_send
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * DAPL Requirements Version xxx, 6.5.10
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * Request a transfer of all the data from the local_iov over
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * the connection of the ep handle Endpoint to the remote side.
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * num_segments
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * user_cookie
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * completion_flags
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * DAT_SUCCESS
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * DAT_INSUFFICIENT_RESOURCES
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * DAT_INVALID_PARAMETER
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * DAT_INVALID_STATE
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * DAT_PROTECTION_VIOLATION
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor * DAT_PRIVILEGES_VIOLATION
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor "dapl_ep_post_send(%p, %d, %p, %P, %x)\n",
9e39c5ba00a55fa05777cc94b148296af305e135Bill Taylor "dapl_ep_post_send () returns 0x%x\n", dat_status);