2N/A/*
2N/A * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
2N/A * Use is subject to license terms.
2N/A */
2N/A
2N/A/*
2N/A *
2N/A * All rights reserved.
2N/A */
2N/A
2N/A#ifndef _ARPA_PORT_INET_H
2N/A#define _ARPA_PORT_INET_H
2N/A
2N/A#ifdef __cplusplus
2N/Aextern "C" {
2N/A#endif
2N/A
2N/A/*
2N/A * these are libresolv2 functions that were made local in previous versions
2N/A * we rename them res_* because they conflict with libnsl or libsocket
2N/A */
2N/A
2N/A#define inet_lnaof res_inet_lnaof /* libsocket */
2N/Aulong_t inet_lnaof(struct in_addr in);
2N/A
2N/A#define inet_makeaddr res_inet_makeaddr /* libsocket */
2N/Astruct in_addr inet_makeaddr(ulong_t net, ulong_t host);
2N/A
2N/A#define inet_netof res_inet_netof /* libnsl */
2N/Aulong_t inet_netof(struct in_addr in);
2N/A
2N/A#define inet_network res_inet_network /* libsocket */
2N/Aulong_t inet_network(register const char *cp);
2N/A
2N/A#ifdef __cplusplus
2N/A}
2N/A#endif
2N/A
2N/A
2N/A
2N/A#endif /* _ARPA_PORT_INET_H */