xref: /illumos-gate/usr/src/lib/libsocket/common/mapfile-vers (revision 98c080d502548e68bb9815459ea56e6ae282c430)
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 2010 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26#
27# MAPFILE HEADER START
28#
29# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30# Object versioning must comply with the rules detailed in
31#
32#	usr/src/lib/README.mapfiles
33#
34# You should not be making modifications here until you've read the most current
35# copy of that file. If you need help, contact a gatekeeper for guidance.
36#
37# MAPFILE HEADER END
38#
39
40SUNW_1.7 {
41    global:
42	freeifaddrs;
43	getifaddrs;
44} SUNW_1.6;
45
46SUNW_1.6 {
47    global:
48	getipv4sourcefilter;
49	getsourcefilter;
50	setipv4sourcefilter;
51	setsourcefilter;
52} SUNW_1.5;
53
54SUNW_1.5 {
55    global:
56	inet6_opt_append;
57	inet6_opt_find;
58	inet6_opt_finish;
59	inet6_opt_get_val;
60	inet6_opt_init;
61	inet6_opt_next;
62	inet6_opt_set_val;
63	inet6_rth_add;
64	inet6_rth_getaddr;
65	inet6_rth_init;
66	inet6_rth_reverse;
67	inet6_rth_segments;
68	inet6_rth_space;
69	sockatmark;
70	__xnet_getaddrinfo;
71} SUNW_1.4;
72
73SUNW_1.4 {
74    global:
75	freeaddrinfo;
76	gai_strerror;
77	getaddrinfo;
78	getnameinfo;
79	if_freenameindex;
80	if_indextoname;
81	if_nameindex;
82	if_nametoindex;
83	in6addr_any;
84	in6addr_loopback;
85	rcmd_af;
86	rexec_af;
87	rresvport_af;
88} SUNW_1.3;
89
90# Due to mistakes made early in the history of this library, there are
91# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
92# Don't add any symbols to these versions.
93
94SUNW_1.3 {
95    global:
96	SUNW_1.3;
97} SUNW_1.2;
98
99SUNW_1.2 {
100    global:
101	SUNW_1.2;
102} SUNW_1.1;
103
104SUNW_1.1 {
105    global:
106	__xnet_bind;
107	__xnet_connect;
108	__xnet_getsockopt;
109	__xnet_listen;
110	__xnet_recvmsg;
111	__xnet_sendmsg;
112	__xnet_sendto;
113	__xnet_socket;
114	__xnet_socketpair;
115} SUNW_0.7;
116
117SUNW_0.7 {
118    global:
119	endnetent;
120	endprotoent;
121	endservent;
122	ether_aton;
123	ether_hostton;
124	ether_line;
125	ether_ntoa;
126	ether_ntohost;
127	getnetbyaddr;
128	getnetbyaddr_r;
129	getnetbyname;
130	getnetbyname_r;
131	getnetent;
132	getnetent_r;
133	getprotobyname_r;
134	getprotobynumber_r;
135	getprotoent_r;
136	getservbyname_r;
137	getservbyport_r;
138	getservent;
139	getservent_r;
140	htonl = FUNCTION FILTER libc.so.1;
141	htons = FUNCTION FILTER libc.so.1;
142	ntohl = FUNCTION FILTER libc.so.1;
143	ntohs = FUNCTION FILTER libc.so.1;
144	rcmd;
145	rexec;
146	rresvport;
147	ruserok;
148	setnetent;
149	setprotoent;
150	setservent;
151	socketpair;
152};
153
154# There really should be only one SUNWprivate version.
155# Don't add any more.  Add new private symbols to SUNWprivate_1.3
156
157SUNWprivate_1.3 {
158    global:
159	_link_aton;
160	_link_ntoa;
161	_nss_initf_ethers;
162	_nss_initf_net;
163	_nss_initf_netmasks;
164	_nss_initf_proto;
165	_nss_initf_services;
166	getallifaddrs;
167	getallifs;
168	str2ether;
169	str2addr;
170	str2netent;
171	str2protoent;
172} SUNWprivate_1.2;
173
174SUNWprivate_1.2 {
175    global:
176	getnetmaskbyaddr;
177	getnetmaskbynet;
178} SUNWprivate_1.1;
179
180SUNWprivate_1.1 {
181    global:
182	_accept;
183	_bind;
184	bindresvport;
185	bootparams_getbyname;
186	_connect;
187	_getpeername;
188	_getsockname;
189	_getsockopt;
190	_listen;
191	_recv;
192	_recvfrom;
193	_recvmsg;
194	rresvport_addr;
195	_ruserpass;
196	_send;
197	_sendmsg;
198	_sendto;
199	_setsockopt;
200	_shutdown;
201	_socket;
202	_socket_bsd;
203	_socketpair;
204	_socketpair_bsd;
205    local:
206	*;
207};
208