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