3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
9 #include "packet-gtp.h"
11 extern void dissect_gtpv2_ie_common(tvbuff_t
* tvb
, packet_info
* pinfo _U_
, proto_tree
* tree
, int offset
, uint8_t message_type
, session_args_t
* args
, uint8_t parent_ie
);
13 extern void dissect_gtpv2_apn(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
14 extern void dissect_gtpv2_ambr(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item _U_
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
15 extern void dissect_gtpv2_paa(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item _U_
, uint16_t length
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
16 extern void dissect_gtpv2_bearer_qos(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item _U_
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
17 extern void dissect_gtpv2_uli(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, proto_item
*item
, uint16_t length
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
18 extern void dissect_gtpv2_mei(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item
, uint16_t length
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
19 extern void dissect_gtpv2_mbms_service_area(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
20 extern void dissect_gtpv2_mbms_session_duration(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item _U_
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
21 extern void dissect_gtpv2_mbms_time_to_data_xfer(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
22 extern void dissect_gtpv2_arp(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item _U_
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
23 extern void dissect_gtpv2_fq_csid(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, proto_item
*item _U_
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
24 extern void dissect_gtpv2_selec_mode(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
25 extern void dissect_gtpv2_epc_timer(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
26 extern void dissect_gtpv2_twan_identifier(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, proto_item
*item _U_
, uint16_t length _U_
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
27 extern void dissect_gtpv2_ind(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, proto_item
*item _U_
, uint16_t length
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
28 /*Used by custom dissector*/
29 extern char* dissect_gtpv2_tai(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, int *offset
, bool is_5gs
);
30 int dissect_diameter_3gpp_uli(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data
);
31 extern void dissect_gtpv2_pdn_type(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, proto_item
*item
, uint16_t length
, uint8_t message_type _U_
, uint8_t instance _U_
, session_args_t
* args _U_
);
33 extern value_string_ext gtpv2_cause_vals_ext
;
34 extern value_string_ext gtpv2_rat_type_vals_ext
;
35 extern value_string_ext gtpv2_pdn_type_vals_ext
;
37 typedef struct _gtpv2_priv_ext_info
{
40 } gtpv2_priv_ext_info_t
;