tcpdump mailing list archives

Re: Linux input layer evdev capturing


From: Guy Harris <guy () alum mit edu>
Date: Tue, 18 Nov 2008 01:09:41 -0800


On Nov 14, 2008, at 7:08 PM, Michael Richardson wrote:

 No, I actually hadn't allocated it or commited it until I wrote the
email to see if the text made sense.    Guy hadn't allocated one, so I
did.  I'm actually not certain that I did it right.

You did, although updating the list of LINKTYPE_ values in savefile.c and the table mapping between LINKTYPE_ values and DLT_ values should also be done; I've checked that into CVS.

(The mapping is done because, although most if not all DLT_ values, as you get from pcap_linktype(), and LINKTYPE_ values, as appear in capture files, are the same for a given link-layer type, there are some exceptions, for binary compatibility on some BSD systems where the DLT_ values were allocated independently and with different values on different BSDs.)
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: