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