tcpdump mailing list archives

Re: [PATCH] use new binary api for usb sniffig.


From: Guy Harris <guy () alum mit edu>
Date: Sat, 09 Dec 2006 15:17:17 -0800

Paolo Abeni wrote:

To access the binary api, some device files have to be accessed. In the
patch the path for this devices is hard-coded, but the effective
location may change depending on the linux distribution.

So the driver that supports the binary API doesn't hard-code the location of the devices, or some distribution vendors might patch their kernels to put the devices elsewhere?

The header present at the beginning of each 'packet', as suggested by
previous messages, is changed slightly and is now linux-specific, so
perhaps is necessary to allocate DLT. The code currently use the old
DLT_USB.

Is that header used both for packets coming from the binary API and from the text API? If so, we should get a new DLT_USB_LINUX for it.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: