UDP header
Classic 64-bit UDP header — source port, destination port, length, checksum. Bit-positions enforced.
View example and source Edit in StudioCompatible with packetdiag
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.

Most users come to Packet diagrams (packetdiag) from Hand-drawn RFC packet layouts. flowss runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.
packetdiag {
0-15: Source port
16-31: Destination port
32-47: Length
}Paste this in the Studio code pane to see Packet diagrams (packetdiag) render live. The full grammar is at the upstream-docs link above.
Classic 64-bit UDP header — source port, destination port, length, checksum. Bit-positions enforced.
View example and source Edit in StudioBit-precise TCP header. Compare with the bytefield-svg version for two takes on the same layout.
View example and source Edit in StudioPing packet — Type / Code / Checksum / Identifier / Sequence number + payload.
View example and source Edit in StudioBit-accurate IPv4 header layout.
View example and source Edit in StudioStandard TCP segment header.
View example and source Edit in StudioTiny UDP header.
View example and source Edit in Studiopacketdiag · ← Browse all engines · Quick-start guide