1 #
   2 # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
   3 #
   4 # CDDL HEADER START
   5 #
   6 # The contents of this file are subject to the terms of the
   7 # Common Development and Distribution License (the "License").
   8 # You may not use this file except in compliance with the License.
   9 #
  10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11 # or http://www.opensolaris.org/os/licensing.
  12 # See the License for the specific language governing permissions
  13 # and limitations under the License.
  14 #
  15 # When distributing Covered Code, include this CDDL HEADER in each
  16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17 # If applicable, add the following below this CDDL HEADER, with the
  18 # fields enclosed by brackets "[]" replaced with your own identifying
  19 # information: Portions Copyright [yyyy] [name of copyright owner]
  20 #
  21 # CDDL HEADER END
  22 #
  23 
  24 #
  25 # MAPFILE HEADER START
  26 #
  27 # WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
  28 # Object versioning must comply with the rules detailed in
  29 #
  30 #       usr/src/lib/README.mapfiles
  31 #
  32 # You should not be making modifications here until you've read the most current
  33 # copy of that file. If you need help, contact a gatekeeper for guidance.
  34 #
  35 # MAPFILE HEADER END
  36 #
  37 
  38 $mapfile_version 2
  39 
  40 SYMBOL_VERSION SUNW_1.4 {
  41     global:
  42         gai_strerror            { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  43 } SUNW_1.3.1;
  44 
  45 SYMBOL_VERSION SUNW_1.3.1 {
  46     global:
  47         __xnet_getaddrinfo      { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  48         freeaddrinfo            { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  49         getaddrinfo             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  50         getnameinfo             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  51         inet_ntop               { TYPE = FUNCTION; FILTER = libc.so.1 };
  52         inet_pton               { TYPE = FUNCTION; FILTER = libc.so.1 };
  53 } SUNW_1.3;
  54 
  55 SYMBOL_VERSION SUNW_1.3 {
  56     global:
  57         if_freenameindex        { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  58         if_indextoname          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  59         if_nameindex            { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  60         if_nametoindex          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
  61         sockatmark              { TYPE = FUNCTION; FILTER = libc.so.1 };
  62 } SUNW_1.2;
  63 
  64 SYMBOL_VERSION SUNW_1.2 {
  65     global:
  66         _xti_rcvreldata         { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  67         _xti_rcvv               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  68         _xti_rcvvudata          { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  69         _xti_sndreldata         { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  70         _xti_sndv               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  71         _xti_sndvudata          { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  72         _xti_sysconf            { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  73         _xti_xns5_accept        { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  74         _xti_xns5_snd           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  75 } SUNW_1.1;
  76 
  77 SYMBOL_VERSION SUNW_1.1 {
  78     global:
  79         __t_errno               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  80         __xnet_bind             { TYPE = FUNCTION; FILTER = libc.so.1 };
  81         __xnet_connect          { TYPE = FUNCTION; FILTER = libc.so.1 };
  82         __xnet_getsockopt       { TYPE = FUNCTION; FILTER = libc.so.1 };
  83         __xnet_listen           { TYPE = FUNCTION; FILTER = libc.so.1 };
  84         __xnet_recvmsg          { TYPE = FUNCTION; FILTER = libc.so.1 };
  85         __xnet_sendmsg          { TYPE = FUNCTION; FILTER = libc.so.1 };
  86         __xnet_sendto           { TYPE = FUNCTION; FILTER = libc.so.1 };
  87         __xnet_socket           { TYPE = FUNCTION; FILTER = libc.so.1 };
  88         __xnet_socketpair       { TYPE = FUNCTION; FILTER = libc.so.1 };
  89         _xti_accept             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  90         _xti_alloc              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  91         _xti_bind               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  92         _xti_close              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  93         _xti_connect            { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  94         _xti_error              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  95         _xti_free               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  96         _xti_getinfo            { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  97         _xti_getprotaddr        { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  98         _xti_getstate           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
  99         _xti_listen             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 100         _xti_look               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 101         _xti_open               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 102         _xti_optmgmt            { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 103         _xti_rcv                { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 104         _xti_rcvconnect         { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 105         _xti_rcvdis             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 106         _xti_rcvrel             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 107         _xti_rcvudata           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 108         _xti_rcvuderr           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 109         _xti_snd                { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 110         _xti_snddis             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 111         _xti_sndrel             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 112         _xti_sndudata           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 113         _xti_strerror           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 114         _xti_sync               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 115         _xti_unbind             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 116         accept                  { TYPE = FUNCTION; FILTER = libc.so.1 };
 117         bind                    { TYPE = FUNCTION; FILTER = libc.so.1 };
 118         connect                 { TYPE = FUNCTION; FILTER = libc.so.1 };
 119         endhostent              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 120         endnetent               { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 121         endprotoent             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 122         endservent              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 123         gethostbyaddr           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 124         gethostbyname           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 125         gethostent              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 126         gethostname             { TYPE = FUNCTION; FILTER = libc.so.1 };
 127         getnetbyaddr            { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 128         getnetbyname            { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 129         getnetent               { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 130         getpeername             { TYPE = FUNCTION; FILTER = libc.so.1 };
 131         getprotobyname          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 132         getprotobynumber        { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 133         getprotoent             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 134         getservbyname           { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 135         getservbyport           { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 136         getservent              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 137         getsockname             { TYPE = FUNCTION; FILTER = libc.so.1 };
 138         getsockopt              { TYPE = FUNCTION; FILTER = libc.so.1 };
 139         h_errno {
 140                 TYPE = DATA;
 141                 SIZE = 0x4;
 142                 FLAGS = NODIRECT;
 143                 FILTER = libnsl.so.1;
 144         };
 145         htonl                   { TYPE = FUNCTION; FILTER = libc.so.1 };
 146         htons                   { TYPE = FUNCTION; FILTER = libc.so.1 };
 147         inet_addr               { TYPE = FUNCTION; FILTER = libc.so.1 };
 148         inet_lnaof              { TYPE = FUNCTION; FILTER = libc.so.1 };
 149         inet_makeaddr           { TYPE = FUNCTION; FILTER = libc.so.1 };
 150         inet_netof              { TYPE = FUNCTION; FILTER = libc.so.1 };
 151         inet_network            { TYPE = FUNCTION; FILTER = libc.so.1 };
 152         inet_ntoa               { TYPE = FUNCTION; FILTER = libc.so.1 };
 153         listen                  { TYPE = FUNCTION; FILTER = libc.so.1 };
 154         ntohl                   { TYPE = FUNCTION; FILTER = libc.so.1 };
 155         ntohs                   { TYPE = FUNCTION; FILTER = libc.so.1 };
 156         recv                    { TYPE = FUNCTION; FILTER = libc.so.1 };
 157         recvfrom                { TYPE = FUNCTION; FILTER = libc.so.1 };
 158         recvmsg                 { TYPE = FUNCTION; FILTER = libc.so.1 };
 159         send                    { TYPE = FUNCTION; FILTER = libc.so.1 };
 160         sendmsg                 { TYPE = FUNCTION; FILTER = libc.so.1 };
 161         sendto                  { TYPE = FUNCTION; FILTER = libc.so.1 };
 162         sethostent              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
 163         setnetent               { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 164         setprotoent             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 165         setservent              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
 166         setsockopt              { TYPE = FUNCTION; FILTER = libc.so.1 };
 167         shutdown                { TYPE = FUNCTION; FILTER = libc.so.1 };
 168         socket                  { TYPE = FUNCTION; FILTER = libc.so.1 };
 169         socketpair              { TYPE = FUNCTION; FILTER = libc.so.1 };
 170         t_errno {
 171                 TYPE = DATA;
 172                 SIZE = 0x4;
 173                 FILTER = libnsl.so.1;
 174         };
 175     local:
 176         *;
 177 };