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