xref: /illumos-gate/usr/src/lib/libsocket/common/mapfile-vers (revision 4bff34e37def8a90f9194d81bc345c52ba20086a)
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 2007 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 = FUNCTION FILTER libc.so.1;
123	htons = FUNCTION FILTER libc.so.1;
124	ntohl = FUNCTION FILTER libc.so.1;
125	ntohs = FUNCTION FILTER libc.so.1;
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	_nss_initf_ethers;
144	_nss_initf_net;
145	_nss_initf_netmasks;
146	_nss_initf_proto;
147	_nss_initf_services;
148	str2ether;
149	str2addr;
150	str2netent;
151	str2protoent;
152} SUNWprivate_1.2;
153
154SUNWprivate_1.2 {
155    global:
156	getnetmaskbyaddr;
157	getnetmaskbynet;
158} SUNWprivate_1.1;
159
160SUNWprivate_1.1 {
161    global:
162	_accept;
163	_bind;
164	bindresvport;
165	bootparams_getbyname;
166	_connect;
167	_getpeername;
168	_getsockname;
169	_getsockopt;
170	_listen;
171	_recv;
172	_recvfrom;
173	_recvmsg;
174	rresvport_addr;
175	_ruserpass;
176	_send;
177	_sendmsg;
178	_sendto;
179	_setsockopt;
180	_shutdown;
181	_socket;
182	_socket_bsd;
183	_socketpair;
184	_socketpair_bsd;
185    local:
186	*;
187};
188