Packet — IPv4 Header (RFC 791)
The header every network diagram starts from, drawn at 32 bits a word in RFC bit order with the absolute bit indices on the ruler. Complete: every bit of the five fixed words is claimed, so the engine reports no gaps and the reader can trust that the layout is the whole layout.
Make it your own.
title "IPv4 header (RFC 791)"
width 32
bitorder msb
words 5
0-3: Version = 4
4-7: IHL
8-13: DSCP
14-15: ECN
16-31: Total length
32-47: Identification
48-50: Flags
51-63: Fragment offset
64-71: Time to live
72-79: Protocol
80-95: Header checksum
96-127: Source address
128-159: Destination address