xref: /illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/loop.h (revision 781e28bcb81d83d83ad88fa1cd5bad126efb9133)
1 /*
2  * This file contains definitions imported from the OFED rds header loop.h.
3  * Oracle elects to have and use the contents of loop.h under and
4  * governed by the OpenIB.org BSD license.
5  */
6 /*
7  * Copyright (c) 2008 Oracle.  All rights reserved.
8  *
9  * This software is available to you under a choice of one of two
10  * licenses.  You may choose to be licensed under the terms of the GNU
11  * General Public License (GPL) Version 2, available from the file
12  * COPYING in the main directory of this source tree, or the
13  * OpenIB.org BSD license below:
14  *
15  *     Redistribution and use in source and binary forms, with or
16  *     without modification, are permitted provided that the following
17  *     conditions are met:
18  *
19  *      - Redistributions of source code must retain the above
20  *        copyright notice, this list of conditions and the following
21  *        disclaimer.
22  *
23  *      - Redistributions in binary form must reproduce the above
24  *        copyright notice, this list of conditions and the following
25  *        disclaimer in the documentation and/or other materials
26  *        provided with the distribution.
27  *
28  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
30  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
32  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
33  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
34  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35  * SOFTWARE.
36  *
37  */
38 #ifndef _RDSV3_LOOP_H
39 #define	_RDSV3_LOOP_H
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 /* loop.c */
46 extern struct rdsv3_transport rdsv3_loop_transport;
47 
48 void rdsv3_loop_exit(void);
49 
50 #ifdef	__cplusplus
51 }
52 #endif
53 
54 #endif /* _RDSV3_LOOP_H */
55