Felix Maurer

Results 2 issues of Felix Maurer

pcap-filter strings, like you pass them to tcpdump, are a convenient way to match packets. But libpcap only compiles them into cBPF programs; to use them with XDP programs, we...

libpcap has a filter language (`pcap-filter(7)`) that it can compile into BPF instructions. With this PR, `pcap_compile(3)` gets exposed. Additionally, `pcap_open_dead(3)` gets exposed, which allows to open a fake `Pcap`...