sockaddr_tcpip Struct Reference

TCP/IP socket address. More...

#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.


Detailed Description

TCP/IP socket address.

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

Definition at line 32 of file tcpip.h.


Field Documentation

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().

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().


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

Generated on Tue Apr 6 20:02:09 2010 for gPXE by  doxygen 1.5.7.1