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