]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add a LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
authorguy <guy>
Mon, 27 Nov 2006 18:37:25 +0000 (18:37 +0000)
committerguy <guy>
Mon, 27 Nov 2006 18:37:25 +0000 (18:37 +0000)
savefile.c

index 5b164757fe60bfb78c1aed435231bccd16556695..f2fdf66948a258cf161a1eff88f79d53daec8ae2 100644 (file)
@@ -30,7 +30,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.126.2.18 2006-10-13 08:56:08 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.126.2.19 2006-11-27 18:37:25 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -470,6 +470,12 @@ static const char rcsid[] _U_ =
  */
 #define LINKTYPE_BLUETOOTH_HCI_H4      187
 
+/*
+ * IEEE 802.16 MAC Common Part Sublayer; requested by Maria Cruz
+ */
+#define LINKTYPE_IEEE802_16_MAC_CPS    188
+
 /*
  * Controller Area Network (CAN) v. 2.0B packets.
  * DLT_ requested by Gianluca Varenni <[email protected]>.
@@ -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 },