xref: /onnv-gate/usr/src/uts/common/sys/ib/clients/iser/iser_cm.h (revision 9162:b011b0287065)
1*9162SPeter.Dunlap@Sun.COM /*
2*9162SPeter.Dunlap@Sun.COM  * CDDL HEADER START
3*9162SPeter.Dunlap@Sun.COM  *
4*9162SPeter.Dunlap@Sun.COM  * The contents of this file are subject to the terms of the
5*9162SPeter.Dunlap@Sun.COM  * Common Development and Distribution License (the "License").
6*9162SPeter.Dunlap@Sun.COM  * You may not use this file except in compliance with the License.
7*9162SPeter.Dunlap@Sun.COM  *
8*9162SPeter.Dunlap@Sun.COM  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*9162SPeter.Dunlap@Sun.COM  * or http://www.opensolaris.org/os/licensing.
10*9162SPeter.Dunlap@Sun.COM  * See the License for the specific language governing permissions
11*9162SPeter.Dunlap@Sun.COM  * and limitations under the License.
12*9162SPeter.Dunlap@Sun.COM  *
13*9162SPeter.Dunlap@Sun.COM  * When distributing Covered Code, include this CDDL HEADER in each
14*9162SPeter.Dunlap@Sun.COM  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*9162SPeter.Dunlap@Sun.COM  * If applicable, add the following below this CDDL HEADER, with the
16*9162SPeter.Dunlap@Sun.COM  * fields enclosed by brackets "[]" replaced with your own identifying
17*9162SPeter.Dunlap@Sun.COM  * information: Portions Copyright [yyyy] [name of copyright owner]
18*9162SPeter.Dunlap@Sun.COM  *
19*9162SPeter.Dunlap@Sun.COM  * CDDL HEADER END
20*9162SPeter.Dunlap@Sun.COM  */
21*9162SPeter.Dunlap@Sun.COM /*
22*9162SPeter.Dunlap@Sun.COM  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*9162SPeter.Dunlap@Sun.COM  * Use is subject to license terms.
24*9162SPeter.Dunlap@Sun.COM  */
25*9162SPeter.Dunlap@Sun.COM 
26*9162SPeter.Dunlap@Sun.COM #ifndef _ISER_CM_H
27*9162SPeter.Dunlap@Sun.COM #define	_ISER_CM_H
28*9162SPeter.Dunlap@Sun.COM 
29*9162SPeter.Dunlap@Sun.COM #ifdef	__cplusplus
30*9162SPeter.Dunlap@Sun.COM extern "C" {
31*9162SPeter.Dunlap@Sun.COM #endif
32*9162SPeter.Dunlap@Sun.COM 
33*9162SPeter.Dunlap@Sun.COM #include <sys/types.h>
34*9162SPeter.Dunlap@Sun.COM #include <sys/ib/ibtl/ibti.h>
35*9162SPeter.Dunlap@Sun.COM #include <sys/ib/ibtl/ibtl_types.h>
36*9162SPeter.Dunlap@Sun.COM #include <sys/iscsi_protocol.h>
37*9162SPeter.Dunlap@Sun.COM 
38*9162SPeter.Dunlap@Sun.COM /*
39*9162SPeter.Dunlap@Sun.COM  * iser_cm.h
40*9162SPeter.Dunlap@Sun.COM  *	Definitions and functions related to the Communications Manager
41*9162SPeter.Dunlap@Sun.COM  */
42*9162SPeter.Dunlap@Sun.COM ibt_cm_status_t iser_ib_cm_handler(void *cm_private, ibt_cm_event_t *event,
43*9162SPeter.Dunlap@Sun.COM     ibt_cm_return_args_t *ret_args, void *ret_priv_data,
44*9162SPeter.Dunlap@Sun.COM     ibt_priv_data_len_t ret_len_max);
45*9162SPeter.Dunlap@Sun.COM 
46*9162SPeter.Dunlap@Sun.COM 
47*9162SPeter.Dunlap@Sun.COM #ifdef	__cplusplus
48*9162SPeter.Dunlap@Sun.COM }
49*9162SPeter.Dunlap@Sun.COM #endif
50*9162SPeter.Dunlap@Sun.COM 
51*9162SPeter.Dunlap@Sun.COM #endif /* _ISER_CM_H */
52