Add a linktype for DECT packets, requested by Matthias Wenzel.
This commit is contained in:
parent
664e4a16bb
commit
2b2d78a031
|
@ -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
|
||||
|
|
|
@ -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 }
|
||||
};
|
||||
|
||||
|
|
Reference in New Issue