ADTF  3.18.3
tIPHeader

IP header. More...

Public Attributes

unsigned int h_len:4
 length of the header
 
unsigned int version:4
 Version of IP.
 
unsigned char tos
 Type of service.
 
unsigned short total_len
 total length of the packet
 
unsigned short ident
 unique identifier
 
unsigned short frag_and_flags
 flags
 
unsigned char ttl
 
unsigned char proto
 protocol (TCP, UDP etc)
 
unsigned short checksum
 IP checksum.
 
unsigned int sourceIP
 
unsigned int destIP
 

Detailed Description

IP header.

Definition at line 34 of file sockettypes.h.

Member Data Documentation

◆ destIP

unsigned int destIP

Definition at line 46 of file sockettypes.h.

◆ sourceIP

unsigned int sourceIP

Definition at line 45 of file sockettypes.h.

◆ ttl

unsigned char ttl

Definition at line 42 of file sockettypes.h.