diff options
author | Anders Broman <anders.broman@ericsson.com> | 2019-10-08 09:47:43 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-10-08 08:19:40 +0000 |
commit | b6f78f45b52d6c136d26427fe89d059c145c1f92 (patch) | |
tree | c98bfa4ee3526258440b76d665b080fb19baabda | |
parent | dbf3cdcc3f3e83f0086b2615b63a94783aca1b43 (diff) |
GTPv2: Add basic dissection for Monitoring Event Extension Information
Change-Id: Ic3bd56d383840e3cf9521feb77a7d6bfbdc50aa4
Reviewed-on: https://code.wireshark.org/review/34729
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-gtpv2.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c index c54123bfbe..f47ef6e45a 100644 --- a/epan/dissectors/packet-gtpv2.c +++ b/epan/dissectors/packet-gtpv2.c @@ -1202,7 +1202,7 @@ static gint ett_gtpv2_ies[NUM_GTPV2_IES]; #define GTPV2_IE_MAX_PKT_LOSS_RTE 203 #define GTPV2_IE_APN_RTE_CNTRL_STATUS 204 #define GTPV2_IE_EXT_TRS_INF 205 - +#define GTPV2_IE_MON_EVENT_EXT_INF 206 /* 203 to 253 Spare. For future use. 254 Special IE type for IE Type Extension @@ -1387,6 +1387,7 @@ static const value_string gtpv2_element_type_vals[] = { {203, "Maximum Packet Loss Rate" }, /* Extendable / 8.134 */ {204, "APN Rate Control Status" }, /* Extendable / 8.135 */ {205, "Extended Trace Information" }, /* Extendable / 8.136 */ + {206, "Monitoring Event Extension Information" }, /* Extendable / 8.137 */ /* 206 to 254 Spare. For future use. */ {255, "Private Extension"}, /* Variable Length / 8.67 */ {0, NULL} @@ -7843,6 +7844,14 @@ dissect_gtpv2_ext_trs_inf(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tre } } +/* 8.137 Monitoring Event Extension Information */ +static void +dissect_gtpv2_ie_mon_event_ext_inf(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, proto_item* item _U_, guint16 length, guint8 message_type _U_, guint8 instance _U_, session_args_t* args _U_) +{ + proto_tree_add_expert(tree, pinfo, &ei_gtpv2_ie_data_not_dissected, tvb, 0, length); +} + + /* Table 8.1-1: Information Element types for GTPv2 */ typedef struct _gtpv2_ie { @@ -8005,6 +8014,7 @@ static const gtpv2_ie_t gtpv2_ies[] = { {GTPV2_IE_MAX_PKT_LOSS_RTE, dissect_gtpv2_max_pkt_loss_rte }, /* 203, 8.134 Maximum Packet Loss Rate */ {GTPV2_IE_APN_RTE_CNTRL_STATUS, dissect_gtpv2_apn_rte_cntrl_status }, /* 204, 8.135 APN Rate Control Status */ {GTPV2_IE_EXT_TRS_INF, dissect_gtpv2_ext_trs_inf }, /* 205, 8.136 Extended Trace Information */ + {GTPV2_IE_MON_EVENT_EXT_INF, dissect_gtpv2_ie_mon_event_ext_inf }, /* 206, 8.136 Monitoring Event Extension Information */ {GTPV2_IE_PRIVATE_EXT, dissect_gtpv2_private_ext}, |