#include <arpa/inet.h>

arpa/inet.h

@(#)inet.h 8.1 (Berkeley) 6/2/93 $Id: inet.h,v 1.10 2006/02/01 18:09:47 majka Exp $
includes: _bounds.h, sys/cdefs.h, sys/_types.h, stdint.h, machine/endian.h, sys/_endian.h, netinet/in.h
16 functions

functioninet_addr

in_addr_t inet_addr(const char *)
man page · June 14, 2007
inet_addr(3) — Internet address manipulation routines

functioninet_ntoa

char *_LIBC_CSTR inet_ntoa(struct in_addr)
man page · June 14, 2007
inet_ntoa(3) — Internet address manipulation routines

functioninet_ntop

const char *inet_ntop(int, const void *, char *_LIBC_COUNT(__size), socklen_t __size)
man page · June 14, 2007
inet_ntop(3) — Internet address manipulation routines

functioninet_pton

int inet_pton(int, const char *, void *)
man page · June 14, 2007
inet_pton(3) — Internet address manipulation routines

functionascii2addr

int ascii2addr(int, const char *, void *)
man page · June 13, 1996
ascii2addr(3) — Generic address formatting routines

functionaddr2ascii

char *_LIBC_CSTR addr2ascii(
	int,
	const void *_LIBC_SIZE(__size),
	int __size,
	char *_LIBC_UNSAFE_INDEXABLE
)
man page · June 13, 1996
addr2ascii(3) — Generic address formatting routines

functioninet_aton

int inet_aton(const char *, struct in_addr *)
man page · June 14, 2007
inet_aton(3) — Internet address manipulation routines

functioninet_lnaof

in_addr_t inet_lnaof(struct in_addr)
man page · June 14, 2007
inet_lnaof(3) — Internet address manipulation routines

functioninet_makeaddr

struct in_addr inet_makeaddr(in_addr_t, in_addr_t)
man page · June 14, 2007
inet_makeaddr(3) — Internet address manipulation routines

functioninet_netof

in_addr_t inet_netof(struct in_addr)
man page · June 14, 2007
inet_netof(3) — Internet address manipulation routines

functioninet_network

in_addr_t inet_network(const char *)
man page · June 14, 2007
inet_network(3) — Internet address manipulation routines

functioninet_net_ntop

char *_LIBC_CSTR inet_net_ntop(
	int,
	const void *,
	int,
	char *_LIBC_COUNT(__size),
	__darwin_size_t __size
)
man page · February 26, 2006
inet_net_ntop(3) — Internet network number manipulation routines

functioninet_net_pton

int inet_net_pton(int, const char *, void *_LIBC_SIZE(__size), __darwin_size_t __size)
man page · February 26, 2006
inet_net_pton(3) — Internet network number manipulation routines

functioninet_neta

char *_LIBC_CSTR inet_neta(in_addr_t, char *_LIBC_COUNT(__size), __darwin_size_t __size)

functioninet_nsap_addr

unsigned int inet_nsap_addr(
	const char *,
	unsigned char *_LIBC_COUNT(__maxlen),
	int __maxlen
)

functioninet_nsap_ntoa

char *_LIBC_CSTR inet_nsap_ntoa(
	int __binlen,
	const unsigned char *_LIBC_COUNT(__binlen),
	char *_LIBC_COUNT_OR_NULL(2 + __binlen*2 + __binlen/2 + 1)
)