The IP header structure is as follows:
4
|
8
|
16
|
32 bits
| ||||
|
|
| Total length | ||||
|
| Fragment offset | |||||
| Protocol |
| |||||
| |||||||
| |||||||
| |||||||
| |||||||
IP header structure
|
IPV6 :
The IPv6 header structure is as follows:
4
|
4
|
16
|
24
|
32 bits
|
|
|
| ||
|
|
| ||
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
| |||||||
| Destination port | |||||||
| ||||||||
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |||||||
| ||||||||
| ||||||||
TCP header structure
|
The UDP header structure is shown as follows:
16
|
32 bits
|
|
|
|
|
Data | |
UDP header structure
|