diff --git a/pcap/bpf.h b/pcap/bpf.h index e1194bb..b0700f0 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -850,6 +850,12 @@ struct bpf_version { */ #define DLT_USB_LINUX_MMAPPED 220 +/* + * DECT packets, with a pseudo-header; requested by + * Matthias Wenzel . + */ +#define DLT_DECT 221 + /* * DLT and savefile link type values are split into a class and 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 . + */ +#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 } };