Struct ipsec_parser::TrafficSelectorPayload[][src]

pub struct TrafficSelectorPayload<'a> {
    pub num_ts: u8,
    pub reserved: &'a [u8],
    pub ts: Vec<TrafficSelector<'a>>,
}
Expand description

Traffic Selector Payload

The Traffic Selector payload, denoted TS in this document, allows peers to identify packet flows for processing by IPsec security services. The Traffic Selector payload consists of the IKE generic payload header followed by individual Traffic Selectors.

Defined in RFC7296 section 3.13

Fields

num_ts: u8reserved: &'a [u8]ts: Vec<TrafficSelector<'a>>

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.