forked from osmocom/wireshark
GTP: Add Extended Commong Flags IE
from https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1595 Fix #17855
This commit is contained in:
parent
6d5a961414
commit
7843c1fa89
|
@ -272,6 +272,13 @@ static int hf_gtp_earp_pci = -1;
|
|||
static int hf_gtp_earp_pl = -1;
|
||||
static int hf_gtp_earp_pvi = -1;
|
||||
static int hf_gtp_ext_comm_flags_uasi = -1;
|
||||
static int hf_gtp_ext_comm_flags_bdwi = -1;
|
||||
static int hf_gtp_ext_comm_flags_pcri = -1;
|
||||
static int hf_gtp_ext_comm_flags_vb = -1;
|
||||
static int hf_gtp_ext_comm_flags_retloc = -1;
|
||||
static int hf_gtp_ext_comm_flags_cpsr = -1;
|
||||
static int hf_gtp_ext_comm_flags_ccrsi = -1;
|
||||
static int hf_gtp_ext_comm_flags_unauthenticated_imsi = -1;
|
||||
static int hf_gtp_ext_comm_flags_II_pnsi = -1;
|
||||
static int hf_gtp_ext_comm_flags_II_dtci = -1;
|
||||
static int hf_gtp_ext_comm_flags_II_pmtsmi = -1;
|
||||
|
@ -8001,6 +8008,13 @@ decode_gtp_extended_common_flgs(tvbuff_t * tvb, int offset, packet_info * pinfo
|
|||
offset = offset + 2;
|
||||
|
||||
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_uasi, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_bdwi, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_pcri, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_vb, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_retloc, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_cpsr, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_ccrsi, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(ext_tree, hf_gtp_ext_comm_flags_unauthenticated_imsi, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
offset++;
|
||||
|
||||
if(length > 1){
|
||||
|
@ -10964,10 +10978,45 @@ proto_register_gtp(void)
|
|||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_uasi,
|
||||
{ "UASI", "gtp.ext_comm_flags_uasi",
|
||||
{ "UASI", "gtp.ext_comm_flags.uasi",
|
||||
FT_BOOLEAN, 8, NULL, 0x80,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_bdwi,
|
||||
{ "BDWI", "gtp.ext_comm_flags.bdwi",
|
||||
FT_BOOLEAN, 8, NULL, 0x40,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_pcri,
|
||||
{ "PCRI", "gtp.ext_comm_flags.pcri",
|
||||
FT_BOOLEAN, 8, NULL, 0x20,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_vb,
|
||||
{ "VB", "gtp.ext_comm_flags.vb",
|
||||
FT_BOOLEAN, 8, NULL, 0x10,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_retloc,
|
||||
{ "RetLoc", "gtp.ext_comm_flags.retloc",
|
||||
FT_BOOLEAN, 8, NULL, 0x08,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_cpsr,
|
||||
{ "CPSR", "gtp.ext_comm_flags.cpsr",
|
||||
FT_BOOLEAN, 8, NULL, 0x04,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_ccrsi,
|
||||
{ "CCRSI", "gtp.ext_comm_flags.ccrsi",
|
||||
FT_BOOLEAN, 8, NULL, 0x02,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_unauthenticated_imsi,
|
||||
{ "Unauthenticated IMSI", "gtp.ext_comm_flags.unauthenticated_imsi",
|
||||
FT_BOOLEAN, 8, NULL, 0x01,
|
||||
NULL, HFILL}
|
||||
},
|
||||
{&hf_gtp_ext_comm_flags_II_pnsi,
|
||||
{ "PNSI", "gtp.ext_comm_flags_II_pnsi",
|
||||
FT_UINT8, BASE_DEC, NULL, 0x01,
|
||||
|
|
Loading…
Reference in New Issue