aboutsummaryrefslogtreecommitdiffstats
path: root/savefile.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@steve.local>2009-04-19 15:52:03 -0700
committerGuy Harris <gharris@steve.local>2009-04-19 15:52:03 -0700
commit2b2d78a0318f3a660278cdd8806ebaf58837a12b (patch)
tree0c5ce4a58992aa1a61a8deb46e4174cc45b81bfa /savefile.c
parent664e4a16bb0489ca6e9d8c7adfa4f5e9d9d19bd2 (diff)
Add a linktype for DECT packets, requested by Matthias Wenzel.
Diffstat (limited to 'savefile.c')
-rw-r--r--savefile.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/savefile.c b/savefile.c
index d51097e..c65858c 100644
--- a/savefile.c
+++ b/savefile.c
@@ -676,6 +676,12 @@ static const char rcsid[] _U_ =
*/
#define LINKTYPE_USB_LINUX_MMAPPED 220
+/*
+ * DECT packets, with a pseudo-header; requested by
+ * Matthias Wenzel <tcpdump@mazzoo.de>.
+ */
+#define LINKTYPE_DECT 221
+
static struct linktype_map {
int dlt;
@@ -997,6 +1003,9 @@ static struct linktype_map {
/* USB with padded Linux header */
{ DLT_USB_LINUX_MMAPPED, LINKTYPE_USB_LINUX_MMAPPED },
+ /* DECT packets with a pseudo-header */
+ { DLT_DECT, LINKTYPE_DECT },
+
{ -1, -1 }
};