Module packet::records::options

source ·
Expand description

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

This module provides parsing utilities for type-length-value-like records encodings like those used by the options in an IPv4 or TCP header or an NDP packet. These formats are not identical, but share enough in common that the utilities provided here only need a small amount of customization by the user to be fully functional.

Structs§

  • An error encountered while parsing an option or sequence of options.

Enums§

  • Whether the length field of an option encodes the length of the entire option (including kind and length fields) or only of the value field.

Traits§

Type Aliases§