ip4::header Struct Reference

IPv4 header. More...

#include <wipal/proto/ip4.hh>

List of all members.

Public Types

enum  addr_index { sa = 0, da = 1 }

Public Attributes

union {
   uint8_t   version
   uint8_t   headerlength
}; 
uint8_t dsfield
uint16_t iplen
uint16_t identifier
union {
   uint16_t   flags
   uint16_t   fragoffset
}; 
uint8_t ttl
uint8_t ipproto
uint16_t checksum
addr addrs [2]


Detailed Description

IPv4 header.

Member Enumeration Documentation

IPv4 addresses index.

Enumerator:
sa  Source address.
da  Destination address.


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

Generated on Wed Apr 22 22:52:43 2009 for wipal by  doxygen 1.5.8