2 * Acess2 POSIX Sockets Emulation
3 * - By John Hodge (thePowersGang)
8 #ifndef _LIBPSOCKET__NETINET__IN_H_
9 #define _LIBPSOCKET__NETINET__IN_H_
13 typedef uint32_t in_addr_t;
24 struct in_addr sin_addr;
27 #define INADDR_ANY 0x00000000
28 #define INADDR_BROADCAST 0xFFFFFFFF
30 // getsockopt/setsockopt(level)
40 unsigned char s6_addr[16];
47 uint32_t sin6_flowinfo;
48 struct in6_addr sin6_addr;
49 uint32_t sin6_scope_id;