Data Fields
sockaddr Struct Reference

Generalized socket address structure. More...

#include <socket.h>

Data Fields

sa_family_t sa_family
 Socket address family.
char pad [SA_LEN-sizeof(sa_family_t)]

Detailed Description

Generalized socket address structure.

This contains the fields common to socket addresses for all address families.

Definition at line 96 of file socket.h.

Field Documentation

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(), x509_check_ipaddress(), and xfer_open_socket().


This ensures that a struct sockaddr_tcpip is large enough to hold a socket address for any TCP/IP address family.

Definition at line 108 of file socket.h.

The documentation for this struct was generated from the following file: