Module packet::records

source ·
Expand description

Utilities for parsing and serializing sequential records.

This module provides utilities for parsing and serializing repeated, sequential records. Examples of packet formats which include such records include IPv4, IPv6, TCP, NDP, and IGMP.

The utilities in this module are very flexible and generic. The user must supply a number of details about the format in order for parsing and serializing to work.

Some packet formats use a type-length-value-like encoding for options. Examples include IPv4, TCP, and NDP options. Special support for these formats is provided by the options submodule.

Modules§

  • Utilities for parsing the options formats in protocols like IPv4, TCP, and NDP.

Structs§

Enums§

  • A type that encapsulates the successful result of a parsing operation.

Traits§

Type Aliases§