NAS-5GS: Dissect Packet filter contents Single remote port type.

Change-Id: I77c79d477af3575428d9d6816f07b54c3302b513
Reviewed-on: https://code.wireshark.org/review/32496
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:
Anders Broman 2019-03-21 10:59:42 +01:00 committed by Anders Broman
parent c7c3e31772
commit b780bb19bd
1 changed files with 13 additions and 0 deletions

View File

@ -327,6 +327,8 @@ static int hf_nas_5gs_acces_tech_o2_b5 = -1;
static int hf_nas_5gs_acces_tech_o2_b4 = -1;
static int hf_nas_5gs_acces_tech_o2_b3 = -1;
static int hf_nas_5gs_acces_tech_o2_b2 = -1;
static int hf_nas_5gs_single_port_type = -1;
static expert_field ei_nas_5gs_extraneous_data = EI_INIT;
static expert_field ei_nas_5gs_unknown_pd = EI_INIT;
@ -2985,6 +2987,12 @@ de_nas_5gs_sm_qos_rules(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
curr_offset++;
pfc_len = 1;
break;
case 80:
/* Single remote port type */
proto_tree_add_item(sub_tree3, hf_nas_5gs_single_port_type, tvb, curr_offset, 2, ENC_BIG_ENDIAN);
curr_offset += 2;
pfc_len = 2;
break;
default:
proto_tree_add_expert(sub_tree3, pinfo, &ei_nas_5gs_not_diss, tvb, curr_offset, pf_len);
curr_offset += pf_len;
@ -6792,6 +6800,11 @@ proto_register_nas_5gs(void)
FT_BOOLEAN, 8, TFS(&tfs_selected_not_selected), 0x04,
NULL, HFILL }
},
{ &hf_nas_5gs_single_port_type,
{ "Port number", "nas_5gs.port_type",
FT_UINT16, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
};
guint i;