]> The Tcpdump Group git mirrors - libpcap/commit
Use BPF extensions in compiled filters 391/head
authorMichal Sekletar <[email protected]>
Fri, 31 Oct 2014 14:19:54 +0000 (15:19 +0100)
committerMichal Sekletar <[email protected]>
Mon, 3 Nov 2014 13:54:18 +0000 (14:54 +0100)
commit04660eb1e56102e2369473cae2538e4d3d263607
treed6963fba4b3294ee1f6ade1cd976fb71f280c39b
parent02e420f820750e970c93068c01ea10d4c16f2b9a
Use BPF extensions in compiled filters

libpcap will generate BPF filter code which uses BPF extensions if target
platform supports them. Currently supported BPF extensions are vlan_tci and
vlan_pr.

Also to properly handle such filters when filtering in userspace libpcap now
employs bpf_filter1.
gencode.c
pcap-linux.c