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)]
 Padding.


Detailed Description

Generalized socket address structure.

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

Definition at line 86 of file socket.h.


Field Documentation

Socket address family.

This is an AF_XXX constant.

Definition at line 91 of file socket.h.

Referenced by comboot_resolv_done(), and xfer_open_socket().

char sockaddr::pad[SA_LEN-sizeof(sa_family_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 socket.h.


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