]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add LINKTYPE_IPMI_HPM_2/DLT_IPMI_HPM_2.
authorGuy Harris <[email protected]>
Mon, 9 Jun 2014 07:34:55 +0000 (00:34 -0700)
committerGuy Harris <[email protected]>
Mon, 9 Jun 2014 07:34:55 +0000 (00:34 -0700)
pcap-common.c
pcap/bpf.h

index b4f0909316c795bd46c63d091a57a4a054a753d5..a68e03221528905fe9c167347b6ddc3e0f2d7113 100644 (file)
  */
 #define LINKTYPE_EPON          259
 
-#define LINKTYPE_MATCHING_MAX  259             /* highest value in the "matching" range */
+/*
+ * IPMI trace packets, as specified by Table 3-20 "Trace Data Block Format"
+ * in the PICMG HPM.2 specification.
+ */
+#define LINKTYPE_IPMI_HPM_2    260
+
+#define LINKTYPE_MATCHING_MAX  260             /* highest value in the "matching" range */
 
 static struct linktype_map {
        int     dlt;
index 983a823323e43987a8d6dbbaac6902deb2df1482..ff88fd0f4fa70943a1dc556f409ff8e04af8e08e 100644 (file)
@@ -1305,7 +1305,13 @@ struct bpf_program {
  */
 #define DLT_EPON       259
 
-#define DLT_MATCHING_MAX       259     /* highest value in the "matching" range */
+/*
+ * IPMI trace packets, as specified by Table 3-20 "Trace Data Block Format"
+ * in the PICMG HPM.2 specification.
+ */
+#define DLT_IPMI_HPM_2 260
+
+#define DLT_MATCHING_MAX       260     /* highest value in the "matching" range */
 
 /*
  * DLT and savefile link type values are split into a class and