Expand description
Utilities for parsing sequential records.
This module provides utilities for parsing sequential records. IGMP message
parsing is built using these utilities, as is another set of general
utilities for IPv4, TCP, and NDP options parsing, provided in the
options
submodule.
Modules§
- options
- Header options for IPv4 and TCP, and NDP.
Structs§
- Limited
Records Impl Bridge - Create a bridge to
RecordsImplLayout
andRecordsImpl
from anO
that implementsLimitedRecordsImplLayout
. This is required so we can have a single implementation ofparse_with_context
and definition ofContext
that all implementers ofLimitedRecordsImpl
will get for free. - Records
- A parsed set of arbitrary sequential records.
- Records
Iter - An iterator over the records contained inside a
Records
instance. - Records
Serializer - An instance of records serialization.
Traits§
- Limited
Records Impl - Limited
Records Impl Layout - Trait that provides implementations to limit the amount of records read from a buffer. Some protocols will have some sort of header preceding the records that will indicate the number of records to follow (e.g. IGMP), while others will have that information inline (e.g. IPv4 options).
- Records
Context - The context kept while performing records parsing.
- Records
Impl - An implementation of a records parser.
- Records
Impl Layout - Basic associated types used by a
RecordsImpl
. - Records
Serializer Impl - An implementation of a records serializer.
Type Aliases§
- Limited
Records - A limited parsed set of records.