Struct ipsec_parser::TrafficSelectorPayload
[−]
[src]
pub struct TrafficSelectorPayload<'a> { pub num_ts: u8, pub reserved: &'a [u8], pub ts: Vec<TrafficSelector<'a>>, }
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: u8
reserved: &'a [u8]
ts: Vec<TrafficSelector<'a>>
Trait Implementations
impl<'a> Debug for TrafficSelectorPayload<'a>
[src]
impl<'a> PartialEq for TrafficSelectorPayload<'a>
[src]
fn eq(&self, __arg_0: &TrafficSelectorPayload<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TrafficSelectorPayload<'a>) -> bool
[src]
This method tests for !=
.