Add LINKTYPE_ZWAVE_TAP/DLT_ZWAVE_TAP.
Add LINKTYPE_SILABS_DEBUG_CHANNEL/DLT_SILABS_DEBUG_CHANNEL.
Add LINKTYPE_FIRA_UCI/DLT_FIRA_UCI.
+ Rename LINKTYPE_IPMB_LINUX/DLT_IPMB_LINUX to
+ LINKTYPE_I2C_LINUX/DLT_I2C_LINUX, as it's really just an
+ encapsulation of I2C, and is also being used for HDMI DDC.
+ Keep DLT_IPMB_LINUX around as a #define for backwards
+ compatibility.
Packet filtering:
Add support for Block Ack Req and Block Ack frame types (pull
request #1039).
bpf_error(cstate, "RAIF1 link-layer type filtering not implemented");
case DLT_IPMB_KONTRON:
- case DLT_IPMB_LINUX:
bpf_error(cstate, "IPMB link-layer type filtering not implemented");
+ case DLT_I2C_LINUX:
+ bpf_error(cstate, "I2C link-layer type filtering not implemented");
+
case DLT_AX25_KISS:
bpf_error(cstate, "AX.25 link-layer type filtering not implemented");
*/
/*
- * IPMB with a Linux-specific pseudo-header; as requested by Alexey Neyman
+ * I2C with a Linux-specific pseudo-header; as requested by Alexey Neyman
+ *
+ * In the discussion, starting at
+ *
+ * https://seclists.org/tcpdump/2007/q4/127
+ *
+ * the original idea that it was a link-layer type for I2C, but,
+ * as it was proposed as a way to capture IPMB-over-I2C, and
+ * the conclusion was that reserving it for IPMB-over-I2C meant
+ * that analyzers could just assume the traffic was IPMB.
+ *
+ * However, it was later used for HDMI DDC traffic, so there's
+ * no point in pretending that it's IPMB-only any more, so we
+ * renamed it to a name suggested earlier in the discussion,
+ * namely LINKTYPE_I2C_LINUX/DLT_I2C_LINUX, as the header was,
+ * at least originally, Linux-specific.
*/
-#define LINKTYPE_IPMB_LINUX 209
+#define LINKTYPE_I2C_LINUX 209
/*
* FlexRay automotive bus - http://www.flexray.com/ - as requested
DLT_CHOICE(JUNIPER_ST, "Juniper Secure Tunnel"),
DLT_CHOICE(BLUETOOTH_HCI_H4_WITH_PHDR, "Bluetooth HCI UART transport layer plus pseudo-header"),
DLT_CHOICE(AX25_KISS, "AX.25 with KISS header"),
- DLT_CHOICE(IPMB_LINUX, "IPMB with Linux/Pigeon Point pseudo-header"),
+ DLT_CHOICE(I2C_LINUX, "I2C with Linux/Pigeon Point pseudo-header"),
DLT_CHOICE(IEEE802_15_4_NONASK_PHY, "IEEE 802.15.4 with non-ASK PHY data"),
DLT_CHOICE(MPLS, "MPLS with label as link-layer header"),
DLT_CHOICE(LINUX_EVDEV, "Linux evdev events"),
*/
/*
- * IPMB with a Linux-specific pseudo-header; as requested by Alexey Neyman
+ * I2C with a Linux-specific pseudo-header; as requested by Alexey Neyman
*/
-#define DLT_IPMB_LINUX 209
+#define DLT_I2C_LINUX 209
+
+/*
+ * This was renamed as it's also used for other protocols, such as
+ * Display Data Channel as used by HDMI.
+ *
+ * We still define DLT_IPMB_LINUX for backwards source compatibility.
+ */
+#define DLT_IPMB_LINUX DLT_I2C_LINUX
/*
* FlexRay automotive bus - http://www.flexray.com/ - as requested