Visual RFC.
ALL RFCs / RFC 6891
Read the RFC ↗
RFC 6891 / PROTOCOL MECHANISMS

Parse extensible option tuples

04

Variable OPT data consists of option-code, option-length, and option-data tuples.

RFC 6891 · § 6.1.2EXAMPLE
3 / 3
03
Skip an unknown option and continue at the next tuple.

Skip an unknown option and continue at the next tuple.

Parse extensible option tuplesVariable OPT data consists of option-code, option-length, and option-data tuples.code Alength 3abcconsume exactly 3unknown codelengthSkip bounded data → next optionOption tuples have explicit data lengths

Key idea: Option length bounds each option’s data.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Option length bounds each option’s data.
  • An endpoint ignores options it does not understand as specified; it cannot reinterpret their bytes as a following field.

The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 6891

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗