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.
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.
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]
22 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
27 # MAPFILE HEADER START
29 # WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
30 # Object versioning must comply with the rules detailed in
32 # usr/src/lib/README.mapfiles
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.
42 SYMBOL_VERSION ILLUMOS_0.2 { # reentrant ethers(3SOCKET)
44 ether_aton_r { TYPE = FUNCTION };
45 ether_ntoa_r { TYPE = FUNCTION };
48 SYMBOL_VERSION ILLUMOS_0.1 { # Illumos additions
50 accept4 { TYPE = FUNCTION };
53 SYMBOL_VERSION SUNW_1.7 {
55 freeifaddrs { TYPE = FUNCTION };
56 getifaddrs { TYPE = FUNCTION };
59 SYMBOL_VERSION SUNW_1.6 {
61 getipv4sourcefilter { TYPE = FUNCTION };
62 getsourcefilter { TYPE = FUNCTION };
63 setipv4sourcefilter { TYPE = FUNCTION };
64 setsourcefilter { TYPE = FUNCTION };
67 SYMBOL_VERSION SUNW_1.5 {
69 inet6_opt_append { TYPE = FUNCTION };
70 inet6_opt_find { TYPE = FUNCTION };
71 inet6_opt_finish { TYPE = FUNCTION };
72 inet6_opt_get_val { TYPE = FUNCTION };
73 inet6_opt_init { TYPE = FUNCTION };
74 inet6_opt_next { TYPE = FUNCTION };
75 inet6_opt_set_val { TYPE = FUNCTION };
76 inet6_rth_add { TYPE = FUNCTION };
77 inet6_rth_getaddr { TYPE = FUNCTION };
78 inet6_rth_init { TYPE = FUNCTION };
79 inet6_rth_reverse { TYPE = FUNCTION };
80 inet6_rth_segments { TYPE = FUNCTION };
81 inet6_rth_space { TYPE = FUNCTION };
82 sockatmark { TYPE = FUNCTION };
83 __xnet_getaddrinfo { TYPE = FUNCTION };
86 SYMBOL_VERSION SUNW_1.4 {
88 freeaddrinfo { TYPE = FUNCTION };
89 gai_strerror { TYPE = FUNCTION };
90 getaddrinfo { TYPE = FUNCTION };
91 getnameinfo { TYPE = FUNCTION };
92 if_freenameindex { TYPE = FUNCTION };
93 if_indextoname { TYPE = FUNCTION };
94 if_nameindex { TYPE = FUNCTION };
95 if_nametoindex { TYPE = FUNCTION };
96 in6addr_any { TYPE = DATA; SIZE = 0x10 };
97 in6addr_loopback { TYPE = DATA; SIZE = 0x10 };
100 # Due to mistakes made early in the history of this library, there are
101 # no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
102 # Don't add any symbols to these versions.
104 SYMBOL_VERSION SUNW_1.3 {
109 SYMBOL_VERSION SUNW_1.2 {
114 SYMBOL_VERSION SUNW_1.1 {
116 __xnet_bind { TYPE = FUNCTION };
117 __xnet_connect { TYPE = FUNCTION };
118 __xnet_getsockopt { TYPE = FUNCTION };
119 __xnet_listen { TYPE = FUNCTION };
120 __xnet_recvmsg { TYPE = FUNCTION };
121 __xnet_sendmsg { TYPE = FUNCTION };
122 __xnet_sendto { TYPE = FUNCTION };
123 __xnet_socket { TYPE = FUNCTION };
124 __xnet_socketpair { TYPE = FUNCTION };
127 SYMBOL_VERSION SUNW_0.7 {
129 endnetent { TYPE = FUNCTION };
130 endprotoent { TYPE = FUNCTION };
131 endservent { TYPE = FUNCTION };
132 ether_aton { TYPE = FUNCTION };
133 ether_hostton { TYPE = FUNCTION };
134 ether_line { TYPE = FUNCTION };
135 ether_ntoa { TYPE = FUNCTION };
136 ether_ntohost { TYPE = FUNCTION };
137 getnetbyaddr { TYPE = FUNCTION };
138 getnetbyaddr_r { TYPE = FUNCTION };
139 getnetbyname { TYPE = FUNCTION };
140 getnetbyname_r { TYPE = FUNCTION };
141 getnetent { TYPE = FUNCTION };
142 getnetent_r { TYPE = FUNCTION };
143 getprotobyname_r { TYPE = FUNCTION };
144 getprotobynumber_r { TYPE = FUNCTION };
145 getprotoent_r { TYPE = FUNCTION };
146 getservbyname_r { TYPE = FUNCTION };
147 getservbyport_r { TYPE = FUNCTION };
148 getservent { TYPE = FUNCTION };
149 getservent_r { TYPE = FUNCTION };
150 htonl { TYPE = FUNCTION };
151 htons { TYPE = FUNCTION };
152 ntohl { TYPE = FUNCTION };
153 ntohs { TYPE = FUNCTION };
154 setnetent { TYPE = FUNCTION };
155 setprotoent { TYPE = FUNCTION };
156 setservent { TYPE = FUNCTION };
157 socketpair { TYPE = FUNCTION };
159 # For ABI reasons, the following symbols are in SISCD_2.3 on 32-bit
160 # sparc, which is inherited by SUNW_0.7. On all other platforms,
161 # they are simply in SUNW_0.7
165 SYMBOL_VERSION SISCD_2.3 {
168 accept { TYPE = FUNCTION };
169 bind { TYPE = FUNCTION };
170 connect { TYPE = FUNCTION };
171 getpeername { TYPE = FUNCTION };
172 getprotobyname { TYPE = FUNCTION };
173 getprotobynumber { TYPE = FUNCTION };
174 getprotoent { TYPE = FUNCTION };
175 getservbyname { TYPE = FUNCTION };
176 getservbyport { TYPE = FUNCTION };
177 getsockname { TYPE = FUNCTION };
178 getsockopt { TYPE = FUNCTION };
179 inet_lnaof { TYPE = FUNCTION };
180 inet_makeaddr { TYPE = FUNCTION };
181 inet_network { TYPE = FUNCTION };
182 listen { TYPE = FUNCTION };
183 recv { TYPE = FUNCTION };
184 recvfrom { TYPE = FUNCTION };
185 recvmsg { TYPE = FUNCTION };
186 send { TYPE = FUNCTION };
187 sendmsg { TYPE = FUNCTION };
188 sendto { TYPE = FUNCTION };
189 setsockopt { TYPE = FUNCTION };
190 shutdown { TYPE = FUNCTION };
191 socket { TYPE = FUNCTION };
194 # There really should be only one SUNWprivate version.
195 # Don't add any more. Add new private symbols to SUNWprivate_1.3
197 SYMBOL_VERSION SUNWprivate_1.3 {
199 _link_aton { TYPE = FUNCTION };
200 _link_ntoa { TYPE = FUNCTION };
201 _nss_initf_ethers { TYPE = FUNCTION };
202 _nss_initf_net { TYPE = FUNCTION };
203 _nss_initf_netmasks { TYPE = FUNCTION };
204 _nss_initf_proto { TYPE = FUNCTION };
205 _nss_initf_services { TYPE = FUNCTION };
206 getallifaddrs { TYPE = FUNCTION };
207 getallifs { TYPE = FUNCTION };
208 str2ether { TYPE = FUNCTION };
209 str2addr { TYPE = FUNCTION };
210 str2netent { TYPE = FUNCTION };
211 str2protoent { TYPE = FUNCTION };
214 SYMBOL_VERSION SUNWprivate_1.2 {
216 getnetmaskbyaddr { TYPE = FUNCTION };
217 getnetmaskbynet { TYPE = FUNCTION };
220 SYMBOL_VERSION SUNWprivate_1.1 {
222 bindresvport { TYPE = FUNCTION };
223 bootparams_getbyname { TYPE = FUNCTION };
224 _ruserpass { TYPE = FUNCTION };