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