Module options

Source
Expand description

Header options for IPv4 and TCP, and NDP.

This module provides a parser for the options formats used by IPv4, TCP, and NDP. These formats are not identical, but share enough in common that they can be implemented using the same utility with a bit of customization.

Structs§

OptionsImplBridge
Create a bridge to RecordsImplLayout and RecordsImpl traits from an O that implements OptionsImpl. This is required so we can have a single implementation of parse_with_context and definition of Context that all implementers of OptionsImpl will get for free.

Enums§

OptionParseErr
Errors returned from parsing options.

Traits§

OptionsImpl
An implementation of an options parser.
OptionsImplLayout
Common traits of option parsing and serialization.
OptionsSerializerImpl
An implementation of an options serializer.

Type Aliases§

Options
A parsed set of header options.
OptionsSerializer
An instance of options serialization.