xref: /onnv-gate/usr/src/lib/libsocket/common/mapfile-vers (revision 12692:4341b447c069)
12522Sraf#
22522Sraf# CDDL HEADER START
32522Sraf#
42522Sraf# The contents of this file are subject to the terms of the
52522Sraf# Common Development and Distribution License (the "License").
62522Sraf# You may not use this file except in compliance with the License.
72522Sraf#
82522Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92522Sraf# or http://www.opensolaris.org/os/licensing.
102522Sraf# See the License for the specific language governing permissions
112522Sraf# and limitations under the License.
122522Sraf#
132522Sraf# When distributing Covered Code, include this CDDL HEADER in each
142522Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152522Sraf# If applicable, add the following below this CDDL HEADER, with the
162522Sraf# fields enclosed by brackets "[]" replaced with your own identifying
172522Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
182522Sraf#
192522Sraf# CDDL HEADER END
202522Sraf#
212522Sraf#
22*12692SAli.Bahrami@Oracle.COM# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
232522Sraf#
248744SAli.Bahrami@Sun.COM
258744SAli.Bahrami@Sun.COM#
268744SAli.Bahrami@Sun.COM# MAPFILE HEADER START
278744SAli.Bahrami@Sun.COM#
288744SAli.Bahrami@Sun.COM# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
298744SAli.Bahrami@Sun.COM# Object versioning must comply with the rules detailed in
308744SAli.Bahrami@Sun.COM#
318744SAli.Bahrami@Sun.COM#	usr/src/lib/README.mapfiles
328744SAli.Bahrami@Sun.COM#
338744SAli.Bahrami@Sun.COM# You should not be making modifications here until you've read the most current
348744SAli.Bahrami@Sun.COM# copy of that file. If you need help, contact a gatekeeper for guidance.
358744SAli.Bahrami@Sun.COM#
368744SAli.Bahrami@Sun.COM# MAPFILE HEADER END
372522Sraf#
382522Sraf
39*12692SAli.Bahrami@Oracle.COM$mapfile_version 2
40*12692SAli.Bahrami@Oracle.COM
41*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.7 {
4212016SGirish.Moodalbail@Sun.COM    global:
4312016SGirish.Moodalbail@Sun.COM	freeifaddrs;
4412016SGirish.Moodalbail@Sun.COM	getifaddrs;
4512016SGirish.Moodalbail@Sun.COM} SUNW_1.6;
4612016SGirish.Moodalbail@Sun.COM
47*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.6 {
482522Sraf    global:
492522Sraf	getipv4sourcefilter;
502522Sraf	getsourcefilter;
512522Sraf	setipv4sourcefilter;
522522Sraf	setsourcefilter;
532522Sraf} SUNW_1.5;
542522Sraf
55*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.5 {
562522Sraf    global:
572522Sraf	inet6_opt_append;
582522Sraf	inet6_opt_find;
592522Sraf	inet6_opt_finish;
602522Sraf	inet6_opt_get_val;
612522Sraf	inet6_opt_init;
622522Sraf	inet6_opt_next;
632522Sraf	inet6_opt_set_val;
642522Sraf	inet6_rth_add;
652522Sraf	inet6_rth_getaddr;
662522Sraf	inet6_rth_init;
672522Sraf	inet6_rth_reverse;
682522Sraf	inet6_rth_segments;
692522Sraf	inet6_rth_space;
702522Sraf	sockatmark;
712522Sraf	__xnet_getaddrinfo;
722522Sraf} SUNW_1.4;
732522Sraf
74*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.4 {
752522Sraf    global:
762522Sraf	freeaddrinfo;
772522Sraf	gai_strerror;
782522Sraf	getaddrinfo;
792522Sraf	getnameinfo;
802522Sraf	if_freenameindex;
812522Sraf	if_indextoname;
822522Sraf	if_nameindex;
832522Sraf	if_nametoindex;
842522Sraf	in6addr_any;
852522Sraf	in6addr_loopback;
862522Sraf	rcmd_af;
872522Sraf	rexec_af;
882522Sraf	rresvport_af;
892522Sraf} SUNW_1.3;
902522Sraf
912522Sraf# Due to mistakes made early in the history of this library, there are
922522Sraf# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
932522Sraf# Don't add any symbols to these versions.
942522Sraf
95*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.3 {
962522Sraf    global:
972522Sraf	SUNW_1.3;
982522Sraf} SUNW_1.2;
992522Sraf
100*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.2 {
1012522Sraf    global:
1022522Sraf	SUNW_1.2;
1032522Sraf} SUNW_1.1;
1042522Sraf
105*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_1.1 {
1062522Sraf    global:
1072522Sraf	__xnet_bind;
1082522Sraf	__xnet_connect;
1092522Sraf	__xnet_getsockopt;
1102522Sraf	__xnet_listen;
1112522Sraf	__xnet_recvmsg;
1122522Sraf	__xnet_sendmsg;
1132522Sraf	__xnet_sendto;
1142522Sraf	__xnet_socket;
1152522Sraf	__xnet_socketpair;
1162522Sraf} SUNW_0.7;
1172522Sraf
118*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNW_0.7 {
1192522Sraf    global:
1202522Sraf	endnetent;
1212522Sraf	endprotoent;
1222522Sraf	endservent;
1232522Sraf	ether_aton;
1242522Sraf	ether_hostton;
1252522Sraf	ether_line;
1262522Sraf	ether_ntoa;
1272522Sraf	ether_ntohost;
1282522Sraf	getnetbyaddr;
1292522Sraf	getnetbyaddr_r;
1302522Sraf	getnetbyname;
1312522Sraf	getnetbyname_r;
1322522Sraf	getnetent;
1332522Sraf	getnetent_r;
1342522Sraf	getprotobyname_r;
1352522Sraf	getprotobynumber_r;
1362522Sraf	getprotoent_r;
1372522Sraf	getservbyname_r;
1382522Sraf	getservbyport_r;
1392522Sraf	getservent;
1402522Sraf	getservent_r;
141*12692SAli.Bahrami@Oracle.COM	htonl			{ TYPE = FUNCTION; FILTER = libc.so.1 };
142*12692SAli.Bahrami@Oracle.COM	htons			{ TYPE = FUNCTION; FILTER = libc.so.1 };
143*12692SAli.Bahrami@Oracle.COM	ntohl			{ TYPE = FUNCTION; FILTER = libc.so.1 };
144*12692SAli.Bahrami@Oracle.COM	ntohs			{ TYPE = FUNCTION; FILTER = libc.so.1 };
1452522Sraf	rcmd;
1462522Sraf	rexec;
1472522Sraf	rresvport;
1482522Sraf	ruserok;
1492522Sraf	setnetent;
1502522Sraf	setprotoent;
1512522Sraf	setservent;
1522522Sraf	socketpair;
153*12692SAli.Bahrami@Oracle.COM
154*12692SAli.Bahrami@Oracle.COM	# For ABI reasons, the following symbols are in SISCD_2.3 on 32-bit
155*12692SAli.Bahrami@Oracle.COM	# sparc, which is inherited by SUNW_0.7. On all other platforms,
156*12692SAli.Bahrami@Oracle.COM	# they are simply in SUNW_0.7
157*12692SAli.Bahrami@Oracle.COM$if _sparc && _ELF32
158*12692SAli.Bahrami@Oracle.COM} SISCD_2.3;
159*12692SAli.Bahrami@Oracle.COM
160*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SISCD_2.3 {
161*12692SAli.Bahrami@Oracle.COM    global:
162*12692SAli.Bahrami@Oracle.COM$endif
163*12692SAli.Bahrami@Oracle.COM	accept;
164*12692SAli.Bahrami@Oracle.COM	bind;
165*12692SAli.Bahrami@Oracle.COM	connect;
166*12692SAli.Bahrami@Oracle.COM	getpeername;
167*12692SAli.Bahrami@Oracle.COM	getprotobyname;
168*12692SAli.Bahrami@Oracle.COM	getprotobynumber;
169*12692SAli.Bahrami@Oracle.COM	getprotoent;
170*12692SAli.Bahrami@Oracle.COM	getservbyname;
171*12692SAli.Bahrami@Oracle.COM	getservbyport;
172*12692SAli.Bahrami@Oracle.COM	getsockname;
173*12692SAli.Bahrami@Oracle.COM	getsockopt;
174*12692SAli.Bahrami@Oracle.COM	inet_lnaof;
175*12692SAli.Bahrami@Oracle.COM	inet_makeaddr;
176*12692SAli.Bahrami@Oracle.COM	inet_network;
177*12692SAli.Bahrami@Oracle.COM	listen;
178*12692SAli.Bahrami@Oracle.COM	recv;
179*12692SAli.Bahrami@Oracle.COM	recvfrom;
180*12692SAli.Bahrami@Oracle.COM	recvmsg;
181*12692SAli.Bahrami@Oracle.COM	send;
182*12692SAli.Bahrami@Oracle.COM	sendmsg;
183*12692SAli.Bahrami@Oracle.COM	sendto;
184*12692SAli.Bahrami@Oracle.COM	setsockopt;
185*12692SAli.Bahrami@Oracle.COM	shutdown;
186*12692SAli.Bahrami@Oracle.COM	socket;
1872522Sraf};
1882522Sraf
1892522Sraf# There really should be only one SUNWprivate version.
1902522Sraf# Don't add any more.  Add new private symbols to SUNWprivate_1.3
1912522Sraf
192*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNWprivate_1.3 {
1932522Sraf    global:
1942522Sraf	_link_aton;
1952522Sraf	_link_ntoa;
1962830Sdjl	_nss_initf_ethers;
1972830Sdjl	_nss_initf_net;
1982830Sdjl	_nss_initf_netmasks;
1992830Sdjl	_nss_initf_proto;
2002830Sdjl	_nss_initf_services;
20112016SGirish.Moodalbail@Sun.COM	getallifaddrs;
20212016SGirish.Moodalbail@Sun.COM	getallifs;
2032830Sdjl	str2ether;
2042830Sdjl	str2addr;
2052830Sdjl	str2netent;
2062830Sdjl	str2protoent;
2072522Sraf} SUNWprivate_1.2;
2082522Sraf
209*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNWprivate_1.2 {
2102522Sraf    global:
2112522Sraf	getnetmaskbyaddr;
2122522Sraf	getnetmaskbynet;
2132522Sraf} SUNWprivate_1.1;
2142522Sraf
215*12692SAli.Bahrami@Oracle.COMSYMBOL_VERSION SUNWprivate_1.1 {
2162522Sraf    global:
2172522Sraf	_accept;
2182522Sraf	_bind;
2192522Sraf	bindresvport;
2202522Sraf	bootparams_getbyname;
2212522Sraf	_connect;
2222522Sraf	_getpeername;
2232522Sraf	_getsockname;
2242522Sraf	_getsockopt;
2252522Sraf	_listen;
2262522Sraf	_recv;
2272522Sraf	_recvfrom;
2282522Sraf	_recvmsg;
2292522Sraf	rresvport_addr;
2302522Sraf	_ruserpass;
2312522Sraf	_send;
2322522Sraf	_sendmsg;
2332522Sraf	_sendto;
2342522Sraf	_setsockopt;
2352522Sraf	_shutdown;
2362522Sraf	_socket;
2372522Sraf	_socket_bsd;
2382522Sraf	_socketpair;
2392522Sraf	_socketpair_bsd;
2402522Sraf    local:
2412522Sraf	*;
2422522Sraf};
243