FilterPacketMetadata

Trait FilterPacketMetadata 

Source
pub trait FilterPacketMetadata {
    // Required methods
    fn apply_mark_action(&mut self, domain: MarkDomain, action: MarkAction);
    fn cookie(&self) -> Option<SocketCookie>;
    fn marks(&self) -> &Marks;
}
Expand description

A trait for interacting with packet metadata.

Required Methods§

Source

fn apply_mark_action(&mut self, domain: MarkDomain, action: MarkAction)

Applies the mark action to the metadata.

Source

fn cookie(&self) -> Option<SocketCookie>

Socket cookie.

Source

fn marks(&self) -> &Marks

Socket marks.

Implementors§