xref: /onnv-gate/usr/src/lib/libsocket/common/mapfile-vers (revision 4271:dda1ded496b7)
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*4271Srie# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
232522Sraf# Use is subject to license terms.
242522Sraf#
252522Sraf# ident	"%Z%%M%	%I%	%E% SMI"
262522Sraf#
272522Sraf
282522SrafSUNW_1.6 {
292522Sraf    global:
302522Sraf	getipv4sourcefilter;
312522Sraf	getsourcefilter;
322522Sraf	setipv4sourcefilter;
332522Sraf	setsourcefilter;
342522Sraf} SUNW_1.5;
352522Sraf
362522SrafSUNW_1.5 {
372522Sraf    global:
382522Sraf	inet6_opt_append;
392522Sraf	inet6_opt_find;
402522Sraf	inet6_opt_finish;
412522Sraf	inet6_opt_get_val;
422522Sraf	inet6_opt_init;
432522Sraf	inet6_opt_next;
442522Sraf	inet6_opt_set_val;
452522Sraf	inet6_rth_add;
462522Sraf	inet6_rth_getaddr;
472522Sraf	inet6_rth_init;
482522Sraf	inet6_rth_reverse;
492522Sraf	inet6_rth_segments;
502522Sraf	inet6_rth_space;
512522Sraf	sockatmark;
522522Sraf	__xnet_getaddrinfo;
532522Sraf} SUNW_1.4;
542522Sraf
552522SrafSUNW_1.4 {
562522Sraf    global:
572522Sraf	freeaddrinfo;
582522Sraf	gai_strerror;
592522Sraf	getaddrinfo;
602522Sraf	getnameinfo;
612522Sraf	if_freenameindex;
622522Sraf	if_indextoname;
632522Sraf	if_nameindex;
642522Sraf	if_nametoindex;
652522Sraf	in6addr_any;
662522Sraf	in6addr_loopback;
672522Sraf	rcmd_af;
682522Sraf	rexec_af;
692522Sraf	rresvport_af;
702522Sraf} SUNW_1.3;
712522Sraf
722522Sraf# Due to mistakes made early in the history of this library, there are
732522Sraf# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
742522Sraf# Don't add any symbols to these versions.
752522Sraf
762522SrafSUNW_1.3 {
772522Sraf    global:
782522Sraf	SUNW_1.3;
792522Sraf} SUNW_1.2;
802522Sraf
812522SrafSUNW_1.2 {
822522Sraf    global:
832522Sraf	SUNW_1.2;
842522Sraf} SUNW_1.1;
852522Sraf
862522SrafSUNW_1.1 {
872522Sraf    global:
882522Sraf	__xnet_bind;
892522Sraf	__xnet_connect;
902522Sraf	__xnet_getsockopt;
912522Sraf	__xnet_listen;
922522Sraf	__xnet_recvmsg;
932522Sraf	__xnet_sendmsg;
942522Sraf	__xnet_sendto;
952522Sraf	__xnet_socket;
962522Sraf	__xnet_socketpair;
972522Sraf} SUNW_0.7;
982522Sraf
992522SrafSUNW_0.7 {
1002522Sraf    global:
1012522Sraf	endnetent;
1022522Sraf	endprotoent;
1032522Sraf	endservent;
1042522Sraf	ether_aton;
1052522Sraf	ether_hostton;
1062522Sraf	ether_line;
1072522Sraf	ether_ntoa;
1082522Sraf	ether_ntohost;
1092522Sraf	getnetbyaddr;
1102522Sraf	getnetbyaddr_r;
1112522Sraf	getnetbyname;
1122522Sraf	getnetbyname_r;
1132522Sraf	getnetent;
1142522Sraf	getnetent_r;
1152522Sraf	getprotobyname_r;
1162522Sraf	getprotobynumber_r;
1172522Sraf	getprotoent_r;
1182522Sraf	getservbyname_r;
1192522Sraf	getservbyport_r;
1202522Sraf	getservent;
1212522Sraf	getservent_r;
122*4271Srie	htonl = FUNCTION FILTER libc.so.1;
123*4271Srie	htons = FUNCTION FILTER libc.so.1;
124*4271Srie	ntohl = FUNCTION FILTER libc.so.1;
125*4271Srie	ntohs = FUNCTION FILTER libc.so.1;
1262522Sraf	rcmd;
1272522Sraf	rexec;
1282522Sraf	rresvport;
1292522Sraf	ruserok;
1302522Sraf	setnetent;
1312522Sraf	setprotoent;
1322522Sraf	setservent;
1332522Sraf	socketpair;
1342522Sraf};
1352522Sraf
1362522Sraf# There really should be only one SUNWprivate version.
1372522Sraf# Don't add any more.  Add new private symbols to SUNWprivate_1.3
1382522Sraf
1392522SrafSUNWprivate_1.3 {
1402522Sraf    global:
1412522Sraf	_link_aton;
1422522Sraf	_link_ntoa;
1432830Sdjl	_nss_initf_ethers;
1442830Sdjl	_nss_initf_net;
1452830Sdjl	_nss_initf_netmasks;
1462830Sdjl	_nss_initf_proto;
1472830Sdjl	_nss_initf_services;
1482830Sdjl	str2ether;
1492830Sdjl	str2addr;
1502830Sdjl	str2netent;
1512830Sdjl	str2protoent;
1522522Sraf} SUNWprivate_1.2;
1532522Sraf
1542522SrafSUNWprivate_1.2 {
1552522Sraf    global:
1562522Sraf	getnetmaskbyaddr;
1572522Sraf	getnetmaskbynet;
1582522Sraf} SUNWprivate_1.1;
1592522Sraf
1602522SrafSUNWprivate_1.1 {
1612522Sraf    global:
1622522Sraf	_accept;
1632522Sraf	_bind;
1642522Sraf	bindresvport;
1652522Sraf	bootparams_getbyname;
1662522Sraf	_connect;
1672522Sraf	_getpeername;
1682522Sraf	_getsockname;
1692522Sraf	_getsockopt;
1702522Sraf	_listen;
1712522Sraf	_recv;
1722522Sraf	_recvfrom;
1732522Sraf	_recvmsg;
1742522Sraf	rresvport_addr;
1752522Sraf	_ruserpass;
1762522Sraf	_send;
1772522Sraf	_sendmsg;
1782522Sraf	_sendto;
1792522Sraf	_setsockopt;
1802522Sraf	_shutdown;
1812522Sraf	_socket;
1822522Sraf	_socket_bsd;
1832522Sraf	_socketpair;
1842522Sraf	_socketpair_bsd;
1852522Sraf    local:
1862522Sraf	*;
1872522Sraf};
188