]> The Tcpdump Group git mirrors - libpcap/commit
Add a "read" function pointer to the pcap_t structure, which handles
authorguy <guy>
Fri, 25 Jul 2003 05:32:02 +0000 (05:32 +0000)
committerguy <guy>
Fri, 25 Jul 2003 05:32:02 +0000 (05:32 +0000)
commitcd0d893ef99fbd6e06311242d8631b8a5cf9502e
treeae17f58218c26d028d2390c1229b006bb270d415
parent08658f1c932c872f1d920e72e62d200471bd80d0
Add a "read" function pointer to the pcap_t structure, which handles
reading packets from a pcap_t, and make "pcap_read()" call it.  That
removes the last place where we have to check for a pcap_t that refers
to a DAG card rather than a live capture, so get rid of the "is_dag" flag.
14 files changed:
pcap-bpf.c
pcap-dag.c
pcap-dag.h
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