iPXE
Data Fields
sockaddr_efi Struct Reference

An EFI socket address. More...

Data Fields

sa_family_t se_family
 Socket address family (part of struct sockaddr) More...
 
uint16_t se_flags
 Flags (part of struct sockaddr_tcpip) More...
 
uint16_t se_port
 TCP/IP port (part of struct sockaddr_tcpip) More...
 
uint16_t se_scope_id
 Scope ID (part of struct sockaddr_tcpip) More...
 
EFI_IP_ADDRESS se_addr
 IP address. More...
 
char pad [sizeof(struct sockaddr) -(sizeof(sa_family_t)+sizeof(uint16_t)+sizeof(uint16_t)+sizeof(uint16_t)+sizeof(EFI_IP_ADDRESS))]
 Padding. More...
 

Detailed Description

An EFI socket address.

Definition at line 154 of file efi_pxe.c.

Field Documentation

◆ se_family

sa_family_t sockaddr_efi::se_family

Socket address family (part of struct sockaddr)

Definition at line 156 of file efi_pxe.c.

Referenced by efi_pxe_udp_deliver().

◆ se_flags

uint16_t sockaddr_efi::se_flags

Flags (part of struct sockaddr_tcpip)

Definition at line 158 of file efi_pxe.c.

◆ se_port

uint16_t sockaddr_efi::se_port

TCP/IP port (part of struct sockaddr_tcpip)

Definition at line 160 of file efi_pxe.c.

Referenced by efi_pxe_udp_deliver().

◆ se_scope_id

uint16_t sockaddr_efi::se_scope_id

Scope ID (part of struct sockaddr_tcpip)

For link-local or multicast addresses, this is the network device index.

Definition at line 166 of file efi_pxe.c.

◆ se_addr

EFI_IP_ADDRESS sockaddr_efi::se_addr

IP address.

Definition at line 168 of file efi_pxe.c.

Referenced by efi_pxe_udp_deliver().

◆ pad

char sockaddr_efi::pad[sizeof(struct sockaddr) -(sizeof(sa_family_t)+ sizeof(uint16_t)+ sizeof(uint16_t)+ sizeof(uint16_t)+ sizeof(EFI_IP_ADDRESS))]

Padding.

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

Definition at line 180 of file efi_pxe.c.


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