summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2023-02-26 14:51:36 +0000
committerDenis Ovsienko <denis@ovsienko.info>2023-02-26 14:51:36 +0000
commitc7cd0a19f19145157cc8c3b03d32efac9f379104 (patch)
treea768939b4c0b6e0f63064695d4f862321c32094a
parent98b0a25b92c09850079325d780ef521b8ed6453e (diff)
downloadlibpcap-c7cd0a19f19145157cc8c3b03d32efac9f379104.tar.gz
Add (LINKTYPE|DLT)_SILABS_DEBUG_CHANNEL. [skip ci]
See tcpdump-htdocs pull request 27.
-rw-r--r--CHANGES1
-rw-r--r--pcap-common.c7
-rw-r--r--pcap/dlt.h7
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
@@ -1604,6 +1604,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,
* with a different value (perhaps because that OS hasn't picked up
@@ -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) */