Structures of the BSD Socket. More...
Data Structures | |
struct | SOCKADDR |
Generic Socket Address structure. More... | |
struct | IN_ADDR |
Generic IPv4 Address structure. More... | |
struct | IN6_ADDR |
Generic IPv6 Address structure. More... | |
struct | SOCKADDR_IN |
IPv4 Socket Address structure. More... | |
struct | SOCKADDR_IN6 |
IPv6 Socket Address structure. More... | |
struct | SOCKADDR_STORAGE |
Socket Address storage structure. More... | |
struct | HOSTENT |
BSD Host Entry structure. More... | |
struct | timeval |
BSD timeval structure. More... | |
struct | fd_set |
BSD fd_set structure. More... | |
struct | IOVEC |
BSD scatter/gather array of items. More... | |
struct | MSGHDR |
BSD message header structure. More... | |
struct | CMSGHDR |
BSD cmsg header structure. More... | |
union | IN_ADDR.u |
Union members for different data accesses. More... | |
struct | IN_ADDR.u.s_b |
IP address, byte access. More... | |
struct | IN_ADDR.u.s_w |
IP address, unsigned short integer access. More... | |
union | IN6_ADDR.u |
Union members for different data accesses. More... | |
Structures of the BSD Socket.
struct SOCKADDR |
struct IN_ADDR |
Data Fields | ||
---|---|---|
union IN_ADDR.u | u | Union members for different data accesses. |
struct IN6_ADDR |
Data Fields | ||
---|---|---|
union IN6_ADDR.u | u | Union members for different data accesses. |
struct SOCKADDR_IN |
struct SOCKADDR_IN6 |
struct SOCKADDR_STORAGE |
Socket Address storage structure.
The structure is sufficiently large to store SOCKADDR_IN or SOCKADDR_IN6 address information.
Data Fields | ||
---|---|---|
int32_t | __ss_align | reserved, structure alignment |
int8_t | __ss_pad1[2] | reserved |
int8_t | __ss_pad2[16] | reserved |
int16_t | ss_family | Address family. |
struct HOSTENT |
struct timeval |
struct fd_set |
Data Fields | ||
---|---|---|
uint32_t | fd_bits[(FD_SETSIZE+31)> >5] | Set of sockets bit-mask. |
struct IOVEC |
struct MSGHDR |
Data Fields | ||
---|---|---|
void * | msg_control | Ancillary data. |
uint32_t | msg_controllen | Ancillary data buffer length. |
int32_t | msg_flags | Flags on received message. |
IOVEC * | msg_iov | An array of iovec buffers for the message. |
int32_t | msg_iovlen | Number of elements in msg_iov. |
void * | msg_name | Optional pointer to source address. |
uint32_t | msg_namelen | Size of address buffer. |
struct CMSGHDR |
union IN_ADDR.u |
Union members for different data accesses.
Data Fields | ||
---|---|---|
uint32_t | s_addr | IP address, unsigned integer access in network byte order. |
struct IN_ADDR.u.s_b | s_b | IP address, byte access. |
struct IN_ADDR.u.s_w | s_w | IP address, unsigned short integer access. |
struct IN_ADDR.u.s_b |
struct IN_ADDR.u.s_w |