Skip to main content

UdpParseContext

Trait UdpParseContext 

Source
pub trait UdpParseContext {
    // Required method
    fn skip_checksum_verification(&mut self) -> bool;
}
Expand description

Context for parsing UDP packets that may be subject to hardware checksum offloading.

Required Methods§

Source

fn skip_checksum_verification(&mut self) -> bool

Returns true if the checksum verification should be skipped.

Implementations on Foreign Types§

Source§

impl UdpParseContext for NoOpParsingContext

Implementors§