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§
- 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§
- Errors returned from parsing options.
Traits§
- An implementation of an options parser.
- Common traits of option parsing and serialization.
- An implementation of an options serializer.
Type Aliases§
- A parsed set of header options.
- An instance of options serialization.