IP Header Format  :  RFC 791 

The IP header structure is as follows:

4
8
16
32 bits
Ver.
IHL
Type of service
Total length
Identification
Flags
Fragment offset
Time to live
Protocol
Header checksum
Source address
Destination address
Option + Padding
Data
IP header structure


IPV6 :

The IPv6 header structure is as follows:

4
4
16
24
32 bits
Ver.
Priority
Flow label
Payload length
Next header
Hop limit

Source address
(128 Bits)

Destination address
(128 bits)
IPv6 header structure


         

TCP Header Format  :    RFC 793   

The TCP header structure is as follows:

16
32 bits
Source port
Destination port
Sequence number
Acknowledgement number
Offset
Resrvd
U
A
P
R
S
F
Window
Checksum
Urgent pointer
Option + Padding
Data
TCP header structure
  


 

The UDP header structure is shown as follows:

16
32 bits
Source port
Destination port
Length
Checksum

Data
UDP header structure

posted on 2006-08-29 23:38  DAVID'S BLOG  阅读(1749)  评论(0编辑  收藏  举报