Skip to main content

classify_frame

Function classify_frame 

Source
pub fn classify_frame(frame: &[u8]) -> FrameAction
Expand description

Classify a raw ethernet frame for pre-inspection.

Uses smoltcp’s wire module for zero-copy parsing. Returns FrameAction::Passthrough for any frame that cannot be parsed or doesn’t match a special case.