1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27
28SUNW_1.6 {
29    global:
30	getipv4sourcefilter;
31	getsourcefilter;
32	setipv4sourcefilter;
33	setsourcefilter;
34} SUNW_1.5;
35
36SUNW_1.5 {
37    global:
38	inet6_opt_append;
39	inet6_opt_find;
40	inet6_opt_finish;
41	inet6_opt_get_val;
42	inet6_opt_init;
43	inet6_opt_next;
44	inet6_opt_set_val;
45	inet6_rth_add;
46	inet6_rth_getaddr;
47	inet6_rth_init;
48	inet6_rth_reverse;
49	inet6_rth_segments;
50	inet6_rth_space;
51	sockatmark;
52	__xnet_getaddrinfo;
53} SUNW_1.4;
54
55SUNW_1.4 {
56    global:
57	freeaddrinfo;
58	gai_strerror;
59	getaddrinfo;
60	getnameinfo;
61	if_freenameindex;
62	if_indextoname;
63	if_nameindex;
64	if_nametoindex;
65	in6addr_any;
66	in6addr_loopback;
67	rcmd_af;
68	rexec_af;
69	rresvport_af;
70} SUNW_1.3;
71
72# Due to mistakes made early in the history of this library, there are
73# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
74# Don't add any symbols to these versions.
75
76SUNW_1.3 {
77    global:
78	SUNW_1.3;
79} SUNW_1.2;
80
81SUNW_1.2 {
82    global:
83	SUNW_1.2;
84} SUNW_1.1;
85
86SUNW_1.1 {
87    global:
88	__xnet_bind;
89	__xnet_connect;
90	__xnet_getsockopt;
91	__xnet_listen;
92	__xnet_recvmsg;
93	__xnet_sendmsg;
94	__xnet_sendto;
95	__xnet_socket;
96	__xnet_socketpair;
97} SUNW_0.7;
98
99SUNW_0.7 {
100    global:
101	endnetent;
102	endprotoent;
103	endservent;
104	ether_aton;
105	ether_hostton;
106	ether_line;
107	ether_ntoa;
108	ether_ntohost;
109	getnetbyaddr;
110	getnetbyaddr_r;
111	getnetbyname;
112	getnetbyname_r;
113	getnetent;
114	getnetent_r;
115	getprotobyname_r;
116	getprotobynumber_r;
117	getprotoent_r;
118	getservbyname_r;
119	getservbyport_r;
120	getservent;
121	getservent_r;
122	htonl;
123	htons;
124	ntohl;
125	ntohs;
126	rcmd;
127	rexec;
128	rresvport;
129	ruserok;
130	setnetent;
131	setprotoent;
132	setservent;
133	socketpair;
134};
135
136# There really should be only one SUNWprivate version.
137# Don't add any more.  Add new private symbols to SUNWprivate_1.3
138
139SUNWprivate_1.3 {
140    global:
141	_link_aton;
142	_link_ntoa;
143} SUNWprivate_1.2;
144
145SUNWprivate_1.2 {
146    global:
147	getnetmaskbyaddr;
148	getnetmaskbynet;
149} SUNWprivate_1.1;
150
151SUNWprivate_1.1 {
152    global:
153	_accept;
154	_bind;
155	bindresvport;
156	bootparams_getbyname;
157	_connect;
158	_getpeername;
159	_getsockname;
160	_getsockopt;
161	_listen;
162	_recv;
163	_recvfrom;
164	_recvmsg;
165	rresvport_addr;
166	_ruserpass;
167	_send;
168	_sendmsg;
169	_sendto;
170	_setsockopt;
171	_shutdown;
172	_socket;
173	_socket_bsd;
174	_socketpair;
175	_socketpair_bsd;
176    local:
177	*;
178};
179