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