Functions defined in /usr/include/arpa/inet.h int ascii2addr(int, const char *, void *); char *addr2ascii(int, const void *, int, char *); in_addr_t inet_addr(const char *); int inet_aton(const char *, struct in_addr *); in_addr_t inet_lnaof(struct in_addr); struct in_addr inet_makeaddr(in_addr_t, in_addr_t); in_addr_t inet_netof(struct in_addr); in_addr_t inet_network(const char *); char *inet_ntoa(struct in_addr); int inet_pton(int, const char *, void *); const char *inet_ntop(int, const void *, char *, size_t); char *inet_net_ntop(int, const void *, int, char *, size_t); int inet_net_pton(int, const char *, void *, size_t); char *inet_neta(in_addr_t, char *, size_t); u_int inet_nsap_addr(const char *, u_char *, int maxlen); char *inet_nsap_ntoa(int, const u_char *, char *ascii); Types defined in /usr/include/sys/types.h typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef unsigned short ushort; /* Sys V compatibility */ typedef unsigned int uint; /* Sys V compatibility */ #endif typedef u_int64_t u_quad_t; /* quads */ typedef int64_t quad_t; typedef quad_t * qaddr_t; typedef char * caddr_t; /* core address */ typedef int32_t daddr_t; /* disk address */ typedef int32_t dev_t; /* device number */ typedef u_int32_t fixpt_t; /* fixed point number */ typedef u_int32_t gid_t; /* group id */ typedef u_int32_t in_addr_t; /* base type for internet address */ typedef u_int16_t in_port_t; typedef u_int32_t ino_t; /* inode number */ typedef long key_t; /* IPC key (for Sys V IPC) */ typedef u_int16_t mode_t; /* permissions */ typedef u_int16_t nlink_t; /* link count */ typedef quad_t off_t; /* file offset */ typedef int32_t pid_t; /* process id */ typedef quad_t rlim_t; /* resource limit */ typedef int32_t segsz_t; /* segment size */ typedef int32_t swblk_t; /* swap offset */ typedef u_int32_t uid_t; /* user id */ typedef u_int32_t useconds_t; /* microseconds (unsigned) */