#include <tcpip.h>
Data Fields | |
| sa_family_t | st_family |
Socket address family (part of struct sockaddr). | |
| uint16_t | st_port |
| TCP/IP port. | |
| char | pad [sizeof(struct sockaddr)-(sizeof(sa_family_t)+sizeof(uint16_t))] |
| Padding. | |
This contains the fields common to socket addresses for all TCP/IP address families.
Definition at line 32 of file tcpip.h.
Socket address family (part of struct sockaddr).
Definition at line 34 of file tcpip.h.
Referenced by dns_resolv(), tcpip_tx(), tftp_rx(), tftp_send_packet(), tftp_timer_expired(), and udp_demux().
TCP/IP port.
Definition at line 36 of file tcpip.h.
Referenced by ftp_open(), http_open_filter(), iscsi_open_connection(), slam_open(), tcp_open(), tcp_open_uri(), tcp_xmit(), tftp_reopen(), tftp_rx(), udp_bind(), udp_demux(), udp_open_uri(), udp_rx(), and udp_tx().
| char sockaddr_tcpip::pad[sizeof(struct sockaddr)-(sizeof(sa_family_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 44 of file tcpip.h.
Referenced by udp_demux().
1.5.7.1