Re: [tcpdump-workers] [PATCH] add bluetooth sniffing capability

2006-10-13 Thread Paolo Abeni
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 r

Re: [tcpdump-workers] [PATCH] add bluetooth sniffing capability

2006-10-13 Thread Guy Harris
Paolo Abeni wrote: The attached patch enables sniffing from bluetooth devices for the Linux platform. Checked in. I added pcap-bt-linux.h and pcap-usb-linux.h headers and had pcap-linux.c include them if PCAP_SUPPORT_{BT,USB} is defined and had pcap-{bt,usb}-linux.c include them uncondition

[tcpdump-workers] [PATCH] add bluetooth sniffing capability

2006-10-13 Thread Paolo Abeni
hello, The attached patch enables sniffing from bluetooth devices for the Linux platform. The intercepted frames are exactly the same produced by hcidump. The data link type used for capture bluetooth frames is DLT_BLUETOOTH_HCI_H4. To enable the bluetooth sniffing functionality bluez headers (bl