63 sizeof (uint16_t) - sizeof (struct
in_addr)];
70#define IPPROTO_TCP (6)
73#define IPPROTO_UDP (17)
76#define IPPROTO_RAW (255)
80#ifdef CONFIG_ENDIAN_BIG
87#define ntohl(x) __bswap_32 (x)
89#define ntohs(x) __bswap_16 (x)
91#define htonl(x) __bswap_32 (x)
93#define htons(x) __bswap_16 (x)
uint32_t in_addr_t
Primitive typeholding an ipv4 address.
Structure describing an Internet address.
Structure describing an Internet socket address.
uint16_t sin_family
protocol family (AF_INET)
uint16_t sin_port
port number
struct in_addr sin_addr
internet address
unsigned char sin_zero[sizeof(struct sockaddr) - sizeof(uint16_t) - sizeof(uint16_t) - sizeof(struct in_addr)]
Padding to size of ‘struct sockaddr’.