]> 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:39:05 +0000 (19:39 +0000)
committerguy <guy>
Fri, 4 Apr 2008 19:39:05 +0000 (19:39 +0000)
commiteba1589dfe9c82f43b61bc55b2d5497ee1f607ba
tree26746bf1d75382a09064a7a816ae300011df411a
parente90961d77fb9daddb46be14f8cb7f15e95f5c7bf
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.

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.
29 files changed:
config.h.in
configure
configure.in
dlpisubs.c
dlpisubs.h
pcap-bpf.c
pcap-bt-linux.c
pcap-bt-linux.h [new file with mode: 0644]
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 [new file with mode: 0644]
pcap-septel.h [new file with mode: 0644]
pcap-sita.c
pcap-snit.c
pcap-snoop.c
pcap-usb-linux.c
pcap-usb-linux.h [new file with mode: 0644]
pcap-win32.c
pcap.c
pcap/pcap.h
savefile.c