IETF DataTracker: draft-mcquistin-augmented-ascii-diagrams
- Stephen McQuistin, Vivian Band, and Colin Perkins, Describing Protocol Data Units with Augmented Packet Header Diagrams (.txt|.pdf), Internet Engineering Task Force, November 2019, Work in progress (draft-mcquistin-augmented-ascii-diagrams-01.txt).
This document describes a machine-readable format for specifying the syntax of protocol data units within a protocol specification. This version tries to make the motivation clearer, is revised to describe the format by reference to real examples; and adds support for "PDUs with Non-Contiguous Fields” (e.g., the STUN Message Type Field).
- Stephen McQuistin, Vivian Band, and Colin Perkins, Fully Specifying Protocol Parsing with Augmented ASCII Diagrams (.txt|.pdf), Internet Engineering Task Force, July 2019, Work in progress (draft-mcquistin-augmented-ascii-diagrams-00.txt).
This document describes a machine-readable format for fully specifying the process by which a protocol can be parsed. This format combines a consistent ASCII packet diagram format with the use of structured text, maintaining human readability while enabling support for machine parsing. This document is itself an example of how this format can be used.
IETF protocol specifications have long relied on packet header diagrams to illustrate the format of packet headers and other protocol data. This memo describes a consistent, machine readable, syntax for such diagrams.