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