Module v6

Source
Expand description

Parsing and serialization for DHCPv6 messages.

Structs§

IAID
Identity Association identifier, as defined in RFC 8415, Section 4.2.
IaAddrData
An overlay representation of an IA Address option.
IaAddrSerializer
A serializer for the IA Address DHCPv6 option.
IaPdData
An overlay representation of an IA_PD option as per RFC 8415 section 21.21.
IaPdSerializer
A serializer for the IA_PD DHCPv6 option.
IaPrefixData
An overlay representation of an IA Address option, as per RFC 8415 section 21.22.
IaPrefixSerializer
A serializer for the IA Prefix DHCPv6 option.
IanaData
An overlay representation of an IA_NA option.
IanaSerializer
A serializer for the IA_NA DHCPv6 option.
Message
A DHCPv6 message as defined in RFC 8415, Section 8.
MessageBuilder
A DHCPv6Message builder.
NonZeroOrMaxU32
A u32 value that is guaranteed to be greater than 0 and less than u32::MAX.

Enums§

DhcpOption
A serializable DHCPv6 option.
ErrorStatusCode
A DHCPv6 error status code as defined in RFC 8415, Section 21.13.
MessageType
A DHCPv6 message type as defined in RFC 8415, Section 7.3.
NonZeroTimeValue
A representation of time values for lifetimes to relay the fact that zero is not a valid time value, and that Infinity has special significance, as described in RFC 8415, section 14.2 and section 7.7.
OptionCode
A DHCPv6 option code that identifies a corresponding option.
ParseError
A DHCPv6 packet parsing error.
ParsedDhcpOption
A parsed DHCPv6 options.
StatusCode
A DHCPv6 status code as defined in RFC 8415, Section 21.13.
TimeValue
A representation of time values for lifetimes to relay the fact that certain values have special significance as described in RFC 8415, section 14.2 and section 7.7.

Functions§

duid_uuid
Generates a random DUID UUID based on the format defined in RFC 8415, Section 11.5.