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# 22f808c858Sraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23f808c858Sraf# Use is subject to license terms. 24f808c858Sraf# 25f808c858Sraf# ident "%Z%%M% %I% %E% SMI" 26f808c858Sraf# 27f808c858Sraf 28f808c858SrafSUNW_1.6 { 29f808c858Sraf global: 30f808c858Sraf getipv4sourcefilter; 31f808c858Sraf getsourcefilter; 32f808c858Sraf setipv4sourcefilter; 33f808c858Sraf setsourcefilter; 34f808c858Sraf} SUNW_1.5; 35f808c858Sraf 36f808c858SrafSUNW_1.5 { 37f808c858Sraf global: 38f808c858Sraf inet6_opt_append; 39f808c858Sraf inet6_opt_find; 40f808c858Sraf inet6_opt_finish; 41f808c858Sraf inet6_opt_get_val; 42f808c858Sraf inet6_opt_init; 43f808c858Sraf inet6_opt_next; 44f808c858Sraf inet6_opt_set_val; 45f808c858Sraf inet6_rth_add; 46f808c858Sraf inet6_rth_getaddr; 47f808c858Sraf inet6_rth_init; 48f808c858Sraf inet6_rth_reverse; 49f808c858Sraf inet6_rth_segments; 50f808c858Sraf inet6_rth_space; 51f808c858Sraf sockatmark; 52f808c858Sraf __xnet_getaddrinfo; 53f808c858Sraf} SUNW_1.4; 54f808c858Sraf 55f808c858SrafSUNW_1.4 { 56f808c858Sraf global: 57f808c858Sraf freeaddrinfo; 58f808c858Sraf gai_strerror; 59f808c858Sraf getaddrinfo; 60f808c858Sraf getnameinfo; 61f808c858Sraf if_freenameindex; 62f808c858Sraf if_indextoname; 63f808c858Sraf if_nameindex; 64f808c858Sraf if_nametoindex; 65f808c858Sraf in6addr_any; 66f808c858Sraf in6addr_loopback; 67f808c858Sraf rcmd_af; 68f808c858Sraf rexec_af; 69f808c858Sraf rresvport_af; 70f808c858Sraf} SUNW_1.3; 71f808c858Sraf 72f808c858Sraf# Due to mistakes made early in the history of this library, there are 73f808c858Sraf# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders. 74f808c858Sraf# Don't add any symbols to these versions. 75f808c858Sraf 76f808c858SrafSUNW_1.3 { 77f808c858Sraf global: 78f808c858Sraf SUNW_1.3; 79f808c858Sraf} SUNW_1.2; 80f808c858Sraf 81f808c858SrafSUNW_1.2 { 82f808c858Sraf global: 83f808c858Sraf SUNW_1.2; 84f808c858Sraf} SUNW_1.1; 85f808c858Sraf 86f808c858SrafSUNW_1.1 { 87f808c858Sraf global: 88f808c858Sraf __xnet_bind; 89f808c858Sraf __xnet_connect; 90f808c858Sraf __xnet_getsockopt; 91f808c858Sraf __xnet_listen; 92f808c858Sraf __xnet_recvmsg; 93f808c858Sraf __xnet_sendmsg; 94f808c858Sraf __xnet_sendto; 95f808c858Sraf __xnet_socket; 96f808c858Sraf __xnet_socketpair; 97f808c858Sraf} SUNW_0.7; 98f808c858Sraf 99f808c858SrafSUNW_0.7 { 100f808c858Sraf global: 101f808c858Sraf endnetent; 102f808c858Sraf endprotoent; 103f808c858Sraf endservent; 104f808c858Sraf ether_aton; 105f808c858Sraf ether_hostton; 106f808c858Sraf ether_line; 107f808c858Sraf ether_ntoa; 108f808c858Sraf ether_ntohost; 109f808c858Sraf getnetbyaddr; 110f808c858Sraf getnetbyaddr_r; 111f808c858Sraf getnetbyname; 112f808c858Sraf getnetbyname_r; 113f808c858Sraf getnetent; 114f808c858Sraf getnetent_r; 115f808c858Sraf getprotobyname_r; 116f808c858Sraf getprotobynumber_r; 117f808c858Sraf getprotoent_r; 118f808c858Sraf getservbyname_r; 119f808c858Sraf getservbyport_r; 120f808c858Sraf getservent; 121f808c858Sraf getservent_r; 122f808c858Sraf htonl; 123f808c858Sraf htons; 124f808c858Sraf ntohl; 125f808c858Sraf ntohs; 126f808c858Sraf rcmd; 127f808c858Sraf rexec; 128f808c858Sraf rresvport; 129f808c858Sraf ruserok; 130f808c858Sraf setnetent; 131f808c858Sraf setprotoent; 132f808c858Sraf setservent; 133f808c858Sraf socketpair; 134f808c858Sraf}; 135f808c858Sraf 136f808c858Sraf# There really should be only one SUNWprivate version. 137f808c858Sraf# Don't add any more. Add new private symbols to SUNWprivate_1.3 138f808c858Sraf 139f808c858SrafSUNWprivate_1.3 { 140f808c858Sraf global: 141f808c858Sraf _link_aton; 142f808c858Sraf _link_ntoa; 143*cb5caa98Sdjl _nss_initf_ethers; 144*cb5caa98Sdjl _nss_initf_net; 145*cb5caa98Sdjl _nss_initf_netmasks; 146*cb5caa98Sdjl _nss_initf_proto; 147*cb5caa98Sdjl _nss_initf_services; 148*cb5caa98Sdjl str2ether; 149*cb5caa98Sdjl str2addr; 150*cb5caa98Sdjl str2netent; 151*cb5caa98Sdjl str2protoent; 152f808c858Sraf} SUNWprivate_1.2; 153f808c858Sraf 154f808c858SrafSUNWprivate_1.2 { 155f808c858Sraf global: 156f808c858Sraf getnetmaskbyaddr; 157f808c858Sraf getnetmaskbynet; 158f808c858Sraf} SUNWprivate_1.1; 159f808c858Sraf 160f808c858SrafSUNWprivate_1.1 { 161f808c858Sraf global: 162f808c858Sraf _accept; 163f808c858Sraf _bind; 164f808c858Sraf bindresvport; 165f808c858Sraf bootparams_getbyname; 166f808c858Sraf _connect; 167f808c858Sraf _getpeername; 168f808c858Sraf _getsockname; 169f808c858Sraf _getsockopt; 170f808c858Sraf _listen; 171f808c858Sraf _recv; 172f808c858Sraf _recvfrom; 173f808c858Sraf _recvmsg; 174f808c858Sraf rresvport_addr; 175f808c858Sraf _ruserpass; 176f808c858Sraf _send; 177f808c858Sraf _sendmsg; 178f808c858Sraf _sendto; 179f808c858Sraf _setsockopt; 180f808c858Sraf _shutdown; 181f808c858Sraf _socket; 182f808c858Sraf _socket_bsd; 183f808c858Sraf _socketpair; 184f808c858Sraf _socketpair_bsd; 185f808c858Sraf local: 186f808c858Sraf *; 187f808c858Sraf}; 188