MAC (Media Access Control) Header
Byte 00 01 02 03 04 05 06 07 08 09 10 11 12 13
0 Destination MAC address Source MAC address EtherType
IPv4 Packet Structure (Header + Payload) (RFC791)
Offset Byte 0 1 2 3
Byte Bit 0001020304050607 0809101112131415 1617181920212223 2425262728293031
00 Version IHL DSCP ECN Total Length
432 Identification Flags Fragment Offset
864 Time To Live Protocol Header Checksum
1296 Source IP Address
16128 Destination IP Address
20160 Options 0-40 bytes (if IHL > 5)
56448
Data Payload
(in total 216=65536 bytes = 64 kB incl. header and options)
ICMP Header (RFC792)
Offset Byte 0 1 2 3
Byte Bit 0001020304050607 0809101112131415 1617181920212223 2425262728293031
00 Type Code Checksum
432 content depends on the ICMP type and code
TCP segment header (RFC 9293)
Offset Byte 0 1 2 3
Byte Bit 0001020304050607 0809101112131415 1617181920212223 2425262728293031
00 Source port Destination port
432 Sequence number
864 Acknowledgment number (if ACK set)
1296 Data offset Reserved
0 0 0 0
CWR
ECE
URG
ACK
PSH
RST
SYN
FIN
Window size
16128 Checksum Urgent pointer (if URG set)
20160 Options (if data offset > 5. Padded at the end with "0" bits if necessary.)
56448