iPXE
|
TCP/IP socket address. More...
#include <tcpip.h>
Data Fields | |
sa_family_t | st_family |
Socket address family (part of struct sockaddr ) More... | |
uint16_t | st_flags |
Flags. More... | |
uint16_t | st_port |
TCP/IP port. More... | |
uint16_t | st_scope_id |
Scope ID. More... | |
char | pad [sizeof(struct sockaddr) -(sizeof(sa_family_t)+sizeof(uint16_t)+sizeof(uint16_t)+sizeof(uint16_t))] |
Padding. More... | |
TCP/IP socket address.
This contains the fields common to socket addresses for all TCP/IP address families.
sa_family_t sockaddr_tcpip::st_family |
Socket address family (part of struct sockaddr
)
Definition at line 77 of file tcpip.h.
Referenced by icmp_tx_echo_request(), tcpip_mtu(), tcpip_netdev(), tcpip_tx(), tftp_rx(), tftp_send_packet(), tftp_timer_expired(), and udp_demux().
uint16_t sockaddr_tcpip::st_flags |
uint16_t sockaddr_tcpip::st_port |
TCP/IP port.
Definition at line 81 of file tcpip.h.
Referenced by ftp_open(), http_connect(), ibft_fill_target(), iscsi_open_connection(), ntp_deliver(), slam_open(), tcp_xmit_sack(), tcpip_bind(), tftp_reopen(), tftp_rx(), tftp_uri(), udp_demux(), udp_open_common(), udp_port_available(), and udp_rx().
uint16_t sockaddr_tcpip::st_scope_id |
char sockaddr_tcpip::pad[sizeof(struct sockaddr) -(sizeof(sa_family_t)+ sizeof(uint16_t)+ sizeof(uint16_t)+ sizeof(uint16_t))] |
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 98 of file tcpip.h.
Referenced by udp_demux().