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