Module options

Source
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.
NdpOptionsImpl
An implementation of [OptionsImpl] for NDP options.
PrefixInformation
Prefix information that is advertised by a router in Router Advertisements.
RecursiveDnsServer
Recursive DNS Server that is advertised by a router in Router Advertisements.
RouteInformation
Builder for a Route Information option.

Enums§

InvalidNonceError
Errors that may occur when constructing a Nonce option.
NdpOption
NDP options that may be found in NDP messages.
NdpOptionBuilder
Builder for NDP options that may be found in NDP messages.
NdpOptionType
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.