pub type DestinationOption<'a> = ExtensionHeaderOption<DestinationOptionData<'a>>;
Expand description

An option found in a Destination Options extension header.

Aliased Type§

struct DestinationOption<'a> {
    pub action: ExtensionHeaderOptionAction,
    pub mutable: bool,
    pub data: DestinationOptionData<'a>,
}

Fields§

§action: ExtensionHeaderOptionAction

Action to take if the option type is unrecognized.

§mutable: bool

Whether or not the option data of the option can change en route to the packet’s final destination. When an Authentication header is present in the packet, the option data must be treated as 0s when computing or verifying the packet’s authenticating value when the option data can change en route.

§data: DestinationOptionData<'a>

Option data associated with a specific extension header.