minix/include/arpa/inet.h
Philip Homburg 920c462e8c Added {h,n}to{l,s} prototypes. Added IPPROTO_TCP. SA_FAMILY_T -> _SA_FAMILY_T
Added SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SO_DEBUG, SO_ERROR.
2005-07-27 11:42:54 +00:00

25 lines
581 B
C

/*
arpa/inet.h
*/
#ifndef _ARPA__INET_H
#define _ARPA__INET_H
/* Open Group Base Specifications Issue 6 (not complete): */
#ifndef _STRUCT_IN_ADDR
#define _STRUCT_IN_ADDR
/* Has to match corresponding declaration in <netinet/in.h> */
struct in_addr
{
in_addr_t s_addr;
};
#endif
_PROTOTYPE( uint32_t htonl, (uint32_t _hostval) );
_PROTOTYPE( uint16_t htons, (uint16_t _hostval) );
_PROTOTYPE( char *inet_ntoa, (struct in_addr _in) );
_PROTOTYPE( uint32_t ntohl, (uint32_t _netval) );
_PROTOTYPE( uint16_t ntohs, (uint16_t _netval) );
#endif /* _ARPA__INET_H */