From 4427ebae838ba0209e56bd91edff72ace4422eea Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 14 Aug 2007 20:56:01 +0000 Subject: Add DLT value for IPMI IPMB packets, beginning with the I2C slave address, followed by the netFn and LUN, etc.. Requested by Chanthy Toeung. --- savefile.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'savefile.c') diff --git a/savefile.c b/savefile.c index 9860dad..fbb80a7 100644 --- a/savefile.c +++ b/savefile.c @@ -30,7 +30,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.161 2007-08-13 16:51:41 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.162 2007-08-14 20:56:01 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -545,6 +545,13 @@ static const char rcsid[] _U_ = */ #define LINKTYPE_RAIF1 198 +/* + * IPMB packet for IPMI, beginning with the I2C slave address, followed + * by the netFn and LUN, etc.. Requested by Chanthy Toeung + * . + */ +#define LINKTYPE_IPMB 199 + static struct linktype_map { int dlt; @@ -802,6 +809,9 @@ static struct linktype_map { /* Special header for u10 Networks boards */ { DLT_RAIF1, LINKTYPE_RAIF1 }, + /* IPMB */ + { DLT_IPMB, LINKTYPE_IPMB }, + { -1, -1 } }; -- cgit v1.2.3