Packet — TCP Header (RFC 9293)
Twenty bytes of TCP with each control flag on its own bit, which is the part a prose description always compresses into 'flags' and the part anyone reading a capture actually needs. Written with run-length fields after the first word to show the two notations mixing.
Make it your own.
title "TCP header (RFC 9293)"
width 32
bitorder msb
words 5
0-15: Source port
16-31: Destination port
32-63: Sequence number
64-95: Acknowledgement number
96-99: Data offset
100-103: Reserved = 0
104: CWR
105: ECE
106: URG
107: ACK
108: PSH
109: RST
110: SYN
111: FIN
112-127: Window
128-143: Checksum
144-159: Urgent pointer