]> The Tcpdump Group git mirrors - libpcap/commit
From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t
authorguy <guy>
Fri, 4 Apr 2008 19:37:44 +0000 (19:37 +0000)
committerguy <guy>
Fri, 4 Apr 2008 19:37:44 +0000 (19:37 +0000)
commitd9b420231a4428234f666eb6c44a4dea6f1f2d71
tree83275824f39128a3f3ce9860b5cd8ed99b5a216f
parent19d1a629c7adea3d04f53c69d08cc4ce9e1693b0
From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t
handle" routine, an 'activate a pcap_t handle" routine, and some "set
the properties of the pcap_t handle" routines, so that, for example, the
buffer size can be set on a BPF device before the device is bound to an
interface.

Add additional routines to set monitor mode, and make at least an
initial attempt at supporting that on Linux, *BSD, and Mac OS X 10.4 and
10.5.  (Very much "initial" for Linux, which is a twisty little maze of
wireless drivers, many different.)

Have a "timeout" member of the pcap_md structure on all platforms, use
that on Windows instead of the "timeout" member of the pcap_t structure,
and get rid of the "timeout" member of that structure.
28 files changed:
config.h.in
configure.in
dlpisubs.c
dlpisubs.h
pcap-bpf.c
pcap-bt-linux.c
pcap-bt-linux.h
pcap-dag.c
pcap-dag.h
pcap-dlpi.c
pcap-dos.c
pcap-int.h
pcap-libdlpi.c
pcap-linux.c
pcap-nit.c
pcap-null.c
pcap-pf.c
pcap-septel.c
pcap-septel.h
pcap-sita.c
pcap-snit.c
pcap-snoop.c
pcap-usb-linux.c
pcap-usb-linux.h
pcap-win32.c
pcap.c
pcap/pcap.h
savefile.c