diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2023-02-19 20:21:32 +0000 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2023-02-19 20:21:32 +0000 |
commit | 2f45949a459252ac5abfbbc75ad58d7e3c3d559c (patch) | |
tree | b87a8d43dca14e3418c96a2d577aac2cfb130b12 | |
parent | 8e024a5f098627120b914128b7424bf1ed42446d (diff) | |
download | libpcap-2f45949a459252ac5abfbbc75ad58d7e3c3d559c.tar.gz |
Add LINKTYPE_ZWAVE_TAP/DLT_ZWAVE_TAP. [skip ci]
As discussed on tcpdump-workers@.
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | pcap-common.c | 9 | ||||
-rw-r--r-- | pcap/dlt.h | 9 |
3 files changed, 17 insertions, 2 deletions
@@ -13,6 +13,7 @@ DayOfTheWeek, Month DD, YYYY / The Tcpdump Group LINKTYPE_USB_2_0_FULL_SPEED/DLT_USB_2_0_FULL_SPEED, LINKTYPE_USB_2_0_HIGH_SPEED/DLT_USB_2_0_HIGH_SPEED Add LINKTYPE_AUERSWALD_LOG/DLT_AUERSWALD_LOG. + Add LINKTYPE_ZWAVE_TAP/DLT_ZWAVE_TAP. Packet filtering: Add support for Block Ack Req and Block Ack frame types (pull request #1039). diff --git a/pcap-common.c b/pcap-common.c index 7c521950..f8fe5bdb 100644 --- a/pcap-common.c +++ b/pcap-common.c @@ -1240,7 +1240,14 @@ */ #define LINKTYPE_AUERSWALD_LOG 296 -#define LINKTYPE_MATCHING_MAX 296 /* highest value in the "matching" range */ +/* + * Z-Wave TAP packets with a meta-data header + * https://gitlab.com/exegin/zwave-g9959-tap + * requested on tcpdump-workers@ + */ +#define LINKTYPE_ZWAVE_TAP 297 + +#define LINKTYPE_MATCHING_MAX 297 /* highest value in the "matching" range */ /* @@ -1597,6 +1597,13 @@ #define DLT_AUERSWALD_LOG 296 /* + * Z-Wave TAP packets with a meta-data header + * https://gitlab.com/exegin/zwave-g9959-tap + * requested on tcpdump-workers@ + */ +#define DLT_ZWAVE_TAP 297 + +/* * In case the code that includes this file (directly or indirectly) * has also included OS files that happen to define DLT_MATCHING_MAX, * with a different value (perhaps because that OS hasn't picked up @@ -1607,6 +1614,6 @@ #undef DLT_MATCHING_MAX #endif -#define DLT_MATCHING_MAX 296 /* highest value in the "matching" range */ +#define DLT_MATCHING_MAX 297 /* highest value in the "matching" range */ #endif /* !defined(lib_pcap_dlt_h) */ |