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: u8
§reserved: &'a [u8]
§ts: Vec<TrafficSelector<'a>>
Trait Implementations§
Source§impl<'a> Debug for TrafficSelectorPayload<'a>
impl<'a> Debug for TrafficSelectorPayload<'a>
Source§impl<'a> PartialEq for TrafficSelectorPayload<'a>
impl<'a> PartialEq for TrafficSelectorPayload<'a>
impl<'a> StructuralPartialEq for TrafficSelectorPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for TrafficSelectorPayload<'a>
impl<'a> RefUnwindSafe for TrafficSelectorPayload<'a>
impl<'a> Send for TrafficSelectorPayload<'a>
impl<'a> Sync for TrafficSelectorPayload<'a>
impl<'a> Unpin for TrafficSelectorPayload<'a>
impl<'a> UnwindSafe for TrafficSelectorPayload<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more