ip_header Struct Reference

#include <decode_ip.h>


Data Fields

unsigned char version:4
unsigned char ihl:4
unsigned char tos
unsigned short tot_len
unsigned short id
unsigned short frag_off
unsigned char ttl
unsigned char protocol
unsigned short check
unsigned int saddr
unsigned int daddr


Detailed Description

Definition at line 12 of file decode_ip.h.


Field Documentation

unsigned char ip_header::version

Definition at line 17 of file decode_ip.h.

unsigned char ip_header::ihl

Definition at line 17 of file decode_ip.h.

Referenced by DecodeIP(), and DecodeIPDefrag().

unsigned char ip_header::tos

Definition at line 20 of file decode_ip.h.

unsigned short ip_header::tot_len

Definition at line 21 of file decode_ip.h.

Referenced by RebuildPacket().

unsigned short ip_header::id

Definition at line 22 of file decode_ip.h.

unsigned short ip_header::frag_off

Definition at line 23 of file decode_ip.h.

Referenced by RebuildPacket().

unsigned char ip_header::ttl

Definition at line 24 of file decode_ip.h.

unsigned char ip_header::protocol

Definition at line 25 of file decode_ip.h.

Referenced by ApplyMessage(), HandleIPPacket(), and TestIPProto().

unsigned short ip_header::check

Definition at line 26 of file decode_ip.h.

Referenced by RebuildPacket(), and TestIPCheck().

unsigned int ip_header::saddr

Definition at line 27 of file decode_ip.h.

Referenced by ApplyMessage(), DecodeIP(), HandleIPPacket(), and PrintPacketSummary().

unsigned int ip_header::daddr

Definition at line 28 of file decode_ip.h.

Referenced by ApplyMessage(), DecodeIP(), HandleIPPacket(), and PrintPacketSummary().


The documentation for this struct was generated from the following file:
Generated on Sat Jul 7 23:33:11 2007 for HLBR by  doxygen 1.5.2