Struct ipsec_parser::DeletePayload [−][src]
pub struct DeletePayload<'a> {
pub protocol_id: ProtocolID,
pub spi_size: u8,
pub num_spi: u16,
pub spi: &'a [u8],
}
Expand description
Delete Payload
The Delete payload, denoted D in this document, contains a protocol-specific Security Association identifier that the sender has removed from its Security Association database and is, therefore, no longer valid. Figure 17 shows the format of the Delete payload. It is possible to send multiple SPIs in a Delete payload; however, each SPI MUST be for the same protocol. Mixing of protocol identifiers MUST NOT be performed in the Delete payload. It is permitted, however, to include multiple Delete payloads in a single INFORMATIONAL exchange where each Delete payload lists SPIs for a different protocol.
Defined in RFC7296 section 3.11
Fields
protocol_id: ProtocolID
spi_size: u8
num_spi: u16
spi: &'a [u8]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.