Skip to main content

compile_filter

Function compile_filter 

Source
pub fn compile_filter(filter: &str) -> Result<VerifiedProgram, CompilationError>
Expand description

Compiles a pcap filter string to BPF bytecode.

Currently the pcap filter is intended for Ethernet links.