iPXE
|
Generalized socket address structure. More...
#include <socket.h>
Data Fields | |
sa_family_t | sa_family |
Socket address family. More... | |
char | pad [SA_LEN - sizeof(sa_family_t)] |
Padding. More... | |
Generalized socket address structure.
This contains the fields common to socket addresses for all address families.
sa_family_t sockaddr::sa_family |
Socket address family.
This is an AF_XXX constant.
Definition at line 101 of file socket.h.
Referenced by comboot_resolv_done(), efi_pxe_ip_sockaddr(), ibft_complete(), nslookup_resolv_done(), sock_aton(), sock_ntoa(), and x509_check_ipaddress().
char sockaddr::pad[SA_LEN - sizeof(sa_family_t)] |
Padding.
This ensures that a struct sockaddr_tcpip
is large enough to hold a socket address for any TCP/IP address family.