8 templates
Packet diagrams (packetdiag) templates
Protocol packet layouts in a column-based DSL — write `0-15: source port` `16-31: destination port` and every bit-field renders with the correct width. Ideal for RFC-style protocol documentation; complementary to bytefield-svg.
UDP header
Classic 64-bit UDP header — source port, destination port, length, checksum. Bit-positions enforced.
ArchitectureTCP header — bit fields
Bit-precise TCP header. Compare with the bytefield-svg version for two takes on the same layout.
ArchitectureICMP echo packet
Ping packet — Type / Code / Checksum / Identifier / Sequence number + payload.
Architecturepacketdiag — IPv4 header
Bit-accurate IPv4 header layout.
Data & Schemapacketdiag — TCP header
Standard TCP segment header.
Data & Schemapacketdiag — UDP datagram
Tiny UDP header.
Data & Schemapacketdiag — Ethernet II frame
Layer-2 Ethernet frame with VLAN tag option.
Data & Schemapacketdiag — TLS record
TLS 1.3 record-layer envelope.
Data & Schema