From: Guy Harris Date: Mon, 9 Jun 2014 07:34:55 +0000 (-0700) Subject: Add LINKTYPE_IPMI_HPM_2/DLT_IPMI_HPM_2. X-Git-Tag: libpcap-1.6.0-bp~5 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/c71f77c657dc3e23bb42298843ab5d682b3daad2 Add LINKTYPE_IPMI_HPM_2/DLT_IPMI_HPM_2. --- diff --git a/pcap-common.c b/pcap-common.c index b4f09093..a68e0322 100644 --- a/pcap-common.c +++ b/pcap-common.c @@ -988,7 +988,13 @@ */ #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; diff --git a/pcap/bpf.h b/pcap/bpf.h index 983a8233..ff88fd0f 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -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