aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorBruno Verstuyft <bruno.verstuyft@excentis.com>2018-02-13 11:45:41 +0100
committerAnders Broman <a.broman58@gmail.com>2018-02-13 20:32:58 +0000
commit6a910946cd5f921500abe806621407fd5086398f (patch)
tree4d1db2188b8367c5b2513b011544d05e1da7bc20 /wiretap
parent9eee872f8aaa7d50205983b3ce1c892c49389d6e (diff)
Added dissector for Excentis DOCSIS31 XRA header. DLT 273. Builtin version.
Change-Id: I7d4a9cf094e8ae6af05d5599489fc609456c5645 Reviewed-on: https://code.wireshark.org/review/25768 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/pcap-common.c3
-rw-r--r--wiretap/wtap.c4
-rw-r--r--wiretap/wtap.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/wiretap/pcap-common.c b/wiretap/pcap-common.c
index d0aedb3e68..b401254390 100644
--- a/wiretap/pcap-common.c
+++ b/wiretap/pcap-common.c
@@ -455,6 +455,9 @@ static const struct {
/* Nordic BLE Sniffer */
{ 272, WTAP_ENCAP_NORDIC_BLE },
+ /* DOCSIS31 XRA31 Sniffer */
+ { 273, WTAP_ENCAP_DOCSIS31_XRA31 },
+
/* mPackets as specified by 802.3br */
{ 274, WTAP_ENCAP_ETHERNET_MPACKET },
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index 7c61cfd2f5..2853923a72 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -907,6 +907,10 @@ static struct encap_type_info encap_table_base[] = {
/* WTAP_ENCAP_MA_WFP_CAPTURE_AUTH_V6 */
{ "Message Analyzer WFP Capture Auth v6", "message_analyzer_wfp_capture_auth_v6" },
+
+ /* WTAP_ENCAP_DOCSIS31_XRA31 */
+ { "DOCSIS31 XRA31", "docsis31_xra31" },
+
};
WS_DLL_LOCAL
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 2072caf05c..d2e328dfaa 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -278,6 +278,7 @@ extern "C" {
#define WTAP_ENCAP_MA_WFP_CAPTURE_AUTH_V6 196
#define WTAP_ENCAP_JUNIPER_ST 197
#define WTAP_ENCAP_ETHERNET_MPACKET 198
+#define WTAP_ENCAP_DOCSIS31_XRA31 199
/* After adding new item here, please also add new item to encap_table_base array */