Struct ipsec_parser::TrafficSelector [] [src]

pub struct TrafficSelector<'a> {
    pub ts_type: TSType,
    pub ip_proto_id: u8,
    pub sel_length: u16,
    pub start_port: u16,
    pub end_port: u16,
    pub start_addr: &'a [u8],
    pub end_addr: &'a [u8],
}

Traffic Selector

Defined in RFC7296 section 3.13.1

Fields

Methods

impl<'a> TrafficSelector<'a>
[src]

Trait Implementations

impl<'a> Debug for TrafficSelector<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for TrafficSelector<'a>
[src]

[src]

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

[src]

This method tests for !=.