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>
This commit is contained in:
Adrien Destugues 2020-07-02 15:51:06 +02:00 committed by Anders Broman
parent 73d1721db6
commit f5d08e31c8
1 changed files with 9 additions and 0 deletions

View File

@ -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,