pub enum Message {
Ike(IkeMessage),
Esp(EspMessage),
}Expand description
The parsed message.
Message::Ike is a parsed IKE v1 or v2 message.
Message::Esp is an encapsulated security payload. These are seen when the
encrypted communications are sent over UDP on the same 5-tuple as the IKE messages, typically on port 4500.
When IKE operates over TCP, no ESP will be parsed as they encrypted data is sent without a
transport layer (i.e. layer 3 Ethernet header followed by encrypted payload).
Variants§
Trait Implementations§
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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