xref: /titanic_41/usr/src/uts/common/inet/sockmods/socksdp.h (revision 0f1702c5201310f0529cd5abb77652e5e9b241b6)
1*0f1702c5SYu Xiangning /*
2*0f1702c5SYu Xiangning  * CDDL HEADER START
3*0f1702c5SYu Xiangning  *
4*0f1702c5SYu Xiangning  * The contents of this file are subject to the terms of the
5*0f1702c5SYu Xiangning  * Common Development and Distribution License (the "License").
6*0f1702c5SYu Xiangning  * You may not use this file except in compliance with the License.
7*0f1702c5SYu Xiangning  *
8*0f1702c5SYu Xiangning  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*0f1702c5SYu Xiangning  * or http://www.opensolaris.org/os/licensing.
10*0f1702c5SYu Xiangning  * See the License for the specific language governing permissions
11*0f1702c5SYu Xiangning  * and limitations under the License.
12*0f1702c5SYu Xiangning  *
13*0f1702c5SYu Xiangning  * When distributing Covered Code, include this CDDL HEADER in each
14*0f1702c5SYu Xiangning  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*0f1702c5SYu Xiangning  * If applicable, add the following below this CDDL HEADER, with the
16*0f1702c5SYu Xiangning  * fields enclosed by brackets "[]" replaced with your own identifying
17*0f1702c5SYu Xiangning  * information: Portions Copyright [yyyy] [name of copyright owner]
18*0f1702c5SYu Xiangning  *
19*0f1702c5SYu Xiangning  * CDDL HEADER END
20*0f1702c5SYu Xiangning  */
21*0f1702c5SYu Xiangning 
22*0f1702c5SYu Xiangning /*
23*0f1702c5SYu Xiangning  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*0f1702c5SYu Xiangning  * Use is subject to license terms.
25*0f1702c5SYu Xiangning  */
26*0f1702c5SYu Xiangning 
27*0f1702c5SYu Xiangning #ifndef	_SOCKSDP_H_
28*0f1702c5SYu Xiangning #define	_SOCKSDP_H_
29*0f1702c5SYu Xiangning 
30*0f1702c5SYu Xiangning #ifdef	__cplusplus
31*0f1702c5SYu Xiangning extern "C" {
32*0f1702c5SYu Xiangning #endif
33*0f1702c5SYu Xiangning 
34*0f1702c5SYu Xiangning extern sonodeops_t sosdp_sonodeops;
35*0f1702c5SYu Xiangning extern sdp_upcalls_t sosdp_sock_upcalls;
36*0f1702c5SYu Xiangning 
37*0f1702c5SYu Xiangning extern void sosdp_fini(struct sonode *, struct cred *);
38*0f1702c5SYu Xiangning extern void sosdp_so_inherit(struct sonode *, struct sonode *);
39*0f1702c5SYu Xiangning 
40*0f1702c5SYu Xiangning #ifdef	__cplusplus
41*0f1702c5SYu Xiangning }
42*0f1702c5SYu Xiangning #endif
43*0f1702c5SYu Xiangning 
44*0f1702c5SYu Xiangning #endif /* _SOCKSDP_H_ */
45