tcpdump mailing list archives

Re: [RESEND][PATCH] enable sniff on USB ports on linux (BSD license)


From: Guy Harris <guy () alum mit edu>
Date: Mon, 2 Oct 2006 17:15:52 -0700


On Oct 2, 2006, at 2:31 AM, Paolo Abeni wrote:

I posted this mail a few days ago, but I can't see it in the mailing
list archive... Sorry for any duplicates...

I didn't see it either.


The USB pseudo headers are still in a separate file, must I move them
into pcap.h ?!?

Not necessarily.

If we have a separate header, however, I'd prefer to create a "pcap" subdirectory of the top-level include directory ("/usr/include", "/usr/ local/include", etc.), and put pcap.h there, with "{top level include directory}/pcap.h" being just

        #include <pcap/pcap.h>

(plus copyright notice etc.) for backwards compatibility, have <pcap/ bpf.h> with "{top level include directory}/pcap-bpf.h" including it, do the same for "pcap-namedb.h", have <pcap/usb.h>, and perhaps a new <pcap/sll.h> for the Linux cooked capture header.

I have to fix also the dlt issue. Can you please assign a new DLT value
for me ?

I've added DLT_USB, with a value of 186.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: