Hi, We have an utility that allows capturing the I2C traffic over the IPMB bus; that utility generates capture files in libpcap format for later use with WireShark for analysis. We would like to have a link type number assigned for such captures. We are going to submit the necessary changes for analyzing the captures to the WireShark project - that's why we need a distinct link type assignment. Preferred name is DLT_I2C. 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.
Best regards, Alexey. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
