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