PlantUML — TCP Packet Layout
TCP header bit-field layout rendered with json-style nested blocks.
Rendering…
Make it your own.
@startjson
{
"TCP header (160 bits)": {
"[ 0-15] Source port": "16 bits",
"[16-31] Destination port": "16 bits",
"[32-63] Sequence number": "32 bits",
"[64-95] Acknowledgement #": "32 bits",
"[96-99] Data offset": "4 bits",
"[100-105] Reserved": "6 bits",
"[106-111] Flags": "URG/ACK/PSH/RST/SYN/FIN",
"[112-127] Window": "16 bits",
"[128-143] Checksum": "16 bits",
"[144-159] Urgent pointer": "16 bits"
}
}
@endjson