tcpdump mailing list archives

Re: [PATCH] add bluetooth sniffing capability


From: Paolo Abeni <paolo.abeni () email it>
Date: Fri, 13 Oct 2006 21:25:28 +0200

hello,

On Fri, 2006-10-13 at 10:49 -0700, Guy Harris wrote:
I also protected all calls to the USB code from pcap-linux.c with #ifdef 
PCAP_SUPPORT_USB/#endif.

Well, the current check for PCAP_SUPPORT_USB is $host_os == linux;  usb
sniffig is assumed supported on every linux version. This is rasonable
since all we need is open(2), read(2), and close(2) support. 

To tell the truth, a recent kernel version is required, but we can
compile the library on an host with a old kernel, then use it on a more
recent one, where usbmon is available, so I think those latter guards
are not necessary. 

Best regards,

Paolo





-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: