The data structure of an IP header

4-bit version

4bit  header length

8-bit  type of service TOS

16-bit total length (in bytes)

16-bit identification

3-bit flags

13-bit fragment offset

8-bit time to live (TTL)

8-bit protocol

16-bit header checksum

32-bit source IP address

32-bit destination IP address

options (if any)

 

DATA

 

/\

/\

20

B

Y

T

E

S

\/

\/

Back    Next