[PFCP] updated Report Type IE

Added Bit 4 – UPIR (User Plane Inactivity Report)

Change-Id: Ic39161dab608252386fcac350ca2c93991ef6f6f
Reviewed-on: https://code.wireshark.org/review/26155
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Joakim Karlsson 2018-02-27 22:47:17 +01:00 committed by Michael Mann
parent 2024eb1fbc
commit 7a79a6019e
1 changed files with 9 additions and 2 deletions

View File

@ -219,6 +219,7 @@ static int hf_pfcp_ul_gbr = -1;
static int hf_pfcp_dl_gbr = -1;
static int hf_pfcp_report_type = -1;
static int hf_pfcp_report_type_b3_upir = -1;
static int hf_pfcp_report_type_b2_erir = -1;
static int hf_pfcp_report_type_b1_usar = -1;
static int hf_pfcp_report_type_b0_dldr = -1;
@ -1304,13 +1305,14 @@ dissect_pfcp_report_type(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, pr
int offset = 0;
static const int * pfcp_report_type_flags[] = {
&hf_pfcp_spare_b7_b3,
&hf_pfcp_spare_b7_b4,
&hf_pfcp_report_type_b3_upir,
&hf_pfcp_report_type_b2_erir,
&hf_pfcp_report_type_b1_usar,
&hf_pfcp_report_type_b0_dldr,
NULL
};
/* Octet 5 Spare ERIR USAR DLDR */
/* Octet 5 Spare UPIR ERIR USAR DLDR */
proto_tree_add_bitmask_with_flags(tree, tvb, offset, hf_pfcp_report_type,
ett_pfcp_report_type, pfcp_report_type_flags, ENC_BIG_ENDIAN, BMT_NO_FALSE | BMT_NO_INT);
offset += 1;
@ -4840,6 +4842,11 @@ proto_register_pfcp(void)
FT_UINT8, BASE_HEX, NULL, 0x0,
NULL, HFILL }
},
{ &hf_pfcp_report_type_b3_upir,
{ "UPIR (User Plane Inactivity Report)", "pfcp.report_type.upir",
FT_BOOLEAN, 8, NULL, 0x08,
NULL, HFILL }
},
{ &hf_pfcp_report_type_b2_erir,
{ "ERIR (Error Indication Report)", "pfcp.report_type.erir",
FT_BOOLEAN, 8, NULL, 0x04,