Struct ipsec_parser::NotifyType[][src]

pub struct NotifyType(pub u16);
Expand description

Notify Message Type

Notification information can be error messages specifying why an SA could not be established. It can also be status data that a process managing an SA database wishes to communicate with a peer process.

The table below lists the notification messages and their corresponding values. The number of different error statuses was greatly reduced from IKEv1 both for simplification and to avoid giving configuration information to probers.

Types in the range 0 - 16383 are intended for reporting errors. An implementation receiving a Notify payload with one of these types that it does not recognize in a response MUST assume that the corresponding request has failed entirely. Unrecognized error types in a request and status types in a request or response MUST be ignored, and they should be logged.

Notify payloads with status types MAY be added to any message and MUST be ignored if not recognized. They are intended to indicate capabilities, and as part of SA negotiation, are used to negotiate non-cryptographic parameters.

Defined in RFC7296 section 3.10.1

Extensions:

  • RFC4555 IKEv2 Mobility and Multihoming Protocol (MOBIKE)
  • RFC4739 Multiple Authentication Exchanges in the Internet Key Exchange (IKEv2) Protocol
  • RFC5685 Redirect Mechanism for the Internet Key Exchange Protocol Version 2 (IKEv2)
  • RFC5723 Internet Key Exchange Protocol Version 2 (IKEv2) Session Resumption
  • RFC7427 Signature Authentication in the Internet Key Exchange Version 2 (IKEv2)

See also IKEV2IANA for the latest values.

Tuple Fields

0: u16

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

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.