aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dvb-s2-bb.c
diff options
context:
space:
mode:
authorAdrien Destugues <adrien.destugues@opensource.viveris.fr>2020-07-02 15:51:06 +0200
committerAnders Broman <a.broman58@gmail.com>2020-07-03 10:08:52 +0000
commitf5d08e31c8d5141afb293f207e679a3cf8b0d415 (patch)
treecfeecf4114117d9fb414633f3a142c5ff5f57ddf /epan/dissectors/packet-dvb-s2-bb.c
parent73d1721db60d7d5e75f7e6b606e835e098e28dd3 (diff)
DVB-S2: show raw bbframe data when it is not dissected
Change-Id: Ibdd42d971a1ec7815fcf3467802ff2010d8c498b Reviewed-on: https://code.wireshark.org/review/37672 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dvb-s2-bb.c')
-rw-r--r--epan/dissectors/packet-dvb-s2-bb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dvb-s2-bb.c b/epan/dissectors/packet-dvb-s2-bb.c
index 03d9030dd3..69ca4b7555 100644
--- a/epan/dissectors/packet-dvb-s2-bb.c
+++ b/epan/dissectors/packet-dvb-s2-bb.c
@@ -110,6 +110,7 @@ static int hf_dvb_s2_bb_sync = -1;
static int hf_dvb_s2_bb_syncd = -1;
static int hf_dvb_s2_bb_crc = -1;
static int hf_dvb_s2_bb_crc_status = -1;
+static int hf_dvb_s2_bb_df = -1;
static int hf_dvb_s2_bb_eip_crc32 = -1;
static int hf_dvb_s2_bb_packetized = -1;
@@ -1221,6 +1222,9 @@ static int dissect_dvb_s2_bb(tvbuff_t *tvb, int cur_off, proto_tree *tree, packe
}
}
}
+ } else {
+ proto_tree_add_item(dvb_s2_bb_tree, hf_dvb_s2_bb_df, tvb, cur_off + new_off, bb_data_len, ENC_NA);
+ new_off += bb_data_len;
}
break;
@@ -1519,6 +1523,11 @@ void proto_register_dvb_s2_modeadapt(void)
FT_BYTES, BASE_NONE, NULL, 0x0,
"Stream of an unknown reserved type", HFILL}
},
+ {&hf_dvb_s2_bb_df, {
+ "BBFrame user data", "dvb-s2_bb.df",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
{&hf_dvb_s2_bb_eip_crc32, {
"EIP CRC32", "dvb-s2_bb.eip_crc32",
FT_UINT32, BASE_HEX, NULL, 0x0,