tcpdump mailing list archives

Re: Request for DLT_ number assignment


From: Guy Harris <guy () alum mit edu>
Date: Thu, 29 Nov 2007 11:14:24 -0800

Alexey Neyman wrote:

The format of the capture is a 5-byte pseudo header followed by the actual I2C data. The MS bit of 1st byte of pseudo-header indicates whether the packet contains data or is an event detected on the I2C controller. The remaining 7 bits contain the minor number of the I2C device that generated the packet. The next 4 bytes contain either message flags, or controller status bits, as defined in <linux/i2c.h> and <linux/i2c-dev.h> headers.

So are those 4 bytes Linux-specific, or are they likely to be used if a different OS were to support capturing on IPMB? If they're Linux-specific, DLT_I2C_LINUX might be a better name.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: