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§
- Options
Impl Bridge - Create a bridge to
RecordsImplLayout
andRecordsImpl
traits from anO
that implementsOptionsImpl
. This is required so we can have a single implementation ofparse_with_context
and definition ofContext
that all implementers ofOptionsImpl
will get for free.
Enums§
- Option
Parse Err - Errors returned from parsing options.
Traits§
- Options
Impl - An implementation of an options parser.
- Options
Impl Layout - Common traits of option parsing and serialization.
- Options
Serializer Impl - An implementation of an options serializer.
Type Aliases§
- Options
- A parsed set of header options.
- Options
Serializer - An instance of options serialization.