Re: [tcpdump-workers] USB support in libpcap

2008-12-23 Thread Guy Harris
On Apr 3, 2007, at 7:42 AM, Jon Smirl wrote: diff with -u attached Checked in, with some changes. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

Re: [tcpdump-workers] USB support in libpcap

2007-04-03 Thread Jon Smirl
diff with -u attached -- Jon Smirl [EMAIL PROTECTED] ? libpcap.diff ? libpcap.patch ? lpcap.diff Index: pcap-usb-linux.c === RCS file: /tcpdump/master/libpcap/pcap-usb-linux.c,v retrieving revision 1.14 diff -u -r1.14 pcap-usb-linux

Re: [tcpdump-workers] USB support in libpcap

2007-04-03 Thread Jon Smirl
On 4/2/07, Abeni Paolo <[EMAIL PROTECTED]> wrote: on Sun 4/1/2007 11:46 PM Guy Harris wrote: > Paolo, do you have any comments on the changes? The only issue I see is the following: urb_len is the size of the buffer for receiving data. Most of the time the reply and the receive buffer are the

Re: [tcpdump-workers] USB support in libpcap

2007-04-02 Thread Abeni Paolo
on Sun 4/1/2007 11:46 PM Guy Harris wrote: > Paolo, do you have any comments on the changes? The only issue I see is the following: I think that the following line is not good: 622c693 < pkth.len = info.hdr->urb_len + sizeof(pcap_usb_header); --- > pkth.len = info.hdr->data_len + size

Re: [tcpdump-workers] USB support in libpcap

2007-04-01 Thread Guy Harris
Jon Smirl wrote: Attached is some clean up for libpcap support of usbmon on Linux. You might want to send it as "diff -c" or "diff -u" output, in case changes are made to those files before the patch is applied (as has already happened - I added RCS IDs to some files that lacked them, includ

Re: [tcpdump-workers] USB support in libpcap

2007-03-26 Thread Jon Smirl
On 3/26/07, Michael Richardson <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: Jon> For example wifi adapters are all built using proprietary USB Jon> messages, to decode these messages you need to know the US

Re: [tcpdump-workers] USB support in libpcap

2007-03-26 Thread Jon Smirl
On 3/26/07, Gianluca Varenni <[EMAIL PROTECTED]> wrote: - Original Message - From: "Michael Richardson" <[EMAIL PROTECTED]> To: Sent: Monday, March 26, 2007 12:50 PM Subject: Re: [tcpdump-workers] USB support in libpcap > -BEGIN PGP SIGNED

Re: [tcpdump-workers] USB support in libpcap

2007-03-26 Thread Gianluca Varenni
- Original Message - From: "Michael Richardson" <[EMAIL PROTECTED]> To: Sent: Monday, March 26, 2007 12:50 PM Subject: Re: [tcpdump-workers] USB support in libpcap -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 "Jon" == Jon Smirl <[EMAIL PROTECTED]&

Re: [tcpdump-workers] USB support in libpcap

2007-03-26 Thread Bruce M Simpson
Michael Richardson wrote: Okay, so if the point is to do a network capture from a USB attached wifi, why not just capture the 802.11 frames themselves into the already standardized frame formats we have? Aren't people already working on bringing things like the radiotap DLT into Linux by wa

Re: [tcpdump-workers] USB support in libpcap

2007-03-26 Thread Michael Richardson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes: Jon> For example wifi adapters are all built using proprietary USB Jon> messages, to decode these messages you need to know the USB device ID Jon> of the adapter. This device id is not n

[tcpdump-workers] USB support in libpcap

2007-03-25 Thread Jon Smirl
Attached is some clean up for libpcap support of usbmon on Linux. It also adds code to enumerate the configurations of the devices attached to the USB bus when the capture session is first started. Without capturing the device configurations into the capture stream is it not possible to fully dec