sockaddr_in Struct Reference
[Networking Stack]

INET socket address. More...

#include <in.h>

Collaboration diagram for sockaddr_in:
Collaboration graph
[legend]

Data Fields

uint16_t sin_family
 Address family.
uint16_t sin_port
 Port number.
struct in_addr sin_addr
 Internet address.
uint8_t sin_zero [8]
 Padding to meet the sockaddr size.

Detailed Description

INET socket address.

See also:
sockaddr

Field Documentation

Internet address.

Referenced by ip_deliver_local(), ip_prepare_icmp(), ip_process_packet(), and main().

Address family.

Should be AF_INET.

Referenced by ip_deliver_local(), ip_prepare_icmp(), ip_process_packet(), and main().

Port number.

Referenced by main().

Padding to meet the sockaddr size.


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

Generated on Thu Mar 11 20:48:30 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1