From c7cd0a19f19145157cc8c3b03d32efac9f379104 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Sun, 26 Feb 2023 14:51:36 +0000 Subject: Add (LINKTYPE|DLT)_SILABS_DEBUG_CHANNEL. [skip ci] See tcpdump-htdocs pull request 27. --- CHANGES | 1 + pcap-common.c | 7 ++++++- pcap/dlt.h | 7 ++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 1652c0c4..c8f61738 100644 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,7 @@ DayOfTheWeek, Month DD, YYYY / The Tcpdump Group 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. + Add LINKTYPE_SILABS_DEBUG_CHANNEL/DLT_SILABS_DEBUG_CHANNEL. 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 f8fe5bdb..d1c12676 100644 --- a/pcap-common.c +++ b/pcap-common.c @@ -1247,7 +1247,12 @@ */ #define LINKTYPE_ZWAVE_TAP 297 -#define LINKTYPE_MATCHING_MAX 297 /* highest value in the "matching" range */ +/* + * Silicon Labs debug channel protocol: + */ +#define LINKTYPE_SILABS_DEBUG_CHANNEL 298 + +#define LINKTYPE_MATCHING_MAX 298 /* highest value in the "matching" range */ /* diff --git a/pcap/dlt.h b/pcap/dlt.h index 244379ff..e852b39b 100644 --- a/pcap/dlt.h +++ b/pcap/dlt.h @@ -1603,6 +1603,11 @@ */ #define DLT_ZWAVE_TAP 297 +/* + * Silicon Labs debug channel protocol: + */ +#define DLT_SILABS_DEBUG_CHANNEL 298 + /* * In case the code that includes this file (directly or indirectly) * has also included OS files that happen to define DLT_MATCHING_MAX, @@ -1614,6 +1619,6 @@ #undef DLT_MATCHING_MAX #endif -#define DLT_MATCHING_MAX 297 /* highest value in the "matching" range */ +#define DLT_MATCHING_MAX 298 /* highest value in the "matching" range */ #endif /* !defined(lib_pcap_dlt_h) */ -- cgit v1.2.1