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# 22cd3e9333SAli Bahrami# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 23f808c858Sraf# 245dbfd19aSTheo Schlossnagle# Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. 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 40cd3e9333SAli Bahrami$mapfile_version 2 41cd3e9333SAli Bahrami 42*ff3aea39SRobert MustacchiSYMBOL_VERSION ILLUMOS_0.2 { # reentrant ethers(3SOCKET) 43*ff3aea39SRobert Mustacchi global: 44*ff3aea39SRobert Mustacchi ether_aton_r; 45*ff3aea39SRobert Mustacchi ether_ntoa_r; 46*ff3aea39SRobert Mustacchi} ILLUMOS_0.1; 47*ff3aea39SRobert Mustacchi 485dbfd19aSTheo SchlossnagleSYMBOL_VERSION ILLUMOS_0.1 { # Illumos additions 495dbfd19aSTheo Schlossnagle global: 505dbfd19aSTheo Schlossnagle accept4; 515dbfd19aSTheo Schlossnagle} SUNW_1.7; 525dbfd19aSTheo Schlossnagle 53cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.7 { 546e91bba0SGirish Moodalbail global: 556e91bba0SGirish Moodalbail freeifaddrs; 566e91bba0SGirish Moodalbail getifaddrs; 576e91bba0SGirish Moodalbail} SUNW_1.6; 586e91bba0SGirish Moodalbail 59cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.6 { 60f808c858Sraf global: 61f808c858Sraf getipv4sourcefilter; 62f808c858Sraf getsourcefilter; 63f808c858Sraf setipv4sourcefilter; 64f808c858Sraf setsourcefilter; 65f808c858Sraf} SUNW_1.5; 66f808c858Sraf 67cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.5 { 68f808c858Sraf global: 69f808c858Sraf inet6_opt_append; 70f808c858Sraf inet6_opt_find; 71f808c858Sraf inet6_opt_finish; 72f808c858Sraf inet6_opt_get_val; 73f808c858Sraf inet6_opt_init; 74f808c858Sraf inet6_opt_next; 75f808c858Sraf inet6_opt_set_val; 76f808c858Sraf inet6_rth_add; 77f808c858Sraf inet6_rth_getaddr; 78f808c858Sraf inet6_rth_init; 79f808c858Sraf inet6_rth_reverse; 80f808c858Sraf inet6_rth_segments; 81f808c858Sraf inet6_rth_space; 82f808c858Sraf sockatmark; 83f808c858Sraf __xnet_getaddrinfo; 84f808c858Sraf} SUNW_1.4; 85f808c858Sraf 86cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.4 { 87f808c858Sraf global: 88f808c858Sraf freeaddrinfo; 89f808c858Sraf gai_strerror; 90f808c858Sraf getaddrinfo; 91f808c858Sraf getnameinfo; 92f808c858Sraf if_freenameindex; 93f808c858Sraf if_indextoname; 94f808c858Sraf if_nameindex; 95f808c858Sraf if_nametoindex; 96f808c858Sraf in6addr_any; 97f808c858Sraf in6addr_loopback; 98f808c858Sraf rcmd_af; 99f808c858Sraf rexec_af; 100f808c858Sraf rresvport_af; 101f808c858Sraf} SUNW_1.3; 102f808c858Sraf 103f808c858Sraf# Due to mistakes made early in the history of this library, there are 104f808c858Sraf# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders. 105f808c858Sraf# Don't add any symbols to these versions. 106f808c858Sraf 107cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.3 { 108f808c858Sraf global: 109f808c858Sraf SUNW_1.3; 110f808c858Sraf} SUNW_1.2; 111f808c858Sraf 112cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.2 { 113f808c858Sraf global: 114f808c858Sraf SUNW_1.2; 115f808c858Sraf} SUNW_1.1; 116f808c858Sraf 117cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.1 { 118f808c858Sraf global: 119f808c858Sraf __xnet_bind; 120f808c858Sraf __xnet_connect; 121f808c858Sraf __xnet_getsockopt; 122f808c858Sraf __xnet_listen; 123f808c858Sraf __xnet_recvmsg; 124f808c858Sraf __xnet_sendmsg; 125f808c858Sraf __xnet_sendto; 126f808c858Sraf __xnet_socket; 127f808c858Sraf __xnet_socketpair; 128f808c858Sraf} SUNW_0.7; 129f808c858Sraf 130cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 { 131f808c858Sraf global: 132f808c858Sraf endnetent; 133f808c858Sraf endprotoent; 134f808c858Sraf endservent; 135f808c858Sraf ether_aton; 136f808c858Sraf ether_hostton; 137f808c858Sraf ether_line; 138f808c858Sraf ether_ntoa; 139f808c858Sraf ether_ntohost; 140f808c858Sraf getnetbyaddr; 141f808c858Sraf getnetbyaddr_r; 142f808c858Sraf getnetbyname; 143f808c858Sraf getnetbyname_r; 144f808c858Sraf getnetent; 145f808c858Sraf getnetent_r; 146f808c858Sraf getprotobyname_r; 147f808c858Sraf getprotobynumber_r; 148f808c858Sraf getprotoent_r; 149f808c858Sraf getservbyname_r; 150f808c858Sraf getservbyport_r; 151f808c858Sraf getservent; 152f808c858Sraf getservent_r; 153cd3e9333SAli Bahrami htonl { TYPE = FUNCTION; FILTER = libc.so.1 }; 154cd3e9333SAli Bahrami htons { TYPE = FUNCTION; FILTER = libc.so.1 }; 155cd3e9333SAli Bahrami ntohl { TYPE = FUNCTION; FILTER = libc.so.1 }; 156cd3e9333SAli Bahrami ntohs { TYPE = FUNCTION; FILTER = libc.so.1 }; 157f808c858Sraf rcmd; 158f808c858Sraf rexec; 159f808c858Sraf rresvport; 160f808c858Sraf ruserok; 161f808c858Sraf setnetent; 162f808c858Sraf setprotoent; 163f808c858Sraf setservent; 164f808c858Sraf socketpair; 165cd3e9333SAli Bahrami 166cd3e9333SAli Bahrami # For ABI reasons, the following symbols are in SISCD_2.3 on 32-bit 167cd3e9333SAli Bahrami # sparc, which is inherited by SUNW_0.7. On all other platforms, 168cd3e9333SAli Bahrami # they are simply in SUNW_0.7 169cd3e9333SAli Bahrami$if _sparc && _ELF32 170cd3e9333SAli Bahrami} SISCD_2.3; 171cd3e9333SAli Bahrami 172cd3e9333SAli BahramiSYMBOL_VERSION SISCD_2.3 { 173cd3e9333SAli Bahrami global: 174cd3e9333SAli Bahrami$endif 175cd3e9333SAli Bahrami accept; 176cd3e9333SAli Bahrami bind; 177cd3e9333SAli Bahrami connect; 178cd3e9333SAli Bahrami getpeername; 179cd3e9333SAli Bahrami getprotobyname; 180cd3e9333SAli Bahrami getprotobynumber; 181cd3e9333SAli Bahrami getprotoent; 182cd3e9333SAli Bahrami getservbyname; 183cd3e9333SAli Bahrami getservbyport; 184cd3e9333SAli Bahrami getsockname; 185cd3e9333SAli Bahrami getsockopt; 186cd3e9333SAli Bahrami inet_lnaof; 187cd3e9333SAli Bahrami inet_makeaddr; 188cd3e9333SAli Bahrami inet_network; 189cd3e9333SAli Bahrami listen; 190cd3e9333SAli Bahrami recv; 191cd3e9333SAli Bahrami recvfrom; 192cd3e9333SAli Bahrami recvmsg; 193cd3e9333SAli Bahrami send; 194cd3e9333SAli Bahrami sendmsg; 195cd3e9333SAli Bahrami sendto; 196cd3e9333SAli Bahrami setsockopt; 197cd3e9333SAli Bahrami shutdown; 198cd3e9333SAli Bahrami socket; 199f808c858Sraf}; 200f808c858Sraf 201f808c858Sraf# There really should be only one SUNWprivate version. 202f808c858Sraf# Don't add any more. Add new private symbols to SUNWprivate_1.3 203f808c858Sraf 204cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.3 { 205f808c858Sraf global: 2065dbfd19aSTheo Schlossnagle _accept4; 207f808c858Sraf _link_aton; 208f808c858Sraf _link_ntoa; 209cb5caa98Sdjl _nss_initf_ethers; 210cb5caa98Sdjl _nss_initf_net; 211cb5caa98Sdjl _nss_initf_netmasks; 212cb5caa98Sdjl _nss_initf_proto; 213cb5caa98Sdjl _nss_initf_services; 2146e91bba0SGirish Moodalbail getallifaddrs; 2156e91bba0SGirish Moodalbail getallifs; 216cb5caa98Sdjl str2ether; 217cb5caa98Sdjl str2addr; 218cb5caa98Sdjl str2netent; 219cb5caa98Sdjl str2protoent; 220f808c858Sraf} SUNWprivate_1.2; 221f808c858Sraf 222cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.2 { 223f808c858Sraf global: 224f808c858Sraf getnetmaskbyaddr; 225f808c858Sraf getnetmaskbynet; 226f808c858Sraf} SUNWprivate_1.1; 227f808c858Sraf 228cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 { 229f808c858Sraf global: 230f808c858Sraf _accept; 231f808c858Sraf _bind; 232f808c858Sraf bindresvport; 233f808c858Sraf bootparams_getbyname; 234f808c858Sraf _connect; 235f808c858Sraf _getpeername; 236f808c858Sraf _getsockname; 237f808c858Sraf _getsockopt; 238f808c858Sraf _listen; 239f808c858Sraf _recv; 240f808c858Sraf _recvfrom; 241f808c858Sraf _recvmsg; 242f808c858Sraf rresvport_addr; 243f808c858Sraf _ruserpass; 244f808c858Sraf _send; 245f808c858Sraf _sendmsg; 246f808c858Sraf _sendto; 247f808c858Sraf _setsockopt; 248f808c858Sraf _shutdown; 249f808c858Sraf _socket; 250f808c858Sraf _socket_bsd; 251f808c858Sraf _socketpair; 252f808c858Sraf _socketpair_bsd; 253f808c858Sraf local: 254f808c858Sraf *; 255f808c858Sraf}; 256