dect
/
libpcap
Archived
13
0
Fork 0

Add a linktype for DECT packets, requested by Matthias Wenzel.

This commit is contained in:
Guy Harris 2009-04-19 15:52:03 -07:00
parent 664e4a16bb
commit 2b2d78a031
2 changed files with 15 additions and 0 deletions

View File

@ -850,6 +850,12 @@ struct bpf_version {
*/
#define DLT_USB_LINUX_MMAPPED 220
/*
* DECT packets, with a pseudo-header; requested by
* Matthias Wenzel <tcpdump@mazzoo.de>.
*/
#define DLT_DECT 221
/*
* DLT and savefile link type values are split into a class and

View File

@ -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 }
};