Skip to content

Commit

Permalink
Add LINKTYPE_IPMI_HPM_2/DLT_IPMI_HPM_2.
Browse files Browse the repository at this point in the history
  • Loading branch information
guyharris committed Jun 9, 2014
1 parent 7818d4e commit c71f77c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion pcap-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 7 additions & 1 deletion pcap/bpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c71f77c

Please sign in to comment.