Expand description
Parsing and serialization of NDP options.
Modules§
- option_
types - Consts for NDP option types.
Structs§
- NdpNonce
- Nonce option used to make sure an advertisement is a fresh response to a solicitation sent earlier.
- NdpOptions
Impl - An implementation of [
OptionsImpl
] for NDP options. - Prefix
Information - Prefix information that is advertised by a router in Router Advertisements.
- Recursive
DnsServer - Recursive DNS Server that is advertised by a router in Router Advertisements.
- Route
Information - Builder for a Route Information option.
Enums§
- Invalid
Nonce Error - Errors that may occur when constructing a Nonce option.
- NdpOption
- NDP options that may be found in NDP messages.
- NdpOption
Builder - Builder for NDP options that may be found in NDP messages.
- NdpOption
Type - The types of NDP options that may be found in NDP messages.
Constants§
- INFINITE_
LIFETIME - A value representing an infinite lifetime for various NDP options’ lifetime fields.
- INFINITE_
LIFETIME_ SECONDS - A
u32
value representing an infinite lifetime for various NDP options’ lifetime fields. - MIN_
NONCE_ LENGTH - Minimum number of bytes in a Nonce option, excluding the kind and length bytes.