dapl_rsp_create.c revision 9e39c5ba00a55fa05777cc94b148296af305e135
749N/A * The contents of this file are subject to the terms of the 749N/A * Common Development and Distribution License (the "License"). 749N/A * You may not use this file except in compliance with the License. 749N/A * See the License for the specific language governing permissions 749N/A * and limitations under the License. 749N/A * When distributing Covered Code, include this CDDL HEADER in each 749N/A * If applicable, add the following below this CDDL HEADER, with the 749N/A * fields enclosed by brackets "[]" replaced with your own identifying 749N/A * information: Portions Copyright [yyyy] [name of copyright owner] 749N/A * Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved. 749N/A * Copyright 2003 Sun Microsystems, Inc. All rights reserved. 749N/A * Use is subject to license terms. 749N/A * PURPOSE: Connection management 749N/A * Description: Interfaces in this file are completely described in 749N/A * the DAPL 1.1 API, Chapter 6, section 4 749N/A * uDAPL: User Direct Access Program Library Version 1.1, 6.4.3.4.1 749N/A * Create a Resereved Service Point with the specified Endpoint 749N/A * that generates at most one Connection Request that is 749N/A * delivered to the specified Event Dispatcher in a notification * DAT_INSUFFICIENT_RESOURCES ">>> dapl_rsp_free conn_qual: %x EP: %p\n",
* Take a reference on the EVD handle * Update the EP state indicating the provider now owns it * Set up a listener for a connection. Connections can arrive * even before this call returns! /* Link it onto the IA */ * Have a problem setting up the connection, something * rsp_free will decrement the EVD refcount. Set * listening to * false to avoid tearing down the * conn_listener which didn't * get set up. "--> dapl_rsp_create setup_conn_listener failed: " * Return handle to the user