aboutsummaryrefslogtreecommitdiffstats
path: root/savefile.c
diff options
context:
space:
mode:
authorguy <guy>2007-05-04 09:46:55 +0000
committerguy <guy>2007-05-04 09:46:55 +0000
commitb9641d7aed9f38d2db75d63034c495deb476eb50 (patch)
tree164ccbe1f505f7791c47b45a13f0d6bcec503586 /savefile.c
parentd88c8e4d8e192c0149acb0beed7e4218514ff584 (diff)
Header for 802.16 MAC Common Part Sublayer plus a radiotap radio header;
requested by Charles Clancy.
Diffstat (limited to 'savefile.c')
-rw-r--r--savefile.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/savefile.c b/savefile.c
index 6758c18..7b37bea 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.154 2007-04-19 18:33:53 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.155 2007-05-04 09:46:55 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -505,6 +505,12 @@ static const char rcsid[] _U_ =
*/
#define LINKTYPE_PPI 192
+/*
+ * Header for 802.16 MAC Common Part Sublayer plus a radiotap radio header;
+ * requested by Charles Clancy.
+ */
+#define LINKTYPE_IEEE802_16_MAC_CPS_RADIO 193
+
static struct linktype_map {
int dlt;
int linktype;
@@ -743,6 +749,9 @@ static struct linktype_map {
/* Per Packet Information encapsulated packets */
{ DLT_PPI, LINKTYPE_PPI },
+ /* IEEE 802.15 MAC Common Part Sublayer plus radiotap header */
+ { DLT_IEEE802_16_MAC_CPS_RADIO, LINKTYPE_IEEE802_16_MAC_CPS_RADIO },
+
{ -1, -1 }
};