2 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
11 #ifndef _ARPA_PORT_INET_H
12 #define _ARPA_PORT_INET_H
19 * these are libresolv2 functions that were made local in previous versions
20 * we rename them res_* because they conflict with libnsl or libsocket
23 #define inet_lnaof res_inet_lnaof /* libsocket */
24 ulong_t
inet_lnaof(struct in_addr in
);
26 #define inet_makeaddr res_inet_makeaddr /* libsocket */
27 struct in_addr
inet_makeaddr(ulong_t net
, ulong_t host
);
29 #define inet_netof res_inet_netof /* libnsl */
30 ulong_t
inet_netof(struct in_addr in
);
32 #define inet_network res_inet_network /* libsocket */
33 ulong_t
inet_network(register const char *cp
);
41 #endif /* _ARPA_PORT_INET_H */