]> The Tcpdump Group git mirrors - libpcap/commit
Add a "setfilter" function pointer to the pcap_t structure, which
authorguy <guy>
Fri, 25 Jul 2003 04:42:02 +0000 (04:42 +0000)
committerguy <guy>
Fri, 25 Jul 2003 04:42:02 +0000 (04:42 +0000)
commitcd2807e08d02de68b766ed88acf3bfd3b54b2a24
tree32510d11551eab43465b88894a38d7b627eb1413
parent9792990eb80889004b39ee70caa98b3d91ac8012
Add a "setfilter" function pointer to the pcap_t structure, which
handles setting a filter for a pcap_t.  Have "pcap_setfilter()" call it,
rather than being a per-platform function.  The per-platform functions
don't need to check for an offline capture any more, as they're not
called for an offline capture (and the ones that just call
"install_bpf_program()" don't need to exist at all).
13 files changed:
pcap-bpf.c
pcap-dag.c
pcap-dlpi.c
pcap-int.h
pcap-linux.c
pcap-nit.c
pcap-null.c
pcap-pf.c
pcap-snit.c
pcap-snoop.c
pcap-win32.c
pcap.c
savefile.c