aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy>2006-11-27 18:36:57 +0000
committerguy <guy>2006-11-27 18:36:57 +0000
commit78ca8b4d495511c82362a586dc55e8206f2b196e (patch)
tree28f65808fa9cfe762b86259ef04208f1f7e4304e
parentfb91ad681fd013623790b73a053f46bd653ccde6 (diff)
Add a LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
-rw-r--r--savefile.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/savefile.c b/savefile.c
index 232a84a..83305b5 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.147 2006-10-13 08:46:23 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.148 2006-11-27 18:36:57 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -471,6 +471,12 @@ static const char rcsid[] _U_ =
#define LINKTYPE_BLUETOOTH_HCI_H4 187
/*
+ * IEEE 802.16 MAC Common Part Sublayer; requested by Maria Cruz
+ * <cruz_petagay@bah.com>.
+ */
+#define LINKTYPE_IEEE802_16_MAC_CPS 188
+
+/*
* Controller Area Network (CAN) v. 2.0B packets.
* DLT_ requested by Gianluca Varenni <gianluca.varenni@cacetech.com>.
* Used to dump CAN packets coming from a CAN Vector board.
@@ -702,6 +708,9 @@ static struct linktype_map {
/* Bluetooth HCI UART transport layer */
{ DLT_BLUETOOTH_HCI_H4, LINKTYPE_BLUETOOTH_HCI_H4 },
+ /* IEEE 802.16 MAC Common Part Sublayer */
+ { DLT_IEEE802_16_MAC_CPS, LINKTYPE_IEEE802_16_MAC_CPS },
+
/* Controller Area Network (CAN) v2.0B */
{ DLT_CAN20B, LINKTYPE_CAN20B },