Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

ip Struct Reference
[XgStackXgIPXgIP]

Structure of an internet header. More...

#include <netinet/ip.h>


Data Fields

u_char ip_hl:4
 Header length.

u_char ip_v:4
 Header length Version.

u_char ip_tos
 Type of service.

short ip_len
 Total length.

u_short ip_id
 Identification.

short ip_off
 Fragment offset field.

u_char ip_ttl
 Time to live.

u_char ip_p
 Protocol.

u_short ip_sum
 Checksum.

u_long ip_src
 Source IP address.

u_long ip_dst
 Destination IP address.


Detailed Description

Structure of an internet header.


The documentation for this struct was generated from the following files:
Generated on Thu Jan 30 22:30:56 2003 for EduNet by doxygen1.2.18