1 /* packet-diameter_3gpp.c
2 * Routines for dissecting 3GPP OctetSting AVP:s
3 * Copyright 2008, Anders Broman <anders.broman[at]ericsson.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 /* This dissector registers a dissector table for 3GPP Vendor specific
13 * AVP:s which will be called from the Diameter dissector to dissect
14 * the content of AVP:s of the OctetString type(or similar).
19 #include <epan/packet.h>
20 #include <epan/expert.h>
21 #include <epan/asn1.h>
24 #include "packet-diameter.h"
25 #include "packet-diameter_3gpp.h"
26 #include "packet-gsm_a_common.h"
27 #include "packet-gtpv2.h"
28 #include "packet-e164.h"
29 #include "packet-e212.h"
30 #include "packet-s1ap.h"
31 #include "packet-sip.h"
32 #include "packet-lcsap.h"
34 void proto_register_diameter_3gpp(void);
35 void proto_reg_handoff_diameter_3gpp(void);
37 static expert_field ei_diameter_3gpp_plmn_id_wrong_len
;
39 /* Initialize the protocol and registered fields */
40 static int proto_diameter_3gpp
;
42 static int hf_diameter_3gpp_timezone
;
43 static int hf_diameter_3gpp_timezone_adjustment
;
44 static int hf_diameter_3gpp_rat_type
;
45 static int hf_diameter_3gpp_path
;
46 static int hf_diameter_3gpp_contact
;
47 /* static int hf_diameter_3gpp_user_data; */
48 static int hf_diameter_3gpp_ipaddr
;
49 static int hf_diameter_3gpp_mbms_required_qos_prio
;
50 static int hf_diameter_3gpp_tmgi
;
51 static int hf_diameter_3gpp_req_nodes
;
52 static int hf_diameter_3gpp_req_nodes_bit0
;
53 static int hf_diameter_3gpp_req_nodes_bit1
;
54 static int hf_diameter_3gpp_req_nodes_bit2
;
55 static int hf_diameter_3gpp_req_nodes_bit3
;
56 static int hf_diameter_mbms_service_id
;
57 static int hf_diameter_3gpp_spare_bits
;
58 static int hf_diameter_3gpp_uar_flags_flags
;
59 static int hf_diameter_3gpp_uar_flags_flags_bit0
;
60 static int hf_diameter_3gpp_feature_list_flags
;
61 static int hf_diameter_3gpp_cx_feature_list_flags
;
62 static int hf_diameter_3gpp_cx_feature_list_1_flags_bit0
;
63 static int hf_diameter_3gpp_cx_feature_list_1_flags_bit1
;
64 static int hf_diameter_3gpp_cx_feature_list_1_flags_bit2
;
65 static int hf_diameter_3gpp_cx_feature_list_1_flags_bit3
;
66 static int hf_diameter_3gpp_cx_feature_list_1_flags_spare_bits
;
67 static int hf_diameter_3gpp_feature_list1_sh_flags_bit0
;
68 static int hf_diameter_3gpp_feature_list1_sh_flags_bit1
;
69 static int hf_diameter_3gpp_feature_list1_sh_flags_bit2
;
70 static int hf_diameter_3gpp_feature_list1_sh_flags_bit3
;
71 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit0
;
72 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit1
;
73 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit2
;
74 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit3
;
75 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit4
;
76 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit5
;
77 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit6
;
78 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit7
;
79 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit8
;
80 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit9
;
81 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit10
;
82 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit11
;
83 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit12
;
84 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit13
;
85 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit14
;
86 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit15
;
87 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit16
;
88 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit17
;
89 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit18
;
90 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit19
;
91 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit20
;
92 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit21
;
93 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit22
;
94 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit23
;
95 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit24
;
96 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit25
;
97 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit26
;
98 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit27
;
99 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit28
;
100 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit29
;
101 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit30
;
102 static int hf_diameter_3gpp_feature_list1_s6a_flags_bit31
;
103 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit0
;
104 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit1
;
105 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit2
;
106 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit3
;
107 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit4
;
108 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit5
;
109 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit6
;
110 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit7
;
111 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit8
;
112 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit9
;
113 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit10
;
114 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit11
;
115 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit12
;
116 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit13
;
117 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit14
;
118 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit15
;
119 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit16
;
120 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit17
;
121 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit18
;
122 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit19
;
123 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit20
;
124 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit21
;
125 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit22
;
126 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit23
;
127 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit24
;
128 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit25
;
129 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit26
;
130 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit27
;
131 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit28
;
132 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit29
;
133 static int hf_diameter_3gpp_feature_list2_s6a_flags_bit30
;
134 static int hf_diameter_3gpp_feature_list_gx_flags
;
135 static int hf_diameter_3gpp_feature_list1_gx_flags_bit0
;
136 static int hf_diameter_3gpp_feature_list1_gx_flags_bit1
;
137 static int hf_diameter_3gpp_feature_list1_gx_flags_bit2
;
138 static int hf_diameter_3gpp_feature_list1_gx_flags_bit3
;
139 static int hf_diameter_3gpp_feature_list1_gx_flags_bit4
;
140 static int hf_diameter_3gpp_feature_list1_gx_flags_bit5
;
141 static int hf_diameter_3gpp_feature_list1_gx_flags_bit6
;
142 static int hf_diameter_3gpp_feature_list1_gx_flags_bit7
;
143 static int hf_diameter_3gpp_feature_list1_gx_flags_bit8
;
144 static int hf_diameter_3gpp_feature_list1_gx_flags_bit9
;
145 static int hf_diameter_3gpp_feature_list1_gx_flags_bit10
;
146 static int hf_diameter_3gpp_feature_list1_gx_flags_bit11
;
147 static int hf_diameter_3gpp_feature_list1_gx_flags_bit12
;
148 static int hf_diameter_3gpp_feature_list1_gx_flags_bit13
;
149 static int hf_diameter_3gpp_feature_list1_gx_flags_bit14
;
150 static int hf_diameter_3gpp_feature_list1_gx_flags_bit15
;
151 static int hf_diameter_3gpp_feature_list1_gx_flags_bit16
;
152 static int hf_diameter_3gpp_feature_list1_gx_flags_bit17
;
153 static int hf_diameter_3gpp_feature_list1_gx_flags_bit18
;
154 static int hf_diameter_3gpp_feature_list1_gx_flags_bit19
;
155 static int hf_diameter_3gpp_feature_list1_gx_flags_bit20
;
156 static int hf_diameter_3gpp_feature_list1_gx_flags_bit21
;
157 static int hf_diameter_3gpp_feature_list1_gx_flags_bit22
;
158 static int hf_diameter_3gpp_feature_list1_gx_flags_bit23
;
159 static int hf_diameter_3gpp_feature_list1_gx_flags_bit24
;
160 static int hf_diameter_3gpp_feature_list1_gx_flags_bit25
;
161 static int hf_diameter_3gpp_feature_list1_gx_flags_bit26
;
162 static int hf_diameter_3gpp_feature_list1_gx_flags_bit27
;
163 static int hf_diameter_3gpp_feature_list1_gx_flags_bit28
;
164 static int hf_diameter_3gpp_feature_list1_gx_flags_bit29
;
165 static int hf_diameter_3gpp_feature_list1_gx_flags_bit30
;
166 static int hf_diameter_3gpp_feature_list1_gx_flags_bit31
;
167 static int hf_diameter_3gpp_feature_list2_gx_flags_bit0
;
168 static int hf_diameter_3gpp_feature_list2_gx_flags_bit1
;
169 static int hf_diameter_3gpp_feature_list2_gx_flags_bit2
;
170 static int hf_diameter_3gpp_feature_list2_gx_flags_bit3
;
171 static int hf_diameter_3gpp_feature_list2_gx_flags_bit4
;
172 static int hf_diameter_3gpp_feature_list2_gx_flags_bit5
;
173 static int hf_diameter_3gpp_feature_list2_gx_flags_bit6
;
174 static int hf_diameter_3gpp_feature_list2_gx_flags_bit7
;
175 static int hf_diameter_3gpp_feature_list_sd_flags
;
176 static int hf_diameter_3gpp_feature_list_sd_flags_bit0
;
177 static int hf_diameter_3gpp_feature_list_sd_flags_bit1
;
178 static int hf_diameter_3gpp_feature_list_sd_flags_bit2
;
179 static int hf_diameter_3gpp_feature_list_sd_flags_bit3
;
180 static int hf_diameter_3gpp_feature_list_sd_flags_bit4
;
181 static int hf_diameter_3gpp_feature_list_sd_flags_bit5
;
182 static int hf_diameter_3gpp_feature_list_sd_flags_bit6
;
183 static int hf_diameter_3gpp_feature_list_sd_flags_bit7
;
184 static int hf_diameter_3gpp_feature_list_sd_flags_bit8
;
185 static int hf_diameter_3gpp_feature_list_sd_flags_bit9
;
186 static int hf_diameter_3gpp_feature_list_sd_flags_bit10
;
187 static int hf_diameter_3gpp_feature_list_sd_flags_spare_bits
;
188 static int hf_diameter_3gpp_cms_no_gyn_session_serv_not_allowed
;
189 static int hf_diameter_3gpp_cms_no_gyn_session_serv_allowed
;
190 static int hf_diameter_3gpp_cms_rating_failed
;
191 static int hf_diameter_3gpp_cms_user_unknown
;
192 static int hf_diameter_3gpp_cms_auth_rej
;
193 static int hf_diameter_3gpp_cms_credit_ctrl_not_applicable
;
194 static int hf_diameter_3gpp_cms_end_user_serv_status
;
195 static int hf_diameter_3gpp_qos_subscribed
;
196 static int hf_diameter_3gpp_qos_reliability_cls
;
197 static int hf_diameter_3gpp_qos_prec_class
;
198 static int hf_diameter_3gpp_qos_delay_cls
;
199 static int hf_diameter_3gpp_qos_peak_thr
;
200 static int hf_diameter_3gpp_qos_mean_thr
;
201 static int hf_diameter_3gpp_qos_al_ret_priority
;
202 static int hf_diameter_3gpp_qos_del_of_err_sdu
;
203 static int hf_diameter_3gpp_qos_del_order
;
204 static int hf_diameter_3gpp_qos_traffic_cls
;
205 static int hf_diameter_3gpp_qos_maximum_sdu_size
;
206 static int hf_diameter_3gpp_qos_max_bitrate_upl
;
207 static int hf_diameter_3gpp_qos_max_bitrate_downl
;
208 static int hf_diameter_3gpp_qos_sdu_err_rat
;
209 static int hf_diameter_3gpp_qos_ber
;
210 static int hf_diameter_3gpp_qos_traff_hdl_pri
;
211 static int hf_diameter_3gpp_qos_trans_delay
;
212 static int hf_diameter_3gpp_qos_guar_bitrate_upl
;
213 static int hf_diameter_3gpp_qos_guar_bitrate_downl
;
214 static int hf_diameter_3gpp_qos_source_stat_desc
;
215 static int hf_diameter_3gpp_qos_signalling_ind
;
216 static int hf_diameter_3gpp_qos_max_bitrate_downl_ext
;
217 static int hf_diameter_3gpp_qos_guar_bitrate_downl_ext
;
218 static int hf_diameter_3gpp_qos_max_bitrate_upl_ext
;
219 static int hf_diameter_3gpp_qos_guar_bitrate_upl_ext
;
220 static int hf_diameter_3gpp_qos_pre_emption_vulnerability
;
221 static int hf_diameter_3gpp_qos_priority_level
;
222 static int hf_diameter_3gpp_qos_pre_emption_capability
;
223 static int hf_diameter_3gpp_ulr_flags
;
224 static int hf_diameter_3gpp_ulr_flags_bit0
;
225 static int hf_diameter_3gpp_ulr_flags_bit1
;
226 static int hf_diameter_3gpp_ulr_flags_bit2
;
227 static int hf_diameter_3gpp_ulr_flags_bit3
;
228 static int hf_diameter_3gpp_ulr_flags_bit4
;
229 static int hf_diameter_3gpp_ulr_flags_bit5
;
230 static int hf_diameter_3gpp_ulr_flags_bit6
;
231 static int hf_diameter_3gpp_ulr_flags_bit7
;
232 static int hf_diameter_3gpp_ulr_flags_bit8
;
233 static int hf_diameter_3gpp_ula_flags
;
234 static int hf_diameter_3gpp_ula_flags_bit0
;
235 static int hf_diameter_3gpp_ula_flags_bit1
;
236 static int hf_diameter_3gpp_dsr_flags
;
237 static int hf_diameter_3gpp_dsr_flags_bit0
;
238 static int hf_diameter_3gpp_dsr_flags_bit1
;
239 static int hf_diameter_3gpp_dsr_flags_bit2
;
240 static int hf_diameter_3gpp_dsr_flags_bit3
;
241 static int hf_diameter_3gpp_dsr_flags_bit4
;
242 static int hf_diameter_3gpp_dsr_flags_bit5
;
243 static int hf_diameter_3gpp_dsr_flags_bit6
;
244 static int hf_diameter_3gpp_dsr_flags_bit7
;
245 static int hf_diameter_3gpp_dsr_flags_bit8
;
246 static int hf_diameter_3gpp_dsr_flags_bit9
;
247 static int hf_diameter_3gpp_dsr_flags_bit10
;
248 static int hf_diameter_3gpp_dsr_flags_bit11
;
249 static int hf_diameter_3gpp_dsr_flags_bit12
;
250 static int hf_diameter_3gpp_dsr_flags_bit13
;
251 static int hf_diameter_3gpp_dsr_flags_bit14
;
252 static int hf_diameter_3gpp_dsr_flags_bit15
;
253 static int hf_diameter_3gpp_dsr_flags_bit16
;
254 static int hf_diameter_3gpp_dsr_flags_bit17
;
255 static int hf_diameter_3gpp_dsr_flags_bit18
;
256 static int hf_diameter_3gpp_dsr_flags_bit19
;
257 static int hf_diameter_3gpp_dsr_flags_bit20
;
258 static int hf_diameter_3gpp_dsr_flags_bit21
;
259 static int hf_diameter_3gpp_dsr_flags_bit22
;
260 static int hf_diameter_3gpp_dsr_flags_bit23
;
261 static int hf_diameter_3gpp_dsr_flags_bit24
;
262 static int hf_diameter_3gpp_dsr_flags_bit25
;
263 static int hf_diameter_3gpp_dsr_flags_bit26
;
264 static int hf_diameter_3gpp_dsr_flags_bit27
;
265 static int hf_diameter_3gpp_dsr_flags_bit28
;
266 static int hf_diameter_3gpp_dsr_flags_bit29
;
267 static int hf_diameter_3gpp_dsr_flags_bit30
;
268 static int hf_diameter_3gpp_dsr_flags_bit31
;
269 static int hf_diameter_3gpp_dsa_flags
;
270 static int hf_diameter_3gpp_dsa_flags_bit0
;
271 static int hf_diameter_3gpp_ida_flags
;
272 static int hf_diameter_3gpp_ida_flags_bit0
;
273 static int hf_diameter_3gpp_pua_flags
;
274 static int hf_diameter_3gpp_pua_flags_bit0
;
275 static int hf_diameter_3gpp_pua_flags_bit1
;
276 static int hf_diameter_3gpp_nor_flags
;
277 static int hf_diameter_3gpp_nor_flags_bit0
;
278 static int hf_diameter_3gpp_nor_flags_bit1
;
279 static int hf_diameter_3gpp_nor_flags_bit2
;
280 static int hf_diameter_3gpp_nor_flags_bit3
;
281 static int hf_diameter_3gpp_nor_flags_bit4
;
282 static int hf_diameter_3gpp_nor_flags_bit5
;
283 static int hf_diameter_3gpp_nor_flags_bit6
;
284 static int hf_diameter_3gpp_nor_flags_bit7
;
285 static int hf_diameter_3gpp_nor_flags_bit8
;
286 static int hf_diameter_3gpp_nor_flags_bit9
;
287 static int hf_diameter_3gpp_idr_flags
;
288 static int hf_diameter_3gpp_idr_flags_bit0
;
289 static int hf_diameter_3gpp_idr_flags_bit1
;
290 static int hf_diameter_3gpp_idr_flags_bit2
;
291 static int hf_diameter_3gpp_idr_flags_bit3
;
292 static int hf_diameter_3gpp_idr_flags_bit4
;
293 static int hf_diameter_3gpp_idr_flags_bit5
;
294 static int hf_diameter_3gpp_idr_flags_bit6
;
295 static int hf_diameter_3gpp_idr_flags_bit7
;
296 static int hf_diameter_3gpp_idr_flags_bit8
;
297 static int hf_diameter_3gpp_ppr_flags
;
298 static int hf_diameter_3gpp_ppr_flags_bit0
;
299 static int hf_diameter_3gpp_ppr_flags_bit1
;
300 static int hf_diameter_3gpp_ppr_flags_bit2
;
301 static int hf_diameter_3gpp_ppr_flags_bit3
;
302 static int hf_diameter_3gpp_aaa_fail_flags
;
303 static int hf_diameter_3gpp_aaa_fail_flags_bit0
;
304 static int hf_diameter_3gpp_der_flags
;
305 static int hf_diameter_3gpp_der_flags_bit0
;
306 static int hf_diameter_3gpp_der_flags_bit1
;
307 static int hf_diameter_3gpp_dea_flags
;
308 static int hf_diameter_3gpp_dea_flags_bit0
;
309 static int hf_diameter_3gpp_dea_flags_bit1
;
310 static int hf_diameter_3gpp_rar_flags
;
311 static int hf_diameter_3gpp_rar_flags_bit0
;
312 static int hf_diameter_3gpp_rar_flags_bit1
;
313 static int hf_diameter_3gpp_der_s6b_flags
;
314 static int hf_diameter_3gpp_der_s6b_flags_bit0
;
315 static int hf_diameter_3gpp_ipv6addr
;
316 static int hf_diameter_3gpp_mbms_abs_time_ofmbms_data_tfer
;
317 static int hf_diameter_3gpp_udp_port
;
318 static int hf_diameter_3gpp_codec_data_dir
;
319 static int hf_diameter_3gpp_codec_sdp_type
;
320 static int hf_diameter_3gpp_af_requested_data_flags
;
321 static int hf_diameter_3gpp_af_requested_data_flags_bit0
;
322 static int hf_diameter_3gpp_mbms_bearer_event
;
323 static int hf_diameter_3gpp_mbms_bearer_event_bit0
;
324 static int hf_diameter_3gpp_mbms_bearer_event_bit1
;
325 static int hf_diameter_3gpp_mbms_bearer_event_bit2
;
326 static int hf_diameter_3gpp_mbms_bearer_result
;
327 static int hf_diameter_3gpp_mbms_bearer_result_bit0
;
328 static int hf_diameter_3gpp_mbms_bearer_result_bit1
;
329 static int hf_diameter_3gpp_mbms_bearer_result_bit2
;
330 static int hf_diameter_3gpp_mbms_bearer_result_bit3
;
331 static int hf_diameter_3gpp_mbms_bearer_result_bit4
;
332 static int hf_diameter_3gpp_mbms_bearer_result_bit5
;
333 static int hf_diameter_3gpp_mbms_bearer_result_bit6
;
334 static int hf_diameter_3gpp_mbms_bearer_result_bit7
;
335 static int hf_diameter_3gpp_mbms_bearer_result_bit8
;
336 static int hf_diameter_3gpp_mbms_bearer_result_bit9
;
337 static int hf_diameter_3gpp_mbms_bearer_result_bit10
;
338 static int hf_diameter_3gpp_mbms_bearer_result_bit11
;
339 static int hf_diameter_3gpp_tmgi_allocation_result
;
340 static int hf_diameter_3gpp_tmgi_allocation_result_bit0
;
341 static int hf_diameter_3gpp_tmgi_allocation_result_bit1
;
342 static int hf_diameter_3gpp_tmgi_allocation_result_bit2
;
343 static int hf_diameter_3gpp_tmgi_allocation_result_bit3
;
344 static int hf_diameter_3gpp_tmgi_allocation_result_bit4
;
345 static int hf_diameter_3gpp_tmgi_deallocation_result
;
346 static int hf_diameter_3gpp_tmgi_deallocation_result_bit0
;
347 static int hf_diameter_3gpp_tmgi_deallocation_result_bit1
;
348 static int hf_diameter_3gpp_tmgi_deallocation_result_bit2
;
349 static int hf_diameter_3gpp_sar_flags
;
350 static int hf_diameter_3gpp_sar_flags_flags_bit0
;
351 static int hf_diameter_3gpp_emergency_services_flags
;
352 static int hf_diameter_3gpp_emergency_services_flags_bit0
;
353 static int hf_diameter_3gpp_pur_flags
;
354 static int hf_diameter_3gpp_pur_flags_spare_bits
;
355 static int hf_diameter_3gpp_pur_flags_bit1
;
356 static int hf_diameter_3gpp_pur_flags_bit0
;
357 static int hf_diameter_3gpp_clr_flags
;
358 static int hf_diameter_3gpp_clr_flags_spare_bits
;
359 static int hf_diameter_3gpp_clr_flags_bit1
;
360 static int hf_diameter_3gpp_clr_flags_bit0
;
361 static int hf_diameter_3gpp_uvr_flags
;
362 static int hf_diameter_3gpp_uvr_flags_spare_bits
;
363 static int hf_diameter_3gpp_uvr_flags_bit0
;
364 static int hf_diameter_3gpp_uva_flags
;
365 static int hf_diameter_3gpp_uva_flags_spare_bits
;
366 static int hf_diameter_3gpp_uva_flags_bit0
;
367 static int hf_diameter_3gpp_subscription_data_flags
;
368 static int hf_diameter_3gpp_subscription_data_flags_spare_bits
;
369 static int hf_diameter_3gpp_subscription_data_flags_bit3
;
370 static int hf_diameter_3gpp_subscription_data_flags_bit2
;
371 static int hf_diameter_3gpp_subscription_data_flags_bit1
;
372 static int hf_diameter_3gpp_subscription_data_flags_bit0
;
373 static int hf_diameter_3gpp_wlan_offloadability_eutran
;
374 static int hf_diameter_3gpp_wlan_offloadability_eutran_spare_bits
;
375 static int hf_diameter_3gpp_wlan_offloadability_eutran_bit0
;
376 static int hf_diameter_3gpp_wlan_offloadability_utran
;
377 static int hf_diameter_3gpp_wlan_offloadability_utran_spare_bits
;
378 static int hf_diameter_3gpp_wlan_offloadability_utran_bit0
;
379 static int hf_diameter_3gpp_air_flags
;
380 static int hf_diameter_3gpp_air_flags_spare_bits
;
381 static int hf_diameter_3gpp_air_flags_bit0
;
382 static int hf_diameter_3gpp_preferred_data_mode
;
383 static int hf_diameter_3gpp_preferred_data_mode_spare_bits
;
384 static int hf_diameter_3gpp_preferred_data_mode_bit1
;
385 static int hf_diameter_3gpp_preferred_data_mode_bit0
;
386 static int hf_diameter_3gpp_v2x_permission
;
387 static int hf_diameter_3gpp_v2x_permission_spare_bits
;
388 static int hf_diameter_3gpp_v2x_permission_bit1
;
389 static int hf_diameter_3gpp_v2x_permission_bit0
;
390 static int hf_diameter_3gpp_core_network_restrictions
;
391 static int hf_diameter_3gpp_core_network_restrictions_spare_bits
;
392 static int hf_diameter_3gpp_core_network_restrictions_bit1
;
393 static int hf_diameter_3gpp_core_network_restrictions_bit0
;
394 static int hf_diameter_3gpp_supported_gad_shapes
;
395 static int hf_diameter_3gpp_highaccuracyellipsoidpointwithaltitudeandscalableuncertaintyellipsoid_bit10
;
396 static int hf_diameter_3gpp_highaccuracyellipsoidpointwithscalableuncertaintyellipse_bit9
;
397 static int hf_diameter_3gpp_highaccuracyellipsoidpointwithaltitudeanduncertaintyellipsoid_bit8
;
398 static int hf_diameter_3gpp_highaccuracyellipsoidpointwithuncertaintyellipse_bit7
;
399 static int hf_diameter_3gpp_ellipsoidarc_bit6
;
400 static int hf_diameter_3gpp_ellipsoidpointwithaltitudeanduncertaintyelipsoid_bit5
;
401 static int hf_diameter_3gpp_ellipsoidpointwithaltitude_bit4
;
402 static int hf_diameter_3gpp_polygon_bit3
;
403 static int hf_diameter_3gpp_ellipsoidpointwithuncertaintyellipse_bit2
;
404 static int hf_diameter_3gpp_ellipsoidpointwithuncertaintycircle_bit1
;
405 static int hf_diameter_3gpp_ellipsoidpoint_bit0
;
408 static int hf_diameter_3gpp_uar_flags_flags_spare_bits
;
409 static int hf_diameter_3gpp_feature_list1_sh_flags_spare_bits
;
410 static int hf_diameter_3gpp_feature_list2_s6a_flags_spare_bits
;
411 static int hf_diameter_3gpp_cms_spare_bits
;
412 static int hf_diameter_3gpp_ulr_flags_spare_bits
;
413 static int hf_diameter_3gpp_ula_flags_spare_bits
;
414 static int hf_diameter_3gpp_dsa_flags_spare_bits
;
415 static int hf_diameter_3gpp_acc_res_dat_flags
;
416 static int hf_diameter_3gpp_acc_res_dat_flags_bit0
;
417 static int hf_diameter_3gpp_acc_res_dat_flags_bit1
;
418 static int hf_diameter_3gpp_acc_res_dat_flags_bit2
;
419 static int hf_diameter_3gpp_acc_res_dat_flags_bit3
;
420 static int hf_diameter_3gpp_acc_res_dat_flags_bit4
;
421 static int hf_diameter_3gpp_acc_res_dat_flags_bit5
;
422 static int hf_diameter_3gpp_acc_res_dat_flags_bit6
;
423 static int hf_diameter_3gpp_acc_res_dat_flags_bit7
;
424 static int hf_diameter_3gpp_acc_res_dat_flags_bit8
;
425 static int hf_diameter_3gpp_acc_res_dat_flags_bit9
;
426 static int hf_diameter_3gpp_acc_res_dat_flags_bit10
;
427 static int hf_diameter_3gpp_acc_res_dat_flags_bit11
;
428 static int hf_diameter_3gpp_acc_res_dat_flags_bit12
;
429 static int hf_diameter_3gpp_acc_res_dat_flags_spare_bits
;
430 static int hf_diameter_3gpp_ida_flags_spare_bits
;
431 static int hf_diameter_3gpp_pua_flags_spare_bits
;
432 static int hf_diameter_3gpp_nor_flags_spare_bits
;
433 static int hf_diameter_3gpp_idr_flags_spare_bits
;
434 static int hf_diameter_3gpp_ppr_flags_spare_bits
;
435 static int hf_diameter_3gpp_aaa_fail_flags_spare_bits
;
436 static int hf_diameter_3gpp_der_flags_spare_bits
;
437 static int hf_diameter_3gpp_dea_flags_spare_bits
;
438 static int hf_diameter_3gpp_rar_flags_spare_bits
;
439 static int hf_diameter_3gpp_der_s6b_flags_spare_bits
;
440 static int hf_diameter_3gpp_mbms_bearer_event_spare_bits
;
441 static int hf_diameter_3gpp_mbms_bearer_result_spare_bits
;
442 static int hf_diameter_3gpp_tmgi_allocation_result_spare_bits
;
443 static int hf_diameter_3gpp_tmgi_deallocation_result_spare_bits
;
444 static int hf_diameter_3gpp_emergency_services_flags_spare_bits
;
446 static int hf_diameter_3gpp_plr_flags
;
447 static int hf_diameter_3gpp_plr_flags_spare_bits
;
448 static int hf_diameter_3gpp_delayed_location_reporting_support_indicator_bit2
;
449 static int hf_diameter_3gpp_optimized_lcs_proc_req_bit1
;
450 static int hf_diameter_3gpp_mo_lr_shortcircuit_indicator_bit0
;
452 static int hf_diameter_3gpp_pla_flags
;
453 static int hf_diameter_3gpp_pla_flags_spare_bits
;
454 static int hf_diameter_3gpp_ue_transiently_not_reachable_indicator_bit3
;
455 static int hf_diameter_3gpp_optimized_lcs_proc_performed_bit2
;
456 static int hf_diameter_3gpp_mo_lr_shortcircuit_indicator_bit1
;
457 static int hf_diameter_3gpp_deferred_mt_lr_response_indicator_bit0
;
459 static int hf_diameter_3gpp_deferred_location_type
;
460 static int hf_diameter_3gpp_deferred_location_type_spare_bits
;
461 static int hf_diameter_3gpp_ue_available_bit0
;
462 static int hf_diameter_3gpp_entering_into_area_bit1
;
463 static int hf_diameter_3gpp_leaving_from_area_bit2
;
464 static int hf_diameter_3gpp_being_inside_area_bit3
;
465 static int hf_diameter_3gpp_periodic_ldr_bit4
;
466 static int hf_diameter_3gpp_motion_event_bit5
;
467 static int hf_diameter_3gpp_ldr_activated_bit6
;
468 static int hf_diameter_3gpp_maximum_interval_exporation_bit7
;
470 static int ett_diameter_3gpp_path
;
471 static int ett_diameter_3gpp_feature_list
;
472 static int ett_diameter_3gpp_uar_flags
;
473 static int ett_diameter_3gpp_tmgi
;
474 static int ett_diameter_3gpp_cms
;
476 static int hf_diameter_3gpp_secondary_rat_type
;
478 static int hf_diameter_3gpp_gcip
;
479 static int hf_diameter_3gpp_amec
;
480 static int hf_diameter_3gpp_coame
;
481 static int hf_diameter_3gpp_acpc
;
482 static int hf_diameter_3gpp_rir_flags
;
483 static int hf_diameter_3gpp_rir_spare_b31_b4
;
484 static int hf_diameter_3gpp_feature_list_s6t_flags
;
485 static int hf_diameter_3gpp_feature_list_s6t_flags_bit0
;
486 static int hf_diameter_3gpp_feature_list_s6t_flags_bit1
;
487 static int hf_diameter_3gpp_feature_list_s6t_flags_bit2
;
488 static int hf_diameter_3gpp_feature_list_s6t_flags_bit3
;
489 static int hf_diameter_3gpp_feature_list_s6t_flags_bit4
;
490 static int hf_diameter_3gpp_feature_list_s6t_flags_bit5
;
491 static int hf_diameter_3gpp_feature_list_s6t_flags_bit6
;
492 static int hf_diameter_3gpp_feature_list_s6t_flags_bit7
;
493 static int hf_diameter_3gpp_feature_list_s6t_flags_bit8
;
494 static int hf_diameter_3gpp_feature_list_s6t_flags_bit9
;
495 static int hf_diameter_3gpp_feature_list_s6t_spare_b31_b10
;
496 static int hf_diameter_3gpp_supported_monitoring_events
;
497 static int hf_diameter_3gpp_supported_monitoring_events_b0
;
498 static int hf_diameter_3gpp_supported_monitoring_events_b1
;
499 static int hf_diameter_3gpp_supported_monitoring_events_b2
;
500 static int hf_diameter_3gpp_supported_monitoring_events_b3
;
501 static int hf_diameter_3gpp_supported_monitoring_events_b4
;
502 static int hf_diameter_3gpp_supported_monitoring_events_b5
;
503 static int hf_diameter_3gpp_supported_monitoring_events_b6
;
504 static int hf_diameter_3gpp_supported_monitoring_events_b7
;
505 static int hf_diameter_3gpp_supported_monitoring_events_b8
;
507 static int ett_diameter_3gpp_qos_subscribed
;
508 static int ett_diameter_3gpp_ulr_flags
;
509 static int ett_diameter_3gpp_ula_flags
;
510 static int ett_diameter_3gpp_dsr_flags
;
511 static int ett_diameter_3gpp_dsa_flags
;
512 static int ett_diameter_3gpp_ida_flags
;
513 static int ett_diameter_3gpp_pua_flags
;
514 static int ett_diameter_3gpp_nor_flags
;
515 static int ett_diameter_3gpp_idr_flags
;
516 static int ett_diameter_3gpp_ppr_flags
;
517 static int ett_diameter_3gpp_aaa_fail_flags
;
518 static int ett_diameter_3gpp_der_flags
;
519 static int ett_diameter_3gpp_dea_flags
;
520 static int ett_diameter_3gpp_rar_flags
;
521 static int ett_diameter_3gpp_der_s6b_flags
;
522 static int ett_diameter_3gpp_mbms_bearer_event
;
523 static int ett_diameter_3gpp_mbms_bearer_result
;
524 static int ett_diameter_3gpp_tmgi_allocation_result
;
525 static int ett_diameter_3gpp_tmgi_deallocation_result
;
526 static int ett_diameter_3gpp_sar_flags
;
527 static int ett_diameter_3gpp_req_nodes
;
528 static int ett_diameter_3gpp_emergency_services_flags
;
529 static int ett_diameter_3gpp_pur_flags
;
530 static int ett_diameter_3gpp_clr_flags
;
531 static int ett_diameter_3gpp_uvr_flags
;
532 static int ett_diameter_3gpp_uva_flags
;
533 static int ett_diameter_3gpp_subscription_data_flags
;
534 static int ett_diameter_3gpp_wlan_offloadability_eutran
;
535 static int ett_diameter_3gpp_wlan_offloadability_utran
;
536 static int ett_diameter_3gpp_air_flags
;
537 static int ett_diameter_3gpp_preferred_data_mode
;
538 static int ett_diameter_3gpp_v2x_permission
;
539 static int ett_diameter_3gpp_core_network_restrictions
;
540 static int ett_diameter_3gpp_supported_gad_shapes
;
541 static int ett_diameter_3gpp_plr_flags
;
542 static int ett_diameter_3gpp_pla_flags
;
543 static int ett_diameter_3gpp_deferred_location_type
;
544 static int ett_diameter_3gpp_rir_flags
;
545 static int ett_diameter_3gpp_supported_monitoring_events
;
546 static int ett_diameter_3gpp_af_requested_data_flags
;
548 static int hf_diameter_3gpp_feature_list1_rx_flags_bit0
;
549 static int hf_diameter_3gpp_feature_list1_rx_flags_bit1
;
550 static int hf_diameter_3gpp_feature_list1_rx_flags_bit2
;
551 static int hf_diameter_3gpp_feature_list1_rx_flags_bit3
;
552 static int hf_diameter_3gpp_feature_list1_rx_flags_bit4
;
553 static int hf_diameter_3gpp_feature_list1_rx_flags_bit5
;
554 static int hf_diameter_3gpp_feature_list1_rx_flags_bit6
;
555 static int hf_diameter_3gpp_feature_list1_rx_flags_bit7
;
556 static int hf_diameter_3gpp_feature_list1_rx_flags_bit8
;
557 static int hf_diameter_3gpp_feature_list1_rx_flags_bit9
;
558 static int hf_diameter_3gpp_feature_list1_rx_flags_bit10
;
559 static int hf_diameter_3gpp_feature_list1_rx_flags_bit11
;
560 static int hf_diameter_3gpp_feature_list1_rx_flags_bit12
;
561 static int hf_diameter_3gpp_feature_list1_rx_flags_bit13
;
562 static int hf_diameter_3gpp_feature_list1_rx_flags_bit14
;
563 static int hf_diameter_3gpp_feature_list1_rx_flags_bit15
;
564 static int hf_diameter_3gpp_feature_list1_rx_flags_bit16
;
565 static int hf_diameter_3gpp_feature_list1_rx_flags_bit17
;
566 static int hf_diameter_3gpp_feature_list1_rx_flags_bit18
;
567 static int hf_diameter_3gpp_feature_list1_rx_flags_bit19
;
568 static int hf_diameter_3gpp_feature_list1_rx_flags_bit20
;
569 static int hf_diameter_3gpp_feature_list1_rx_flags_bit21
;
570 static int hf_diameter_3gpp_feature_list1_rx_flags_bit22
;
571 static int hf_diameter_3gpp_feature_list1_rx_flags_spare_bits
;
573 static int hf_diameter_3gpp_feature_list2_rx_flags_bit0
;
574 static int hf_diameter_3gpp_feature_list2_rx_flags_bit1
;
575 static int hf_diameter_3gpp_feature_list2_rx_flags_bit2
;
576 static int hf_diameter_3gpp_feature_list2_rx_flags_bit3
;
577 static int hf_diameter_3gpp_feature_list2_rx_flags_bit4
;
578 static int hf_diameter_3gpp_feature_list2_rx_flags_bit5
;
579 static int hf_diameter_3gpp_feature_list2_rx_flags_bit6
;
580 static int hf_diameter_3gpp_feature_list2_rx_flags_bit7
;
581 static int hf_diameter_3gpp_feature_list2_rx_flags_bit8
;
582 static int hf_diameter_3gpp_feature_list2_rx_flags_bit9
;
583 static int hf_diameter_3gpp_feature_list2_rx_flags_bit10
;
584 static int hf_diameter_3gpp_feature_list2_rx_flags_bit11
;
585 static int hf_diameter_3gpp_feature_list2_rx_flags_bit12
;
586 static int hf_diameter_3gpp_feature_list2_rx_flags_bit13
;
587 static int hf_diameter_3gpp_feature_list2_rx_flags_bit14
;
588 static int hf_diameter_3gpp_feature_list2_rx_flags_bit15
;
589 static int hf_diameter_3gpp_feature_list2_rx_flags_spare_bits
;
591 static int hf_diameter_3gpp_feature_list_swx_flags
;
592 static int hf_diameter_3gpp_feature_list_swx_flags_bit0
;
593 static int hf_diameter_3gpp_feature_list_swx_flags_bit1
;
594 static int hf_diameter_3gpp_feature_list_swx_flags_bit2
;
595 static int hf_diameter_3gpp_feature_list_swx_flags_bit3
;
596 static int hf_diameter_3gpp_feature_list_swx_flags_bit4
;
597 static int hf_diameter_3gpp_feature_list_swx_flags_bit5
;
598 static int hf_diameter_3gpp_feature_list_swx_flags_bit6
;
599 static int hf_diameter_3gpp_feature_list_s6b_flags
;
600 static int hf_diameter_3gpp_feature_list_s6b_flags_bit0
;
602 static int hf_diameter_3gpp_ran_nas_protocol_type
;
603 static int hf_diameter_3gpp_ran_nas_cause_type
;
604 static int hf_diameter_3gpp_ran_nas_cause_value
;
605 static int hf_diameter_3gpp_s1ap_radio_network
;
606 static int hf_diameter_3gpp_s1ap_transport
;
607 static int hf_diameter_3gpp_s1ap_nas
;
608 static int hf_diameter_3gpp_s1ap_protocol
;
609 static int hf_diameter_3gpp_s1ap_misc
;
610 static int hf_diameter_3gpp_emm_cause
;
611 static int hf_diameter_3gpp_esm_cause
;
612 static int hf_diameter_3gpp_diameter_cause
;
613 static int hf_diameter_3gpp_ikev2_cause
;
615 /* Dissector handles */
616 static dissector_handle_t xml_handle
;
617 static dissector_handle_t gsm_sms_handle
;
618 static dissector_handle_t sdp_handle
;
620 /* Forward declarations */
621 static int dissect_diameter_3gpp_ipv6addr(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
);
624 * AVP Code: 8 IMSI-MNC-MCC
627 dissect_diameter_3gpp_imsi_mnc_mcc(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
631 str_len
= tvb_reported_length(tvb
);
632 dissect_e212_mcc_mnc_in_utf8_address(tvb
, pinfo
, tree
, 0);
637 /* AVP Code: 15 3GPP-SGSN-IPv6-Address */
639 dissect_diameter_3gpp_sgsn_ipv6_address(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data
)
641 /* 3GPP AVP code 15 has a conflict between imscxdx.xml (where the AVP
642 * contains an Unsigned32 enum) and TGPPGmb.xml (where the AVP contains
643 * an OctetString IPv6 address). This function decodes the latter; we
644 * (silently) abort dissection if the length is 4 on the assumption that
645 * the old IMS AVP is what we're decoding.
647 if (tvb_reported_length(tvb
) == 4)
650 return dissect_diameter_3gpp_ipv6addr(tvb
, pinfo
, tree
, data
);
655 * AVP Code: 18 SGSN-MNC-MCC
658 dissect_diameter_3gpp_sgsn_mnc_mcc(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
662 str_len
= tvb_reported_length(tvb
);
663 dissect_e212_mcc_mnc_in_utf8_address(tvb
, pinfo
, tree
, 0);
668 /* AVP Code: 21 3GPP-RAT-Type
669 * 3GPP TS 29.061, 29.274
671 static const value_string diameter_3gpp_rat_type_vals
[] = {
677 { 5, "HSPA Evolution" },
678 { 6, "EUTRAN (WB-E-UTRAN)" },
680 { 8, "EUTRAN-NB-IoT" },
683 { 52, "NR in unlicensed bands" },
684 { 53, "Trusted WLAN" },
685 { 54, "Trusted Non-3GPP access" },
686 { 55, "Wireline access" },
687 { 56, "Wireline Cable access" },
688 { 57, "Wireline BBF access" },
690 { 101, "IEEE 802.16e" },
691 { 102, "3GPP2 eHRPD" },
692 { 103, "3GPP2 HRPD" },
693 { 104, "3GPP2 1xRTT" },
694 { 105, "3GPP2 UMB" },
699 dissect_diameter_3gpp_rat_type(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
702 int length
= tvb_reported_length(tvb
);
704 proto_tree_add_item(tree
, hf_diameter_3gpp_rat_type
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
709 /* AVP Code: 23 3GPP-MS-TimeZone
712 static const value_string daylight_saving_time_vals
[] = {
713 {0, "No adjustment"},
714 {1, "+1 hour adjustment for Daylight Saving Time"},
715 {2, "+2 hours adjustment for Daylight Saving Time"},
721 dissect_diameter_3gpp_ms_timezone(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
724 uint8_t oct
, hours
, minutes
;
726 diam_sub_dis_t
*diam_sub_dis
= (diam_sub_dis_t
*)data
;
728 /* 3GPP TS 23.040 version 6.6.0 Release 6
729 * 9.2.3.11 TP-Service-Centre-Time-Stamp (TP-SCTS)
731 * The Time Zone indicates the difference, expressed in quarters of an hour,
732 * between the local time and GMT. In the first of the two semi-octets,
733 * the first bit (bit 3 of the seventh octet of the TP-Service-Centre-Time-Stamp field)
734 * represents the algebraic sign of this difference (0: positive, 1: negative).
737 oct
= tvb_get_uint8(tvb
, offset
);
738 sign
= (oct
& 0x08) ? '-' : '+';
739 oct
= (oct
>> 4) + (oct
& 0x07) * 10;
741 minutes
= oct
% 4 * 15;
743 proto_tree_add_uint_format_value(tree
, hf_diameter_3gpp_timezone
, tvb
, offset
, 1, oct
, "GMT %c %d hours %d minutes", sign
, hours
, minutes
);
746 oct
= tvb_get_uint8(tvb
, offset
) & 0x3;
747 proto_tree_add_item(tree
, hf_diameter_3gpp_timezone_adjustment
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
750 diam_sub_dis
->avp_str
= wmem_strdup_printf(pinfo
->pool
, "Timezone: GMT %c %d hours %d minutes %s",
754 val_to_str_const(oct
, daylight_saving_time_vals
, "Unknown"));
758 /* AVP Code: 29 3GPP-TWAN-Identifier
759 * 3GPP TS 29.061 V14.2.0 (2016-12)
762 dissect_diameter_3gpp_twan_identifier(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
764 int length
= tvb_reported_length(tvb
);
766 dissect_gtpv2_twan_identifier(tvb
, pinfo
, tree
, NULL
, length
, 0, 0, NULL
);
772 * AVP Code: 524 Codec-Data
775 dissect_diameter_3gpp_codec_data(tvbuff_t
* tvb
, packet_info
* pinfo _U_
, proto_tree
* tree
, void* data _U_
)
777 int offset
= 0, linelen
, next_offset
;
778 int length
= tvb_reported_length(tvb
);
781 /* The first line of the value of the Codec-Data AVP shall consist of either the word "uplink"
782 * or the word "downlink" (in ASCII, without quotes) followed by a new-line character
784 linelen
= tvb_find_line_end(tvb
, offset
, -1, &next_offset
, false);
786 return tvb_reported_length(tvb
);
788 str
= tvb_get_string_enc(pinfo
->pool
, tvb
, offset
, linelen
, ENC_ASCII
| ENC_NA
);
789 proto_tree_add_string_format(tree
, hf_diameter_3gpp_codec_data_dir
, tvb
, offset
, linelen
, str
, "%s", str
);
790 if (next_offset
> length
) {
791 return tvb_reported_length(tvb
);
793 offset
= next_offset
;
794 /* The second line of the value of the Codec-Data AVP shall consist of either the word "offer"
795 * or the word "answer", or the word "description" (in ASCII, without quotes)
796 * followed by a new-line character
798 linelen
= tvb_find_line_end(tvb
, offset
, -1, &next_offset
, false);
800 return tvb_reported_length(tvb
);
802 str
= tvb_get_string_enc(pinfo
->pool
, tvb
, offset
, linelen
, ENC_ASCII
| ENC_NA
);
803 proto_tree_add_string_format(tree
, hf_diameter_3gpp_codec_sdp_type
, tvb
, offset
, linelen
, str
, "%s", str
);
804 if (next_offset
>= length
) {
805 return tvb_reported_length(tvb
);
808 /* The rest of the value shall consist of SDP line(s) in ASCII encoding
809 * separated by new-line characters, as specified in IETF RFC 4566
812 /* Lets see if we have null padding*/
813 while (tvb_get_uint8(tvb
, length
- 1) == 0) {
816 length
-= next_offset
;
817 tvbuff_t
* new_tvb
= tvb_new_subset_length(tvb
, next_offset
, length
);
818 call_dissector(sdp_handle
, new_tvb
, pinfo
, tree
);
820 return tvb_reported_length(tvb
);
824 * AVP Code: 551 AF-Requested-Data
826 static int * const diameter_3gpp_af_requested_data_flags
[] = {
827 &hf_diameter_3gpp_af_requested_data_flags_bit0
,
832 dissect_diameter_3gpp_af_requested_data(tvbuff_t
* tvb
, packet_info
* pinfo _U_
, proto_tree
* tree
, void* data _U_
)
834 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
836 /* Hide the item created in packet-diameter.c and only show the one created here */
837 proto_item_set_hidden(diam_sub_dis_inf
->item
);
839 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_af_requested_data_flags
,
840 ett_diameter_3gpp_af_requested_data_flags
,
841 diameter_3gpp_af_requested_data_flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
847 /* AVP Code: 601 Public-Identity
849 * 6.3.2 Public-Identity AVP
850 * The Public-Identity AVP is of type UTF8String. This AVP contains the public identity of a user in the IMS. The syntax
851 * of this AVP corresponds either to a SIP URL (with the format defined in IETF RFC 3261 [3] and IETF RFC 2396 [4])
852 * or a TEL URL (with the format defined in IETF RFC 3966 [8]). Both SIP URL and TEL URL shall be in canonical
853 * form, as described in 3GPP TS 23.003 [13].
856 dissect_diameter_3gpp_public_identity(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
858 int length
= tvb_reported_length(tvb
);
860 dfilter_store_sip_from_addr(tvb
, tree
, 0, length
);
866 /* AVP Code: 629 Feature-List-id
867 * Feature list Id is neede to dissect Feature list in S6a/S6d application
872 dissect_diameter_3gpp_feature_list_id(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data
)
874 diam_sub_dis_t
*diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
876 if(diam_sub_dis_inf
) {
877 diam_sub_dis_inf
->feature_list_id
= tvb_get_ntohl(tvb
,0);
883 /* AVP Code: 637 UAR-Flags
885 * IMS Cx Dx AVPS 3GPP TS 29.229
889 dissect_diameter_3gpp_uar_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
891 static int * const flags
[] = {
892 &hf_diameter_3gpp_uar_flags_flags_spare_bits
,
893 &hf_diameter_3gpp_uar_flags_flags_bit0
,
897 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
899 /* Hide the item created in packet-diameter.c and only show the one created here */
900 proto_item_set_hidden(diam_sub_dis_inf
->item
);
902 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_uar_flags_flags
, ett_diameter_3gpp_uar_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
906 /* AVP Code: 630 Feature-List
907 * Interpretation depends on Application Id
909 * IMS Cx Dx AVPS 3GPP TS 29.229
911 static int * const diameter_3gpp_cx_feature_list_1_fields
[] = {
912 &hf_diameter_3gpp_cx_feature_list_1_flags_spare_bits
,
913 &hf_diameter_3gpp_cx_feature_list_1_flags_bit3
,
914 &hf_diameter_3gpp_cx_feature_list_1_flags_bit2
,
915 &hf_diameter_3gpp_cx_feature_list_1_flags_bit1
,
916 &hf_diameter_3gpp_cx_feature_list_1_flags_bit0
,
920 /* 3GPP TS 29.212 V14.0.0 (2016-09) */
921 static int * const diameter_3gpp_sd_feature_list_fields
[] = {
922 &hf_diameter_3gpp_feature_list_sd_flags_spare_bits
,
923 &hf_diameter_3gpp_feature_list_sd_flags_bit10
,
924 &hf_diameter_3gpp_feature_list_sd_flags_bit9
,
925 &hf_diameter_3gpp_feature_list_sd_flags_bit8
,
926 &hf_diameter_3gpp_feature_list_sd_flags_bit7
,
927 &hf_diameter_3gpp_feature_list_sd_flags_bit6
,
928 &hf_diameter_3gpp_feature_list_sd_flags_bit5
,
929 &hf_diameter_3gpp_feature_list_sd_flags_bit4
,
930 &hf_diameter_3gpp_feature_list_sd_flags_bit3
,
931 &hf_diameter_3gpp_feature_list_sd_flags_bit2
,
932 &hf_diameter_3gpp_feature_list_sd_flags_bit1
,
933 &hf_diameter_3gpp_feature_list_sd_flags_bit0
,
938 dissect_diameter_3gpp_feature_list(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
941 uint32_t application_id
= 0, feature_list_id
= 0;
942 diam_sub_dis_t
*diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
944 if(!diam_sub_dis_inf
) {
948 application_id
= diam_sub_dis_inf
->application_id
;
949 feature_list_id
= diam_sub_dis_inf
->feature_list_id
;
950 /* Hide the item created in packet-diameter.c and only show the one created here */
951 bool save_hidden
= proto_item_is_hidden(diam_sub_dis_inf
->item
);
952 proto_item_set_hidden(diam_sub_dis_inf
->item
);
954 switch (application_id
) {
955 case DIAM_APPID_3GPP_CX
:
956 proto_tree_add_bitmask_with_flags(tree
, tvb
, offset
, hf_diameter_3gpp_cx_feature_list_flags
,
957 ett_diameter_3gpp_feature_list
, diameter_3gpp_cx_feature_list_1_fields
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
959 case DIAM_APPID_3GPP_RX
:
961 if (feature_list_id
== 1) {
962 /* 3GPP TS 129 214 Table 5.4.1.1: Features of Feature-List-ID 1 used in Rx */
963 static int * const flags
[] = {
964 &hf_diameter_3gpp_feature_list1_rx_flags_spare_bits
,
965 &hf_diameter_3gpp_feature_list1_rx_flags_bit22
,
966 &hf_diameter_3gpp_feature_list1_rx_flags_bit21
,
967 &hf_diameter_3gpp_feature_list1_rx_flags_bit20
,
968 &hf_diameter_3gpp_feature_list1_rx_flags_bit19
,
969 &hf_diameter_3gpp_feature_list1_rx_flags_bit18
,
970 &hf_diameter_3gpp_feature_list1_rx_flags_bit17
,
971 &hf_diameter_3gpp_feature_list1_rx_flags_bit16
,
972 &hf_diameter_3gpp_feature_list1_rx_flags_bit15
,
973 &hf_diameter_3gpp_feature_list1_rx_flags_bit14
,
974 &hf_diameter_3gpp_feature_list1_rx_flags_bit13
,
975 &hf_diameter_3gpp_feature_list1_rx_flags_bit12
,
976 &hf_diameter_3gpp_feature_list1_rx_flags_bit11
,
977 &hf_diameter_3gpp_feature_list1_rx_flags_bit10
,
978 &hf_diameter_3gpp_feature_list1_rx_flags_bit9
,
979 &hf_diameter_3gpp_feature_list1_rx_flags_bit8
,
980 &hf_diameter_3gpp_feature_list1_rx_flags_bit7
,
981 &hf_diameter_3gpp_feature_list1_rx_flags_bit6
,
982 &hf_diameter_3gpp_feature_list1_rx_flags_bit5
,
983 &hf_diameter_3gpp_feature_list1_rx_flags_bit4
,
984 &hf_diameter_3gpp_feature_list1_rx_flags_bit3
,
985 &hf_diameter_3gpp_feature_list1_rx_flags_bit2
,
986 &hf_diameter_3gpp_feature_list1_rx_flags_bit1
,
987 &hf_diameter_3gpp_feature_list1_rx_flags_bit0
,
991 proto_tree_add_bitmask_with_flags(tree
, tvb
, offset
, hf_diameter_3gpp_feature_list_flags
, ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
993 else if (feature_list_id
== 2) {
994 static int * const flags
[] = {
995 &hf_diameter_3gpp_feature_list2_rx_flags_spare_bits
,
996 &hf_diameter_3gpp_feature_list2_rx_flags_bit15
,
997 &hf_diameter_3gpp_feature_list2_rx_flags_bit14
,
998 &hf_diameter_3gpp_feature_list2_rx_flags_bit13
,
999 &hf_diameter_3gpp_feature_list2_rx_flags_bit12
,
1000 &hf_diameter_3gpp_feature_list2_rx_flags_bit11
,
1001 &hf_diameter_3gpp_feature_list2_rx_flags_bit10
,
1002 &hf_diameter_3gpp_feature_list2_rx_flags_bit9
,
1003 &hf_diameter_3gpp_feature_list2_rx_flags_bit8
,
1004 &hf_diameter_3gpp_feature_list2_rx_flags_bit7
,
1005 &hf_diameter_3gpp_feature_list2_rx_flags_bit6
,
1006 &hf_diameter_3gpp_feature_list2_rx_flags_bit5
,
1007 &hf_diameter_3gpp_feature_list2_rx_flags_bit4
,
1008 &hf_diameter_3gpp_feature_list2_rx_flags_bit3
,
1009 &hf_diameter_3gpp_feature_list2_rx_flags_bit2
,
1010 &hf_diameter_3gpp_feature_list2_rx_flags_bit1
,
1011 &hf_diameter_3gpp_feature_list2_rx_flags_bit0
,
1015 proto_tree_add_bitmask_with_flags(tree
, tvb
, offset
, hf_diameter_3gpp_feature_list_flags
, ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1019 case DIAM_APPID_3GPP_SH
:
1021 static int * const flags
[] = {
1022 &hf_diameter_3gpp_feature_list1_sh_flags_spare_bits
,
1023 &hf_diameter_3gpp_feature_list1_sh_flags_bit3
,
1024 &hf_diameter_3gpp_feature_list1_sh_flags_bit2
,
1025 &hf_diameter_3gpp_feature_list1_sh_flags_bit1
,
1026 &hf_diameter_3gpp_feature_list1_sh_flags_bit0
,
1030 proto_tree_add_bitmask_with_flags(tree
, tvb
, offset
, hf_diameter_3gpp_feature_list_flags
, ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1033 case DIAM_APPID_3GPP_S6A_S6D
:
1034 if (feature_list_id
== 1) {
1035 /* 3GPP TS 29.272 Table 7.3.10/1: Features of Feature-List-ID 1 used in S6a/S6d */
1036 static int * const flags
[] = {
1037 &hf_diameter_3gpp_feature_list1_s6a_flags_bit31
,
1038 &hf_diameter_3gpp_feature_list1_s6a_flags_bit30
,
1039 &hf_diameter_3gpp_feature_list1_s6a_flags_bit29
,
1040 &hf_diameter_3gpp_feature_list1_s6a_flags_bit28
,
1041 &hf_diameter_3gpp_feature_list1_s6a_flags_bit27
,
1042 &hf_diameter_3gpp_feature_list1_s6a_flags_bit26
,
1043 &hf_diameter_3gpp_feature_list1_s6a_flags_bit25
,
1044 &hf_diameter_3gpp_feature_list1_s6a_flags_bit24
,
1045 &hf_diameter_3gpp_feature_list1_s6a_flags_bit23
,
1046 &hf_diameter_3gpp_feature_list1_s6a_flags_bit22
,
1047 &hf_diameter_3gpp_feature_list1_s6a_flags_bit21
,
1048 &hf_diameter_3gpp_feature_list1_s6a_flags_bit20
,
1049 &hf_diameter_3gpp_feature_list1_s6a_flags_bit19
,
1050 &hf_diameter_3gpp_feature_list1_s6a_flags_bit18
,
1051 &hf_diameter_3gpp_feature_list1_s6a_flags_bit17
,
1052 &hf_diameter_3gpp_feature_list1_s6a_flags_bit16
,
1053 &hf_diameter_3gpp_feature_list1_s6a_flags_bit15
,
1054 &hf_diameter_3gpp_feature_list1_s6a_flags_bit14
,
1055 &hf_diameter_3gpp_feature_list1_s6a_flags_bit13
,
1056 &hf_diameter_3gpp_feature_list1_s6a_flags_bit12
,
1057 &hf_diameter_3gpp_feature_list1_s6a_flags_bit11
,
1058 &hf_diameter_3gpp_feature_list1_s6a_flags_bit10
,
1059 &hf_diameter_3gpp_feature_list1_s6a_flags_bit9
,
1060 &hf_diameter_3gpp_feature_list1_s6a_flags_bit8
,
1061 &hf_diameter_3gpp_feature_list1_s6a_flags_bit7
,
1062 &hf_diameter_3gpp_feature_list1_s6a_flags_bit6
,
1063 &hf_diameter_3gpp_feature_list1_s6a_flags_bit5
,
1064 &hf_diameter_3gpp_feature_list1_s6a_flags_bit4
,
1065 &hf_diameter_3gpp_feature_list1_s6a_flags_bit3
,
1066 &hf_diameter_3gpp_feature_list1_s6a_flags_bit2
,
1067 &hf_diameter_3gpp_feature_list1_s6a_flags_bit1
,
1068 &hf_diameter_3gpp_feature_list1_s6a_flags_bit0
,
1072 proto_tree_add_bitmask_with_flags(tree
, tvb
, offset
, hf_diameter_3gpp_feature_list_flags
, ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1074 else if (feature_list_id
== 2) {
1075 /* 3GPP TS 29.272 Table 7.3.10/2: Features of Feature-List-ID 2 used in S6a/S6d */
1076 static int * const flags
[] = {
1077 &hf_diameter_3gpp_feature_list2_s6a_flags_spare_bits
,
1078 &hf_diameter_3gpp_feature_list2_s6a_flags_bit30
,
1079 &hf_diameter_3gpp_feature_list2_s6a_flags_bit29
,
1080 &hf_diameter_3gpp_feature_list2_s6a_flags_bit28
,
1081 &hf_diameter_3gpp_feature_list2_s6a_flags_bit27
,
1082 &hf_diameter_3gpp_feature_list2_s6a_flags_bit26
,
1083 &hf_diameter_3gpp_feature_list2_s6a_flags_bit25
,
1084 &hf_diameter_3gpp_feature_list2_s6a_flags_bit24
,
1085 &hf_diameter_3gpp_feature_list2_s6a_flags_bit23
,
1086 &hf_diameter_3gpp_feature_list2_s6a_flags_bit22
,
1087 &hf_diameter_3gpp_feature_list2_s6a_flags_bit21
,
1088 &hf_diameter_3gpp_feature_list2_s6a_flags_bit20
,
1089 &hf_diameter_3gpp_feature_list2_s6a_flags_bit19
,
1090 &hf_diameter_3gpp_feature_list2_s6a_flags_bit18
,
1091 &hf_diameter_3gpp_feature_list2_s6a_flags_bit17
,
1092 &hf_diameter_3gpp_feature_list2_s6a_flags_bit16
,
1093 &hf_diameter_3gpp_feature_list2_s6a_flags_bit15
,
1094 &hf_diameter_3gpp_feature_list2_s6a_flags_bit14
,
1095 &hf_diameter_3gpp_feature_list2_s6a_flags_bit13
,
1096 &hf_diameter_3gpp_feature_list2_s6a_flags_bit12
,
1097 &hf_diameter_3gpp_feature_list2_s6a_flags_bit11
,
1098 &hf_diameter_3gpp_feature_list2_s6a_flags_bit10
,
1099 &hf_diameter_3gpp_feature_list2_s6a_flags_bit9
,
1100 &hf_diameter_3gpp_feature_list2_s6a_flags_bit8
,
1101 &hf_diameter_3gpp_feature_list2_s6a_flags_bit7
,
1102 &hf_diameter_3gpp_feature_list2_s6a_flags_bit6
,
1103 &hf_diameter_3gpp_feature_list2_s6a_flags_bit5
,
1104 &hf_diameter_3gpp_feature_list2_s6a_flags_bit4
,
1105 &hf_diameter_3gpp_feature_list2_s6a_flags_bit3
,
1106 &hf_diameter_3gpp_feature_list2_s6a_flags_bit2
,
1107 &hf_diameter_3gpp_feature_list2_s6a_flags_bit1
,
1108 &hf_diameter_3gpp_feature_list2_s6a_flags_bit0
,
1112 proto_tree_add_bitmask_with_flags(tree
, tvb
, offset
, hf_diameter_3gpp_feature_list_flags
, ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1115 case DIAM_APPID_3GPP_GX
: /* 3GPP TS 29.212 V15.1.0 (2017-12) */
1116 if (feature_list_id
== 1) {
1117 /* 3GPP TS 29.212 Table 5.4.1.1: Features of Feature-List-ID 1 used in Gx */
1118 static int * const flags
[] = {
1119 &hf_diameter_3gpp_feature_list1_gx_flags_bit31
,
1120 &hf_diameter_3gpp_feature_list1_gx_flags_bit30
,
1121 &hf_diameter_3gpp_feature_list1_gx_flags_bit29
,
1122 &hf_diameter_3gpp_feature_list1_gx_flags_bit28
,
1123 &hf_diameter_3gpp_feature_list1_gx_flags_bit27
,
1124 &hf_diameter_3gpp_feature_list1_gx_flags_bit26
,
1125 &hf_diameter_3gpp_feature_list1_gx_flags_bit25
,
1126 &hf_diameter_3gpp_feature_list1_gx_flags_bit24
,
1127 &hf_diameter_3gpp_feature_list1_gx_flags_bit23
,
1128 &hf_diameter_3gpp_feature_list1_gx_flags_bit22
,
1129 &hf_diameter_3gpp_feature_list1_gx_flags_bit21
,
1130 &hf_diameter_3gpp_feature_list1_gx_flags_bit20
,
1131 &hf_diameter_3gpp_feature_list1_gx_flags_bit19
,
1132 &hf_diameter_3gpp_feature_list1_gx_flags_bit18
,
1133 &hf_diameter_3gpp_feature_list1_gx_flags_bit17
,
1134 &hf_diameter_3gpp_feature_list1_gx_flags_bit16
,
1135 &hf_diameter_3gpp_feature_list1_gx_flags_bit15
,
1136 &hf_diameter_3gpp_feature_list1_gx_flags_bit14
,
1137 &hf_diameter_3gpp_feature_list1_gx_flags_bit13
,
1138 &hf_diameter_3gpp_feature_list1_gx_flags_bit12
,
1139 &hf_diameter_3gpp_feature_list1_gx_flags_bit11
,
1140 &hf_diameter_3gpp_feature_list1_gx_flags_bit10
,
1141 &hf_diameter_3gpp_feature_list1_gx_flags_bit9
,
1142 &hf_diameter_3gpp_feature_list1_gx_flags_bit8
,
1143 &hf_diameter_3gpp_feature_list1_gx_flags_bit7
,
1144 &hf_diameter_3gpp_feature_list1_gx_flags_bit6
,
1145 &hf_diameter_3gpp_feature_list1_gx_flags_bit5
,
1146 &hf_diameter_3gpp_feature_list1_gx_flags_bit4
,
1147 &hf_diameter_3gpp_feature_list1_gx_flags_bit3
,
1148 &hf_diameter_3gpp_feature_list1_gx_flags_bit2
,
1149 &hf_diameter_3gpp_feature_list1_gx_flags_bit1
,
1150 &hf_diameter_3gpp_feature_list1_gx_flags_bit0
,
1154 proto_tree_add_bitmask_with_flags(tree
, tvb
, offset
, hf_diameter_3gpp_feature_list_gx_flags
,
1155 ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1157 else if (feature_list_id
== 2) {
1158 /* 3GPP TS 29.212 Table 5.4.1.2: Features of Feature-List-ID 2 used in Gx */
1159 static int * const flags
[] = {
1160 &hf_diameter_3gpp_feature_list2_gx_flags_bit7
,
1161 &hf_diameter_3gpp_feature_list2_gx_flags_bit6
,
1162 &hf_diameter_3gpp_feature_list2_gx_flags_bit5
,
1163 &hf_diameter_3gpp_feature_list2_gx_flags_bit4
,
1164 &hf_diameter_3gpp_feature_list2_gx_flags_bit3
,
1165 &hf_diameter_3gpp_feature_list2_gx_flags_bit2
,
1166 &hf_diameter_3gpp_feature_list2_gx_flags_bit1
,
1167 &hf_diameter_3gpp_feature_list2_gx_flags_bit0
,
1171 proto_tree_add_bitmask_with_flags(tree
, tvb
, offset
, hf_diameter_3gpp_feature_list_gx_flags
,
1172 ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1175 case DIAM_APPID_3GPP_SD
: /* 3GPP TS 29.212 V14.0.0 (2016-09) */
1176 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_feature_list_sd_flags
,
1177 ett_diameter_3gpp_feature_list
, diameter_3gpp_sd_feature_list_fields
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1179 case DIAM_APPID_3GPP_S6T
:
1181 static int * const flags
[] = {
1182 &hf_diameter_3gpp_feature_list_s6t_spare_b31_b10
,
1183 &hf_diameter_3gpp_feature_list_s6t_flags_bit9
,
1184 &hf_diameter_3gpp_feature_list_s6t_flags_bit8
,
1185 &hf_diameter_3gpp_feature_list_s6t_flags_bit7
,
1186 &hf_diameter_3gpp_feature_list_s6t_flags_bit6
,
1187 &hf_diameter_3gpp_feature_list_s6t_flags_bit5
,
1188 &hf_diameter_3gpp_feature_list_s6t_flags_bit4
,
1189 &hf_diameter_3gpp_feature_list_s6t_flags_bit3
,
1190 &hf_diameter_3gpp_feature_list_s6t_flags_bit2
,
1191 &hf_diameter_3gpp_feature_list_s6t_flags_bit1
,
1192 &hf_diameter_3gpp_feature_list_s6t_flags_bit0
,
1196 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_feature_list_s6t_flags
,
1197 ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1200 case DIAM_APPID_3GPP_SWX
:
1202 /* 3GPP TS 29.273 Table 8.2.3.16/1: Features of Feature-List-ID 1 used in SWx */
1203 static int * const flags
[] = {
1204 &hf_diameter_3gpp_feature_list_swx_flags_bit6
,
1205 &hf_diameter_3gpp_feature_list_swx_flags_bit5
,
1206 &hf_diameter_3gpp_feature_list_swx_flags_bit4
,
1207 &hf_diameter_3gpp_feature_list_swx_flags_bit3
,
1208 &hf_diameter_3gpp_feature_list_swx_flags_bit2
,
1209 &hf_diameter_3gpp_feature_list_swx_flags_bit1
,
1210 &hf_diameter_3gpp_feature_list_swx_flags_bit0
,
1214 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_feature_list_swx_flags
,
1215 ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1218 case DIAM_APPID_3GPP_S6B
:
1220 /* 3GPP TS 29.273 Table 9.2.3.5/1: Features of Feature-List-ID 1 used in S6b */
1221 static int * const flags
[] = {
1222 &hf_diameter_3gpp_feature_list_s6b_flags_bit0
,
1226 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_feature_list_s6b_flags
,
1227 ett_diameter_3gpp_feature_list
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1232 /* In case we end up here */
1234 proto_item_set_visible(diam_sub_dis_inf
->item
);
1243 /* AVP Code: 640 Path
1245 * IMS Cx Dx AVPS 3GPP TS 29.229
1247 * The Path AVP is of type OctetString and it contains a comma separated list of SIP proxies in the Path header as defined
1248 * in IETF RFC 3327 [17].
1251 dissect_diameter_3gpp_path(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1253 proto_tree
*sub_tree
;
1254 int offset
= 0, comma_offset
;
1255 int end_offset
= tvb_reported_length(tvb
) - 1;
1257 sub_tree
= proto_tree_add_subtree(tree
, tvb
, offset
, -1, ett_diameter_3gpp_path
, NULL
, "Paths");
1259 while (offset
< end_offset
) {
1260 comma_offset
= tvb_find_uint8(tvb
, offset
, -1, ',');
1261 if(comma_offset
== -1) {
1262 proto_tree_add_item(sub_tree
, hf_diameter_3gpp_path
, tvb
, offset
, comma_offset
, ENC_ASCII
);
1265 proto_tree_add_item(sub_tree
, hf_diameter_3gpp_path
, tvb
, offset
, comma_offset
, ENC_ASCII
);
1266 offset
= comma_offset
+1;
1270 return tvb_reported_length(tvb
);
1273 /* AVP Code: 641 Contact
1275 * IMS Cx Dx AVPS 3GPP TS 29.229
1276 * 6.3.48 Contact AVP
1277 * The Contact AVP is of type OctetString and it contains the Contact Addresses and Parameters in the Contact header as
1278 * defined in IETF RFC 3261.
1281 dissect_diameter_3gpp_contact(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1286 item
= proto_tree_add_item(tree
, hf_diameter_3gpp_contact
, tvb
, offset
, -1, ENC_ASCII
);
1287 proto_item_set_generated(item
);
1289 return tvb_reported_length(tvb
);
1292 /* AVP Code: 701 MSISDN */
1294 dissect_diameter_3gpp_msisdn(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1297 int length
= tvb_reported_length(tvb
);
1299 dissect_e164_msisdn(tvb
, tree
, offset
, length
, E164_ENC_BCD
);
1304 /* AVP Code: 655 SAR-Flags
1306 * IMS Cx Dx AVPS 3GPP TS 29.229
1309 static int * const diameter_3gpp_sar_fields
[] = {
1310 &hf_diameter_3gpp_sar_flags_flags_bit0
,
1315 dissect_diameter_3gpp_sar_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
1318 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
1320 /* Hide the item created in packet-diameter.c and only show the one created here */
1321 proto_item_set_hidden(diam_sub_dis_inf
->item
);
1323 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_sar_flags
,
1324 ett_diameter_3gpp_sar_flags
, diameter_3gpp_sar_fields
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1329 /* AVP Code: 702 User-Data
1331 * The AVP codes from 709 to799 are reserved for TS 29.329
1333 /* AVP Code: 606 User-Data
1335 * IMS Cx Dx AVPS 3GPP TS 29.229
1338 dissect_diameter_3gpp_user_data(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1340 int length
= tvb_reported_length(tvb
);
1342 /* If there is less than 38 characters this is not XML
1343 * <?xml version="1.0" encoding="UTF-8"?>
1348 if (tvb_strncaseeql(tvb
, 0, "<?xml", 5) == 0 && xml_handle
) {
1349 call_dissector(xml_handle
, tvb
, pinfo
, tree
);
1357 * AVP Code: 713 Requested-Nodes
1361 dissect_diameter_3gpp_req_nodes(tvbuff_t
* tvb
, packet_info
* pinfo _U_
, proto_tree
* tree
, void* data
)
1364 static int* const diameter_3gpp_req_nodes_fields
[] = {
1365 &hf_diameter_3gpp_req_nodes_bit3
,
1366 &hf_diameter_3gpp_req_nodes_bit2
,
1367 &hf_diameter_3gpp_req_nodes_bit1
,
1368 &hf_diameter_3gpp_req_nodes_bit0
,
1372 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
1374 /* Hide the item created in packet-diameter.c and only show the one created here */
1375 proto_item_set_hidden(diam_sub_dis_inf
->item
);
1377 /* Change to BMT_NO_FALSE if the list gets to long(?)*/
1378 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_req_nodes
,
1379 ett_diameter_3gpp_req_nodes
, diameter_3gpp_req_nodes_fields
, ENC_BIG_ENDIAN
, BMT_NO_FALSE
);
1385 /* AVP Code: 900 TMGI */
1387 dissect_diameter_3gpp_tmgi(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1390 proto_tree
*sub_tree
;
1393 item
= proto_tree_add_item(tree
, hf_diameter_3gpp_tmgi
, tvb
, offset
, 6, ENC_NA
);
1394 sub_tree
= proto_item_add_subtree(item
,ett_diameter_3gpp_tmgi
);
1396 /* MBMS Service ID consisting of three octets. MBMS Service ID consists of a 6-digit
1397 * fixed-length hexadecimal number between 000000 and FFFFFF.
1398 * MBMS Service ID uniquely identifies an MBMS bearer service within a PLMN.
1401 proto_tree_add_item(sub_tree
, hf_diameter_mbms_service_id
, tvb
, offset
, 3, ENC_BIG_ENDIAN
);
1403 offset
= dissect_e212_mcc_mnc(tvb
, pinfo
, sub_tree
, offset
, E212_NONE
, true);
1409 /* AVP Code: 903 MBMS-Service-Area */
1411 /* AVP Code: 917 MBMS-GGSN-IPv6-Address */
1413 dissect_diameter_3gpp_ipv6addr(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1417 proto_tree_add_item(tree
, hf_diameter_3gpp_ipv6addr
, tvb
, offset
, 16, ENC_NA
);
1425 /* AVP Code: 918 MBMS-BMSC-SSM-IP-Address */
1427 dissect_diameter_3gpp_ipaddr(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1431 proto_tree_add_item(tree
, hf_diameter_3gpp_ipaddr
, tvb
, offset
, 4, ENC_BIG_ENDIAN
);
1438 /* AVP Code: 909 RAI AVP
1440 * The RAI AVP (AVP Code 909) is of type UTF8String, and contains the Routing Area Identity of the SGSN where the
1441 * UE is registered. RAI use and structure is specified in 3GPP TS 23.003 [40].
1442 * Its value shall be encoded as a UTF-8 string on either 11 (if the MNC contains two digits) or 12 (if the MNC contains
1443 * three digits) octets as follows:
1444 * - The MCC shall be encoded first using three UTF-8 characters on three octets, each character representing a
1445 * decimal digit starting with the first MCC digit.
1446 * - Then, the MNC shall be encoded as either two or three UTF-8 characters on two or three octets, each character
1447 * representing a decimal digit starting with the first MNC digit.
1448 * - The Location Area Code (LAC) is encoded next using four UTF-8 characters on four octets, each character
1449 * representing a hexadecimal digit of the LAC which is two binary octets long.
1450 * - The Routing Area Code (RAC) is encoded last using two UTF-8 characters on two octets, each character
1451 * representing a hexadecimal digit of the RAC which is one binary octet long.
1452 * NOTE: As an example, a RAI with the following information: MCC=123, MNC=45, LAC=41655(0xA2C1) and
1453 * RAC=10(0x0A) is encoded within the RAI AVP as a UTF-8 string of "12345A2C10A".
1457 dissect_diameter_3gpp_rai(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data
)
1459 diam_sub_dis_t
*diam_sub_dis
= (diam_sub_dis_t
*)data
;
1462 length
= tvb_reported_length(tvb
);
1465 diam_sub_dis
->avp_str
= wmem_strdup_printf(pinfo
->pool
, "MCC %s, MNC %s, LAC 0x%s, RAC 0x%s",
1466 tvb_get_string_enc(pinfo
->pool
, tvb
, 0, 3, ENC_UTF_8
|ENC_NA
), /* MCC 3 digits */
1467 tvb_get_string_enc(pinfo
->pool
, tvb
, 3, 3, ENC_UTF_8
|ENC_NA
), /* MNC 3 digits */
1468 tvb_get_string_enc(pinfo
->pool
, tvb
, 6, 4, ENC_UTF_8
|ENC_NA
), /* LCC 4 digits */
1469 tvb_get_string_enc(pinfo
->pool
, tvb
, 10, 2, ENC_UTF_8
|ENC_NA
) /* RAC 2 digits */
1472 diam_sub_dis
->avp_str
= wmem_strdup_printf(pinfo
->pool
, "MCC %s, MNC %s, LAC 0x%s, RAC 0x%s",
1473 tvb_get_string_enc(pinfo
->pool
, tvb
, 0, 3, ENC_UTF_8
|ENC_NA
), /* MCC 3 digits */
1474 tvb_get_string_enc(pinfo
->pool
, tvb
, 3, 2, ENC_UTF_8
|ENC_NA
), /* MNC 2 digits */
1475 tvb_get_string_enc(pinfo
->pool
, tvb
, 5, 4, ENC_UTF_8
|ENC_NA
), /* LCC 4 digits */
1476 tvb_get_string_enc(pinfo
->pool
, tvb
, 9, 2, ENC_UTF_8
|ENC_NA
) /* RAC 2 digits */
1483 /* AVP Code: 913 MBMS-Required-QoS */
1485 dissect_diameter_3gpp_mbms_required_qos(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1491 * 1 Allocation/Retention Priority as specified in 3GPP TS 23.107.
1492 * This octet encodes each priority level defined in 3GPP TS 23.107
1493 * as the binary value of the priority level. It specifies the relative
1494 * importance of the actual MBMS bearer service compared to other MBMS
1495 * and non-MBMS bearer services for allocation and retention of the
1496 * MBMS bearer service.
1497 * 2-N QoS Profile as specified by the Quality-of-Service information element,
1498 * from octet 3 onwards, in 3GPP TS 24.008
1500 proto_tree_add_item(tree
, hf_diameter_3gpp_mbms_required_qos_prio
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1502 length
= tvb_reported_length(tvb
) - 1;
1503 de_sm_qos(tvb
, tree
, pinfo
, offset
,length
, NULL
, 0);
1504 return offset
+length
;
1508 /* AVP Code: 926 MBMS-BMSC-SSM-UDP-Port */
1509 /* AVP Code: 927 MBMS-GW-UDP-Port */
1511 dissect_diameter_3gpp_udp_port(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1515 proto_tree_add_item(tree
, hf_diameter_3gpp_udp_port
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1522 /* AVP Code: 929 MBMS-Data-Transfer-Start */
1523 /* AVP Code: 930 MBMS-Data-Transfer-Stop */
1525 dissect_diameter_3gpp_mbms_abs_time_ofmbms_data_tfer(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1529 proto_tree_add_item(tree
, hf_diameter_3gpp_mbms_abs_time_ofmbms_data_tfer
, tvb
, offset
, 8, ENC_TIME_NTP
| ENC_BIG_ENDIAN
);
1535 /* AVP Code: 1082 Credit-Management-Status */
1537 dissect_diameter_3gpp_credit_management_status(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1539 static int * const flags
[] = {
1540 &hf_diameter_3gpp_cms_spare_bits
,
1541 &hf_diameter_3gpp_cms_no_gyn_session_serv_not_allowed
,
1542 &hf_diameter_3gpp_cms_no_gyn_session_serv_allowed
,
1543 &hf_diameter_3gpp_cms_rating_failed
,
1544 &hf_diameter_3gpp_cms_user_unknown
,
1545 &hf_diameter_3gpp_cms_auth_rej
,
1546 &hf_diameter_3gpp_cms_credit_ctrl_not_applicable
,
1547 &hf_diameter_3gpp_cms_end_user_serv_status
,
1552 proto_tree
*subtree
= proto_tree_add_subtree(tree
, tvb
, 0, 4, ett_diameter_3gpp_cms
, NULL
, "Credit-Management-Status bit mask");
1553 proto_tree_add_bitmask_list(subtree
, tvb
, 0, 4, flags
, ENC_BIG_ENDIAN
);
1557 /* AVP Code: 1242 location estimate */
1559 dissect_diameter_3gpp_location_estimate(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1561 dissect_geographical_description(tvb
, pinfo
, tree
);
1563 return tvb_reported_length(tvb
);
1566 /* AVP Code: 1263 Access-Network-Information
1568 * The Access-Network-Information AVP (AVP code 1263) is of type OctetString
1569 * and indicates one instance of the SIP P-header "P-Access-Network-Info".
1570 * In SIP, as per RFC 7315 [404], the content of the "P-Access-Network-Info"
1571 * header is known as the access-net-spec.
1574 dissect_diameter_3gpp_access_network_information(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1577 int length
= tvb_reported_length(tvb
);
1579 dissect_sip_p_access_network_info_header(tvb
, pinfo
, tree
, offset
, length
);
1584 /* AVP Code: 1304 Secondary-RAT-Type
1587 static const value_string diameter_3gpp_secondary_rat_type_vals
[] = {
1593 dissect_diameter_3gpp_secondary_rat_type(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1596 int length
= tvb_reported_length(tvb
);
1598 proto_tree_add_item(tree
, hf_diameter_3gpp_secondary_rat_type
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1603 /* Helper function returning the main bitrates in kbps */
1605 qos_calc_bitrate(uint8_t oct
)
1610 return 64 + (oct
- 0x40) * 8;
1612 return 576 + (oct
- 0x80) * 64;
1615 /* Helper function returning the extended bitrates in kbps */
1617 qos_calc_ext_bitrate(uint8_t oct
)
1620 return 8600 + oct
* 100;
1622 return 16000 + (oct
- 0x4a) * 1000;
1624 return 128000 + (oct
- 0xba) * 2000;
1629 * 7.3.77 QoS-Subscribed
1630 * AVP Code: 1404 QoS-Subscribed
1632 * The QoS-Subscribed AVP is of type OctetString. Octets are coded according to 3GPP TS 29.002
1633 * (octets of QoS-Subscribed, Ext-QoS-Subscribed, Ext2-QoS-Subscribed, Ext3-QoS-Subscribed and
1634 * Ext4-QoS-Subscribed values are concatenated).
1638 dissect_diameter_3ggp_qos_susbscribed(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
1640 unsigned offset
= 0;
1641 unsigned length
= tvb_reported_length(tvb
);
1642 proto_tree
*subtree
;
1644 unsigned char oct
, tmp_oct
;
1648 item
= proto_tree_add_item(tree
, hf_diameter_3gpp_qos_subscribed
, tvb
, offset
, length
, ENC_NA
);
1649 subtree
= proto_item_add_subtree(item
, ett_diameter_3gpp_qos_subscribed
);
1651 /* QoS-Subscribed:: SIZE(3)
1652 * 1-3 Octets are coded according to TS 3GPP TS 24.008 Quality of Service Octets 3-5
1655 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_reliability_cls
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1656 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_delay_cls
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1657 proto_tree_add_bits_item(subtree
, hf_diameter_3gpp_spare_bits
, tvb
, offset
<< 3, 2, ENC_BIG_ENDIAN
);
1660 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_prec_class
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1661 proto_tree_add_bits_item(subtree
, hf_diameter_3gpp_spare_bits
, tvb
, (offset
<< 3) + 4, 1, ENC_BIG_ENDIAN
);
1662 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_peak_thr
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1665 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_mean_thr
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1666 proto_tree_add_bits_item(subtree
, hf_diameter_3gpp_spare_bits
, tvb
, (offset
<< 3), 3, ENC_BIG_ENDIAN
);
1670 /* Ext-QoS-Subscribed:: SIZE(1..9)
1671 * 1 Allocation / Retention Priority (This octet encodes each priority level defined in
1672 * 23.107 as the binary value of the priority level, declaration in 29.060).
1673 * 2-9 Octets are coded according to 3GPP TS 24.008 Quality of Service Octets 6-13
1676 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_al_ret_priority
, tvb
, offset
, 1, ENC_NA
);
1681 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_del_of_err_sdu
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1682 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_del_order
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1683 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_traffic_cls
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1688 oct
= tvb_get_uint8(tvb
, offset
);
1690 case 0x00: str
= "Subscribed maximum SDU size (MS to net); Reserved (net to MS)"; break;
1691 case 0x97: str
= "1502 octets"; break;
1692 case 0x98: str
= "1510 octets"; break;
1693 case 0x99: str
= "1520 octets"; break;
1694 case 0xff: str
= "Reserved"; break;
1695 default: str
= "Unspecified/Reserved";
1698 if ((oct
>= 1) && (oct
<= 0x96))
1699 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_maximum_sdu_size
, tvb
, offset
, 1, oct
, "%u octets (%u)", oct
* 10, oct
);
1701 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_maximum_sdu_size
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1707 oct
= tvb_get_uint8(tvb
, offset
);
1710 case 0x00: str
= "Subscribed maximum bit rate for uplink (MS to net); Reserved (net to MS)"; break;
1711 case 0xfe: str
= "8640 kbps; Check extended"; break;
1712 case 0xff: str
= "0 kbps"; break;
1713 default: str
= wmem_strdup_printf(pinfo
->pool
, "%u kbps", qos_calc_bitrate(oct
));
1716 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_max_bitrate_upl
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1721 oct
= tvb_get_uint8(tvb
, offset
);
1724 case 0x00: str
= "Subscribed maximum bit rate for downlink (MS to net); Reserved (net to MS)"; break;
1725 case 0xfe: str
= "8640 kbps; Check extended"; break;
1726 case 0xff: str
= "0 kbps"; break;
1727 default: str
= wmem_strdup_printf(pinfo
->pool
, "%u kbps", qos_calc_bitrate(oct
));
1730 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_max_bitrate_downl
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1735 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_sdu_err_rat
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1736 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_ber
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1741 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_traff_hdl_pri
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1743 oct
= tvb_get_uint8(tvb
, offset
);
1746 case 0x00: str
= "Subscribed transfer delay (MS to net); Reserved (net to MS)"; break;
1747 case 0x3f: str
= "Reserved"; break;
1750 tmp32
= tmp_oct
* 10;
1751 else if (oct
<= 0x1f)
1752 tmp32
= (tmp_oct
- 0x10) * 50 + 200;
1754 tmp32
= (tmp_oct
- 0x20) * 100 + 1000;
1755 str
= wmem_strdup_printf(pinfo
->pool
, "%u ms", tmp32
);
1757 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_trans_delay
, tvb
, offset
, 1, oct
, "%s (%u)", str
, tmp_oct
);
1762 oct
= tvb_get_uint8(tvb
, offset
);
1765 case 0x00: str
= "Subscribed guaranteed bit rate for uplink (MS to net); Reserved (net to MS)"; break;
1766 case 0xfe: str
= "8640 kbps; Check extended"; break;
1767 case 0xff: str
= "0 kbps"; break;
1768 default: str
= wmem_strdup_printf(pinfo
->pool
, "%u kbps", qos_calc_bitrate(oct
));
1771 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_guar_bitrate_upl
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1776 oct
= tvb_get_uint8(tvb
, offset
);
1779 case 0x00: str
= "Subscribed guaranteed bit rate for downlink (MS to net); Reserved (net to MS)"; break;
1780 case 0xfe: str
= "8640 kbps; Check extended"; break;
1781 case 0xff: str
= "0 kbps"; break;
1782 default: str
= wmem_strdup_printf(pinfo
->pool
, "%u kbps", qos_calc_bitrate(oct
));
1785 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_guar_bitrate_downl
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1789 /* Ext2-QoS-Subscribed:: SIZE(1..3)
1790 * 1-3 Octets are coded according to 3GPP TS 24.008 Quality of Service Octets 14-16
1793 oct
= tvb_get_uint8(tvb
, offset
);
1794 tmp_oct
= oct
& 0x0f;
1795 if (tmp_oct
== 0x01)
1796 str
= "speech (MS to net); spare bits (net to MS)";
1798 str
= "unknown (MS to net); spare bits (net to MS)";
1800 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_source_stat_desc
, tvb
, offset
, 1, oct
, "%s (%u)", str
, tmp_oct
);
1801 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_signalling_ind
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1802 proto_tree_add_bits_item(subtree
, hf_diameter_3gpp_spare_bits
, tvb
, (offset
<< 3), 3, ENC_BIG_ENDIAN
);
1807 oct
= tvb_get_uint8(tvb
, offset
);
1810 str
= "Use the value indicated by the Maximum bit rate for downlink";
1811 else if (oct
> 0xfa) /* shouldn't go past 256 MBps */
1813 else if (oct
== 0xfa)
1814 str
= "256 Mbps; Check extended 2";
1816 tmp32
= qos_calc_ext_bitrate(oct
);
1818 str
= wmem_strdup_printf(pinfo
->pool
, "%u Mbps", tmp32
/ 1000);
1820 str
= wmem_strdup_printf(pinfo
->pool
, "%u kbps", tmp32
);
1822 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_max_bitrate_downl_ext
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1827 oct
= tvb_get_uint8(tvb
, offset
);
1830 str
= "Use the value indicated by the Guaranteed bit rate for downlink";
1831 else if (oct
> 0xfa) /* shouldn't go past 256 MBps */
1833 else if (oct
== 0xfa)
1834 str
= "256 Mbps; Check extended 2";
1836 tmp32
= qos_calc_ext_bitrate(oct
);
1838 str
= wmem_strdup_printf(pinfo
->pool
, "%u Mbps", tmp32
/ 1000);
1840 str
= wmem_strdup_printf(pinfo
->pool
, "%u kbps", tmp32
);
1842 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_guar_bitrate_downl_ext
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1846 /* Ext3-QoS-Susbcribed:: SIZE(1..2)
1847 * 1-2 Octets are coded according to 3GPP TS 24.008 Quality of Service Octets 17-18
1850 oct
= tvb_get_uint8(tvb
, offset
);
1853 str
= "Use the value indicated by the Maximum bit rate for uplink";
1854 else if (oct
> 0xfa) /* shouldn't go past 256 MBps */
1856 else if (oct
== 0xfa)
1857 str
= "256 Mbps; Check extended 2";
1859 tmp32
= qos_calc_ext_bitrate(oct
);
1861 str
= wmem_strdup_printf(pinfo
->pool
, "%u Mbps", tmp32
/ 1000);
1863 str
= wmem_strdup_printf(pinfo
->pool
, "%u kbps", tmp32
);
1865 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_max_bitrate_upl_ext
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1870 oct
= tvb_get_uint8(tvb
, offset
);
1873 str
= "Use the value indicated by the Guaranteed bit rate for uplink";
1874 else if (oct
> 0xfa) /* shouldn't go past 256 MBps */
1876 else if (oct
== 0xfa)
1877 str
= "256 Mbps; Check extended 2";
1879 tmp32
= qos_calc_ext_bitrate(oct
);
1881 str
= wmem_strdup_printf(pinfo
->pool
, "%u Mbps", tmp32
/ 1000);
1883 str
= wmem_strdup_printf(pinfo
->pool
, "%u kbps", tmp32
);
1885 proto_tree_add_uint_format_value(subtree
, hf_diameter_3gpp_qos_guar_bitrate_upl_ext
, tvb
, offset
, 1, oct
, "%s (%u)", str
, oct
);
1889 /* Ext4-QoS-Subscribed:: SIZE(1)
1890 * 1 Evolved Allocation / Retention Priority. This octet encodes the Priority Level (PL),
1891 * the Preemption Capability (PCI) and Preemption Vulnerability (PVI) values, as described
1892 * in 3GPP TS 29.060.
1896 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_pre_emption_vulnerability
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1897 proto_tree_add_bits_item(subtree
, hf_diameter_3gpp_spare_bits
, tvb
, (offset
<< 3) + 6 , 1, ENC_BIG_ENDIAN
);
1898 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_priority_level
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1899 proto_tree_add_item(subtree
, hf_diameter_3gpp_qos_pre_emption_capability
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
1900 proto_tree_add_bits_item(subtree
, hf_diameter_3gpp_spare_bits
, tvb
, (offset
<< 3), 1, ENC_BIG_ENDIAN
);
1909 * AVP Code: 1405 ULR-Flags
1912 dissect_diameter_3gpp_ulr_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
1914 static int * const flags
[] = {
1915 &hf_diameter_3gpp_ulr_flags_spare_bits
,
1916 &hf_diameter_3gpp_ulr_flags_bit8
,
1917 &hf_diameter_3gpp_ulr_flags_bit7
,
1918 &hf_diameter_3gpp_ulr_flags_bit6
,
1919 &hf_diameter_3gpp_ulr_flags_bit5
,
1920 &hf_diameter_3gpp_ulr_flags_bit4
,
1921 &hf_diameter_3gpp_ulr_flags_bit3
,
1922 &hf_diameter_3gpp_ulr_flags_bit2
,
1923 &hf_diameter_3gpp_ulr_flags_bit1
,
1924 &hf_diameter_3gpp_ulr_flags_bit0
,
1928 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
1930 /* Hide the item created in packet-diameter.c and only show the one created here */
1931 proto_item_set_hidden(diam_sub_dis_inf
->item
);
1933 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_ulr_flags
, ett_diameter_3gpp_ulr_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1937 /* AVP Code: 1406 ULA-Flags */
1939 dissect_diameter_3gpp_ula_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
1941 static int * const flags
[] = {
1942 &hf_diameter_3gpp_ula_flags_spare_bits
,
1943 &hf_diameter_3gpp_ula_flags_bit1
,
1944 &hf_diameter_3gpp_ula_flags_bit0
,
1948 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
1950 /* Hide the item created in packet-diameter.c and only show the one created here */
1951 proto_item_set_hidden(diam_sub_dis_inf
->item
);
1953 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_ula_flags
, ett_diameter_3gpp_ula_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
1957 /* AVP Code: 1407 Visited-PLMN-Id */
1959 dissect_diameter_3gpp_visited_plmn_id(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data
)
1961 int length
= tvb_reported_length(tvb
);
1962 diam_sub_dis_t
*diam_sub_dis
= (diam_sub_dis_t
*)data
;
1965 diam_sub_dis
->avp_str
= dissect_e212_mcc_mnc_wmem_packet_str(tvb
, pinfo
, tree
, 0, E212_NONE
, true);
1967 proto_tree_add_expert(tree
, pinfo
, &ei_diameter_3gpp_plmn_id_wrong_len
, tvb
, 0, length
);
1975 * AVP Code: 1421 DSR-Flags
1978 dissect_diameter_3gpp_dsr_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
1980 static int * const flags
[] = {
1981 &hf_diameter_3gpp_dsr_flags_bit31
,
1982 &hf_diameter_3gpp_dsr_flags_bit30
,
1983 &hf_diameter_3gpp_dsr_flags_bit29
,
1984 &hf_diameter_3gpp_dsr_flags_bit28
,
1985 &hf_diameter_3gpp_dsr_flags_bit27
,
1986 &hf_diameter_3gpp_dsr_flags_bit26
,
1987 &hf_diameter_3gpp_dsr_flags_bit25
,
1988 &hf_diameter_3gpp_dsr_flags_bit24
,
1989 &hf_diameter_3gpp_dsr_flags_bit23
,
1990 &hf_diameter_3gpp_dsr_flags_bit22
,
1991 &hf_diameter_3gpp_dsr_flags_bit21
,
1992 &hf_diameter_3gpp_dsr_flags_bit20
,
1993 &hf_diameter_3gpp_dsr_flags_bit19
,
1994 &hf_diameter_3gpp_dsr_flags_bit18
,
1995 &hf_diameter_3gpp_dsr_flags_bit17
,
1996 &hf_diameter_3gpp_dsr_flags_bit16
,
1997 &hf_diameter_3gpp_dsr_flags_bit15
,
1998 &hf_diameter_3gpp_dsr_flags_bit14
,
1999 &hf_diameter_3gpp_dsr_flags_bit13
,
2000 &hf_diameter_3gpp_dsr_flags_bit12
,
2001 &hf_diameter_3gpp_dsr_flags_bit11
,
2002 &hf_diameter_3gpp_dsr_flags_bit10
,
2003 &hf_diameter_3gpp_dsr_flags_bit9
,
2004 &hf_diameter_3gpp_dsr_flags_bit8
,
2005 &hf_diameter_3gpp_dsr_flags_bit7
,
2006 &hf_diameter_3gpp_dsr_flags_bit6
,
2007 &hf_diameter_3gpp_dsr_flags_bit5
,
2008 &hf_diameter_3gpp_dsr_flags_bit4
,
2009 &hf_diameter_3gpp_dsr_flags_bit3
,
2010 &hf_diameter_3gpp_dsr_flags_bit2
,
2011 &hf_diameter_3gpp_dsr_flags_bit1
,
2012 &hf_diameter_3gpp_dsr_flags_bit0
,
2016 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2018 /* Hide the item created in packet-diameter.c and only show the one created here */
2019 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2021 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_dsr_flags
, ett_diameter_3gpp_dsr_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2025 /* AVP Code: 1422 DSA-Flags */
2027 dissect_diameter_3gpp_dsa_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2029 static int * const flags
[] = {
2030 &hf_diameter_3gpp_dsa_flags_spare_bits
,
2031 &hf_diameter_3gpp_dsa_flags_bit0
,
2035 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2037 /* Hide the item created in packet-diameter.c and only show the one created here */
2038 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2040 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_dsa_flags
, ett_diameter_3gpp_dsa_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2044 /* AVP Code: 1426 Access-Restriction-Data */
2046 dissect_diameter_3gpp_acc_res_data(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2048 static int * const flags
[] = {
2049 &hf_diameter_3gpp_acc_res_dat_flags_spare_bits
,
2050 &hf_diameter_3gpp_acc_res_dat_flags_bit12
,
2051 &hf_diameter_3gpp_acc_res_dat_flags_bit11
,
2052 &hf_diameter_3gpp_acc_res_dat_flags_bit10
, /* NR in 5GS Not Allowed*/
2053 &hf_diameter_3gpp_acc_res_dat_flags_bit9
,
2054 &hf_diameter_3gpp_acc_res_dat_flags_bit8
,
2055 &hf_diameter_3gpp_acc_res_dat_flags_bit7
,
2056 &hf_diameter_3gpp_acc_res_dat_flags_bit6
,
2057 &hf_diameter_3gpp_acc_res_dat_flags_bit5
,
2058 &hf_diameter_3gpp_acc_res_dat_flags_bit4
,
2059 &hf_diameter_3gpp_acc_res_dat_flags_bit3
,
2060 &hf_diameter_3gpp_acc_res_dat_flags_bit2
,
2061 &hf_diameter_3gpp_acc_res_dat_flags_bit1
,
2062 &hf_diameter_3gpp_acc_res_dat_flags_bit0
,
2066 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2068 /* Hide the item created in packet-diameter.c and only show the one created here */
2069 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2071 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_acc_res_dat_flags
, ett_diameter_3gpp_dsa_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2076 /* AVP Code: 1441 IDA-Flags */
2078 dissect_diameter_3gpp_ida_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
2080 static int * const flags
[] = {
2081 &hf_diameter_3gpp_ida_flags_spare_bits
,
2082 &hf_diameter_3gpp_ida_flags_bit0
,
2086 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_ida_flags
, ett_diameter_3gpp_ida_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2090 /* AVP Code: 1442 PUA-Flags */
2092 dissect_diameter_3gpp_pua_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2094 static int * const flags
[] = {
2095 &hf_diameter_3gpp_pua_flags_spare_bits
,
2096 &hf_diameter_3gpp_pua_flags_bit1
,
2097 &hf_diameter_3gpp_pua_flags_bit0
,
2101 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2103 /* Hide the item created in packet-diameter.c and only show the one created here */
2104 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2106 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_pua_flags
, ett_diameter_3gpp_pua_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2110 /* AVP Code: 1443 NOR-Flags */
2112 dissect_diameter_3gpp_nor_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2114 static int * const flags
[] = {
2115 &hf_diameter_3gpp_nor_flags_spare_bits
,
2116 &hf_diameter_3gpp_nor_flags_bit9
,
2117 &hf_diameter_3gpp_nor_flags_bit8
,
2118 &hf_diameter_3gpp_nor_flags_bit7
,
2119 &hf_diameter_3gpp_nor_flags_bit6
,
2120 &hf_diameter_3gpp_nor_flags_bit5
,
2121 &hf_diameter_3gpp_nor_flags_bit4
,
2122 &hf_diameter_3gpp_nor_flags_bit3
,
2123 &hf_diameter_3gpp_nor_flags_bit2
,
2124 &hf_diameter_3gpp_nor_flags_bit1
,
2125 &hf_diameter_3gpp_nor_flags_bit0
,
2129 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2131 /* Hide the item created in packet-diameter.c and only show the one created here */
2132 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2135 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_nor_flags
, ett_diameter_3gpp_nor_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2139 /* AVP Code: 1474 GMLC-NUMBER */
2141 dissect_diameter_3gpp_isdn(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
2144 int length
= tvb_reported_length(tvb
);
2146 dissect_e164_isdn(tvb
, tree
, offset
, length
, E164_ENC_BCD
);
2151 /* AVP Code: 1490 IDR-Flags */
2153 dissect_diameter_3gpp_idr_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2155 static int * const flags
[] = {
2156 &hf_diameter_3gpp_idr_flags_spare_bits
,
2157 &hf_diameter_3gpp_idr_flags_bit8
,
2158 &hf_diameter_3gpp_idr_flags_bit7
,
2159 &hf_diameter_3gpp_idr_flags_bit6
,
2160 &hf_diameter_3gpp_idr_flags_bit5
,
2161 &hf_diameter_3gpp_idr_flags_bit4
,
2162 &hf_diameter_3gpp_idr_flags_bit3
,
2163 &hf_diameter_3gpp_idr_flags_bit2
,
2164 &hf_diameter_3gpp_idr_flags_bit1
,
2165 &hf_diameter_3gpp_idr_flags_bit0
,
2169 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2171 /* Hide the item created in packet-diameter.c and only show the one created here */
2172 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2174 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_idr_flags
, ett_diameter_3gpp_idr_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2178 /* AVP Code: 1508 PPR-Flags */
2180 dissect_diameter_3gpp_ppr_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2182 static int * const flags
[] = {
2183 &hf_diameter_3gpp_ppr_flags_spare_bits
,
2184 &hf_diameter_3gpp_ppr_flags_bit3
,
2185 &hf_diameter_3gpp_ppr_flags_bit2
,
2186 &hf_diameter_3gpp_ppr_flags_bit1
,
2187 &hf_diameter_3gpp_ppr_flags_bit0
,
2191 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2193 /* Hide the item created in packet-diameter.c and only show the one created here */
2194 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2196 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_ppr_flags
, ett_diameter_3gpp_ppr_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2200 /* AVP Code: 1518 AAA-Failure-Indication */
2201 /* TGPP TS 29.273, v14.0.0 */
2203 dissect_diameter_3gpp_aaa_fail_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2205 static int * const flags
[] = {
2206 &hf_diameter_3gpp_aaa_fail_flags_spare_bits
,
2207 &hf_diameter_3gpp_aaa_fail_flags_bit0
,
2211 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2213 /* Hide the item created in packet-diameter.c and only show the one created here */
2214 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2216 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_aaa_fail_flags
, ett_diameter_3gpp_aaa_fail_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2221 /* AVP Code: 1520 DER-Flags */
2223 dissect_diameter_3gpp_der_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2225 static int * const flags
[] = {
2226 &hf_diameter_3gpp_der_flags_spare_bits
,
2227 &hf_diameter_3gpp_der_flags_bit1
,
2228 &hf_diameter_3gpp_der_flags_bit0
,
2232 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2234 /* Hide the item created in packet-diameter.c and only show the one created here */
2235 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2237 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_der_flags
, ett_diameter_3gpp_der_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2241 /* AVP Code: 1521 DEA-Flags */
2243 dissect_diameter_3gpp_dea_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2245 static int * const flags
[] = {
2246 &hf_diameter_3gpp_dea_flags_spare_bits
,
2247 &hf_diameter_3gpp_dea_flags_bit1
,
2248 &hf_diameter_3gpp_dea_flags_bit0
,
2252 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2254 /* Hide the item created in packet-diameter.c and only show the one created here */
2255 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2257 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_dea_flags
, ett_diameter_3gpp_dea_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2261 /* AVP Code: 1522 RAR-Flags */
2263 dissect_diameter_3gpp_rar_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2265 static int * const flags
[] = {
2266 &hf_diameter_3gpp_rar_flags_spare_bits
,
2267 &hf_diameter_3gpp_rar_flags_bit1
,
2268 &hf_diameter_3gpp_rar_flags_bit0
,
2272 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2274 /* Hide the item created in packet-diameter.c and only show the one created here */
2275 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2277 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_rar_flags
, ett_diameter_3gpp_rar_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2281 /* AVP Code: 1523 DER-S6b-Flags */
2283 dissect_diameter_3gpp_der_s6b_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2285 static int * const flags
[] = {
2286 &hf_diameter_3gpp_der_s6b_flags_spare_bits
,
2287 &hf_diameter_3gpp_der_s6b_flags_bit0
,
2291 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2293 /* Hide the item created in packet-diameter.c and only show the one created here */
2294 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2297 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_der_s6b_flags
, ett_diameter_3gpp_der_s6b_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2301 /* AVP Code: 1538 Emergency-Services */
2303 dissect_diameter_3gpp_emergency_services(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2305 static int * const flags
[] = {
2306 &hf_diameter_3gpp_emergency_services_flags_spare_bits
,
2307 &hf_diameter_3gpp_emergency_services_flags_bit0
,
2311 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2313 /* Hide the item created in packet-diameter.c and only show the one created here */
2314 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2316 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_emergency_services_flags
, ett_diameter_3gpp_emergency_services_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2323 * AVP Code: 1635 PUR-Flags
2326 dissect_diameter_3gpp_pur_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2328 static int * const flags
[] = {
2329 &hf_diameter_3gpp_pur_flags_spare_bits
,
2330 &hf_diameter_3gpp_pur_flags_bit1
,
2331 &hf_diameter_3gpp_pur_flags_bit0
,
2335 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2337 /* Hide the item created in packet-diameter.c and only show the one created here */
2338 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2341 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_pur_flags
, ett_diameter_3gpp_pur_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2347 * AVP Code: 1638 CLR-Flag
2350 dissect_diameter_3gpp_clr_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2352 static int * const flags
[] = {
2353 &hf_diameter_3gpp_clr_flags_spare_bits
,
2354 &hf_diameter_3gpp_clr_flags_bit1
,
2355 &hf_diameter_3gpp_clr_flags_bit0
,
2359 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2361 /* Hide the item created in packet-diameter.c and only show the one created here */
2362 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2364 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_clr_flags
, ett_diameter_3gpp_clr_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2370 * AVP Code: 1639 UVR-Flags
2373 dissect_diameter_3gpp_uvr_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2375 static int * const flags
[] = {
2376 &hf_diameter_3gpp_uvr_flags_spare_bits
,
2377 &hf_diameter_3gpp_uvr_flags_bit0
,
2381 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2383 /* Hide the item created in packet-diameter.c and only show the one created here */
2384 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2386 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_uvr_flags
, ett_diameter_3gpp_uvr_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2392 * AVP Code: 1640 UVA-Flags
2395 dissect_diameter_3gpp_uva_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2397 static int * const flags
[] = {
2398 &hf_diameter_3gpp_uva_flags_spare_bits
,
2399 &hf_diameter_3gpp_uva_flags_bit0
,
2403 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2405 /* Hide the item created in packet-diameter.c and only show the one created here */
2406 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2408 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_uva_flags
, ett_diameter_3gpp_uva_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2413 * 7.3.159 MME-Number-for-MT-SMS
2414 * AVP Code: 1645 MME-Number-for-MT-SMS
2417 dissect_diameter_3gpp_mme_number_for_mt_sms(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
2420 int length
= tvb_reported_length(tvb
);
2422 dissect_e164_isdn(tvb
, tree
, offset
, length
, E164_ENC_BCD
);
2428 * 7.3.165 Subscription-Data-Flags
2429 * AVP Code: 1654 Subscription-Data-Flags
2432 dissect_diameter_3gpp_subscription_data_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2434 static int * const flags
[] = {
2435 &hf_diameter_3gpp_subscription_data_flags_spare_bits
,
2436 &hf_diameter_3gpp_subscription_data_flags_bit3
,
2437 &hf_diameter_3gpp_subscription_data_flags_bit2
,
2438 &hf_diameter_3gpp_subscription_data_flags_bit1
,
2439 &hf_diameter_3gpp_subscription_data_flags_bit0
,
2443 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2445 /* Hide the item created in packet-diameter.c and only show the one created here */
2446 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2448 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_subscription_data_flags
, ett_diameter_3gpp_subscription_data_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2453 * 7.3.182 WLAN-offloadability-EUTRAN
2454 * AVP Code: 1668 WLAN-offloadability-EUTRAN
2457 dissect_diameter_3gpp_wlan_offloadability_eutran(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2459 static int * const flags
[] = {
2460 &hf_diameter_3gpp_wlan_offloadability_eutran_spare_bits
,
2461 &hf_diameter_3gpp_wlan_offloadability_eutran_bit0
,
2465 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2467 /* Hide the item created in packet-diameter.c and only show the one created here */
2468 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2470 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_wlan_offloadability_eutran
, ett_diameter_3gpp_wlan_offloadability_eutran
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2475 * 7.3.183 WLAN-offloadability-EUTRAN
2476 * AVP Code: 1669 WLAN-offloadability-EUTRAN
2479 dissect_diameter_3gpp_wlan_offloadability_utran(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2481 static int * const flags
[] = {
2482 &hf_diameter_3gpp_wlan_offloadability_utran_spare_bits
,
2483 &hf_diameter_3gpp_wlan_offloadability_utran_bit0
,
2487 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2489 /* Hide the item created in packet-diameter.c and only show the one created here */
2490 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2492 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_wlan_offloadability_utran
, ett_diameter_3gpp_wlan_offloadability_utran
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2497 * 7.3.191 Group-PLMN-Id
2498 * AVP Code: 1677 Group-PLMN-Id
2501 dissect_diameter_3gpp_group_plmn_id(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data
)
2503 int length
= tvb_reported_length(tvb
);
2504 diam_sub_dis_t
*diam_sub_dis
= (diam_sub_dis_t
*)data
;
2507 diam_sub_dis
->avp_str
= dissect_e212_mcc_mnc_wmem_packet_str(tvb
, pinfo
, tree
, 0, E212_NONE
, true);
2509 proto_tree_add_expert(tree
, pinfo
, &ei_diameter_3gpp_plmn_id_wrong_len
, tvb
, 0, length
);
2518 * AVP Code: 1679 AIR-Flags
2521 dissect_diameter_3gpp_air_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2523 static int * const flags
[] = {
2524 &hf_diameter_3gpp_air_flags_spare_bits
,
2525 &hf_diameter_3gpp_air_flags_bit0
,
2529 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2531 /* Hide the item created in packet-diameter.c and only show the one created here */
2532 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2534 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_air_flags
, ett_diameter_3gpp_air_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2539 * 7.3.209 Preferred-Data-Mode
2540 * AVP Code: 1686 Preferred-Data-Mode
2543 dissect_diameter_3gpp_preferred_data_mode(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2545 static int * const flags
[] = {
2546 &hf_diameter_3gpp_preferred_data_mode_spare_bits
,
2547 &hf_diameter_3gpp_preferred_data_mode_bit1
,
2548 &hf_diameter_3gpp_preferred_data_mode_bit0
,
2552 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2554 /* Hide the item created in packet-diameter.c and only show the one created here */
2555 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2557 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_preferred_data_mode
, ett_diameter_3gpp_preferred_data_mode
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2562 * 7.3.212 V2X-Permission
2563 * AVP Code: 1689 V2X-Permission
2566 dissect_diameter_3gpp_v2x_permission(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2568 static int * const flags
[] = {
2569 &hf_diameter_3gpp_v2x_permission_spare_bits
,
2570 &hf_diameter_3gpp_v2x_permission_bit1
,
2571 &hf_diameter_3gpp_v2x_permission_bit0
,
2575 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2577 /* Hide the item created in packet-diameter.c and only show the one created here */
2578 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2580 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_v2x_permission
, ett_diameter_3gpp_v2x_permission
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2585 * 7.3.230 Core-Network-Restrictions
2586 * AVP Code: 1704 Core-Network-Restrictions
2589 dissect_diameter_3gpp_core_network_restrictions(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2591 static int * const flags
[] = {
2592 &hf_diameter_3gpp_core_network_restrictions_spare_bits
,
2593 &hf_diameter_3gpp_core_network_restrictions_bit1
,
2594 &hf_diameter_3gpp_core_network_restrictions_bit0
,
2599 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2601 /* Hide the item created in packet-diameter.c and only show the one created here */
2602 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2604 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_core_network_restrictions
, ett_diameter_3gpp_core_network_restrictions
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2608 /* AVP Code: 2510 Supported-GAD-Shapes */
2610 dissect_diameter_3gpp_supported_gad_shapes(tvbuff_t
* tvb
, packet_info
* pinfo _U_
, proto_tree
* tree
, void* data
)
2612 static int* const flags
[] = {
2613 &hf_diameter_3gpp_highaccuracyellipsoidpointwithaltitudeandscalableuncertaintyellipsoid_bit10
,
2614 &hf_diameter_3gpp_highaccuracyellipsoidpointwithscalableuncertaintyellipse_bit9
,
2615 &hf_diameter_3gpp_highaccuracyellipsoidpointwithaltitudeanduncertaintyellipsoid_bit8
,
2616 &hf_diameter_3gpp_highaccuracyellipsoidpointwithuncertaintyellipse_bit7
,
2617 &hf_diameter_3gpp_ellipsoidarc_bit6
,
2618 &hf_diameter_3gpp_ellipsoidpointwithaltitudeanduncertaintyelipsoid_bit5
,
2619 &hf_diameter_3gpp_ellipsoidpointwithaltitude_bit4
,
2620 &hf_diameter_3gpp_polygon_bit3
,
2621 &hf_diameter_3gpp_ellipsoidpointwithuncertaintyellipse_bit2
,
2622 &hf_diameter_3gpp_ellipsoidpointwithuncertaintycircle_bit1
,
2623 &hf_diameter_3gpp_ellipsoidpoint_bit0
,
2627 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2629 /* Hide the item created in packet-diameter.c and only show the one created here */
2630 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2632 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_supported_gad_shapes
, ett_diameter_3gpp_supported_gad_shapes
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2637 /* AVP Code: 2516 EUTRAN-Positioning-Data */
2639 dissect_diameter_3gpp_eutran_positioning_data(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
2641 return dissect_lcsap_Positioning_Data_PDU(tvb
, pinfo
, tree
, NULL
);
2644 /* AVP Code: 2530 LRR-Flags */
2646 static int * const flags[] = {
2647 &hf_diameter_3gpp_lrr_flags_spare_bits,
2648 &hf_diameter_3gpp_mo_lr_shortcircuit_req_bit2,
2649 &hf_diameter_3gpp_mo_lr_shortcircuit_ind_bit1,
2650 &hf_diameter_3gpp_Lgd_SLg_Ind_bit0,
2655 /* AVP Code: 2532 Deferred-Location-Type */
2657 dissect_diameter_3gpp_deferred_location_type(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2659 static int * const flags
[] = {
2660 &hf_diameter_3gpp_deferred_location_type_spare_bits
,
2661 &hf_diameter_3gpp_maximum_interval_exporation_bit7
,
2662 &hf_diameter_3gpp_ldr_activated_bit6
,
2663 &hf_diameter_3gpp_motion_event_bit5
,
2664 &hf_diameter_3gpp_periodic_ldr_bit4
,
2665 &hf_diameter_3gpp_being_inside_area_bit3
,
2666 &hf_diameter_3gpp_leaving_from_area_bit2
,
2667 &hf_diameter_3gpp_entering_into_area_bit1
,
2668 &hf_diameter_3gpp_ue_available_bit0
,
2672 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2674 /* Hide the item created in packet-diameter.c and only show the one created here */
2675 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2677 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_deferred_location_type
, ett_diameter_3gpp_deferred_location_type
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2682 /* AVP Code: 2545 PLR-Flags */
2684 dissect_diameter_3gpp_plr_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2686 static int * const flags
[] = {
2687 &hf_diameter_3gpp_plr_flags_spare_bits
,
2688 &hf_diameter_3gpp_delayed_location_reporting_support_indicator_bit2
,
2689 &hf_diameter_3gpp_optimized_lcs_proc_req_bit1
,
2690 &hf_diameter_3gpp_mo_lr_shortcircuit_indicator_bit0
,
2694 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2696 /* Hide the item created in packet-diameter.c and only show the one created here */
2697 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2699 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_plr_flags
, ett_diameter_3gpp_plr_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2703 /* AVP Code: 2546 PLA-Flags */
2705 dissect_diameter_3gpp_pla_flags(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2707 static int * const flags
[] = {
2708 &hf_diameter_3gpp_pla_flags_spare_bits
,
2709 &hf_diameter_3gpp_ue_transiently_not_reachable_indicator_bit3
,
2710 &hf_diameter_3gpp_optimized_lcs_proc_performed_bit2
,
2711 &hf_diameter_3gpp_mo_lr_shortcircuit_indicator_bit1
,
2712 &hf_diameter_3gpp_deferred_mt_lr_response_indicator_bit0
,
2716 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2718 /* Hide the item created in packet-diameter.c and only show the one created here */
2719 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2721 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_pla_flags
, ett_diameter_3gpp_pla_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2726 /* AVP Code: 2556 Civic-Address */
2728 dissect_diameter_3gpp_civic_address(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
2730 int length
= tvb_reported_length(tvb
);
2732 /* If there is less than 38 characters this is not XML
2733 * <?xml version="1.0" encoding="UTF-8"?>
2738 if (tvb_strncaseeql(tvb
, 0, "<?xml", 5) == 0 && xml_handle
) {
2739 call_dissector(xml_handle
, tvb
, pinfo
, tree
);
2745 /* AVP Code: 2819 RAN-NAS-Release-Cause*/
2747 static const value_string ran_nas_prot_type_vals
[] = {
2748 { 1, "S1AP Cause" },
2751 { 4, "Diameter Cause" },
2752 { 5, "IKEv2 Cause" },
2757 dissect_diameter_3gpp_ran_nas_release_cause(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data _U_
)
2760 int length
= tvb_reported_length(tvb
);
2761 uint8_t octet
= tvb_get_uint8(tvb
, offset
);
2762 uint8_t proto_type
= (octet
>> 4);
2765 proto_tree_add_item(tree
, hf_diameter_3gpp_ran_nas_protocol_type
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2767 if (proto_type
== 1) {
2768 proto_tree_add_item(tree
, hf_diameter_3gpp_ran_nas_cause_type
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2769 cause_type
= octet
& 0x0F;
2773 switch (proto_type
) {
2775 switch (cause_type
) {
2777 proto_tree_add_item(tree
, hf_diameter_3gpp_s1ap_radio_network
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2780 proto_tree_add_item(tree
, hf_diameter_3gpp_s1ap_transport
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2783 proto_tree_add_item(tree
, hf_diameter_3gpp_s1ap_nas
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2786 proto_tree_add_item(tree
, hf_diameter_3gpp_s1ap_protocol
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2789 proto_tree_add_item(tree
, hf_diameter_3gpp_s1ap_misc
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2792 proto_tree_add_item(tree
, hf_diameter_3gpp_ran_nas_cause_value
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2797 proto_tree_add_item(tree
, hf_diameter_3gpp_emm_cause
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2801 proto_tree_add_item(tree
, hf_diameter_3gpp_esm_cause
, tvb
, offset
, 1, ENC_BIG_ENDIAN
);
2805 proto_tree_add_item(tree
, hf_diameter_3gpp_diameter_cause
, tvb
, offset
, 2, ENC_BIG_ENDIAN
);
2809 proto_tree_add_item(tree
, hf_diameter_3gpp_ikev2_cause
, tvb
, offset
, 2, ENC_BIG_ENDIAN
);
2813 proto_tree_add_item(tree
, hf_diameter_3gpp_ran_nas_cause_value
, tvb
, offset
, length
- offset
, ENC_BIG_ENDIAN
);
2814 offset
+= (length
- offset
);
2821 /* AVP Code: 3144 Supported-Monitoring-Events*/
2823 dissect_diameter_3gpp_supported_monitoring_events(tvbuff_t
* tvb
, packet_info
* pinfo _U_
, proto_tree
* tree
, void* data
)
2826 static int* const flags
[] = {
2827 &hf_diameter_3gpp_supported_monitoring_events_b8
,
2828 &hf_diameter_3gpp_supported_monitoring_events_b7
,
2829 &hf_diameter_3gpp_supported_monitoring_events_b6
,
2830 &hf_diameter_3gpp_supported_monitoring_events_b5
,
2831 &hf_diameter_3gpp_supported_monitoring_events_b4
,
2832 &hf_diameter_3gpp_supported_monitoring_events_b3
,
2833 &hf_diameter_3gpp_supported_monitoring_events_b2
,
2834 &hf_diameter_3gpp_supported_monitoring_events_b1
,
2835 &hf_diameter_3gpp_supported_monitoring_events_b0
,
2839 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2841 /* Hide the item created in packet-diameter.c and only show the one created here */
2842 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2843 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_supported_monitoring_events
, ett_diameter_3gpp_supported_monitoring_events
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2848 /* AVP Code: 3167 RIR-Flags */
2850 dissect_diameter_3gpp_rir_flags(tvbuff_t
* tvb
, packet_info
* pinfo _U_
, proto_tree
* tree
, void* data
)
2852 static int* const flags
[] = {
2853 &hf_diameter_3gpp_rir_spare_b31_b4
,
2854 &hf_diameter_3gpp_acpc
,
2855 &hf_diameter_3gpp_coame
,
2856 &hf_diameter_3gpp_amec
,
2857 &hf_diameter_3gpp_gcip
,
2861 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2863 /* Hide the item created in packet-diameter.c and only show the one created here */
2864 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2865 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_rir_flags
, ett_diameter_3gpp_rir_flags
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2869 /* AVP Code: 3301 SM-RP-UI */
2872 dissect_diameter_3gpp_sm_rp_ui(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
2874 int length
= tvb_reported_length(tvb
);
2875 diam_sub_dis_t
*diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2877 bool save_writable
= col_get_writable(pinfo
->cinfo
, -1 /* All */);
2878 bool parent_message_is_request
= true;
2880 if (diam_sub_dis_inf
) {
2881 cmd
= diam_sub_dis_inf
->cmd_code
;
2882 parent_message_is_request
= diam_sub_dis_inf
->parent_message_is_request
;
2885 col_set_writable(pinfo
->cinfo
, -1, false);
2887 if ((length
> 0) && (cmd
!= 0)) {
2890 /* Command Code: 8388645 MO-Forward-Short-Message
2891 * serving MME or SGSN or IP-SM-GW and the SMS-IWMSC to forward
2892 * mobile originated short messages from a mobile user to a Service Centre
2895 if (parent_message_is_request
) {
2896 pinfo
->p2p_dir
= P2P_DIR_RECV
;
2898 pinfo
->p2p_dir
= P2P_DIR_SENT
;
2900 call_dissector(gsm_sms_handle
, tvb
, pinfo
, tree
);
2903 /* code="8388646 MT Forward Short Message
2904 * SMS-GMSC and the serving MME or SGSN(transiting an SMS Router, if present)
2905 * or IP-SM-GW to forward mobile terminated short messages.
2907 if (parent_message_is_request
) {
2908 pinfo
->p2p_dir
= P2P_DIR_SENT
;
2910 pinfo
->p2p_dir
= P2P_DIR_RECV
;
2912 call_dissector(gsm_sms_handle
, tvb
, pinfo
, tree
);
2919 col_set_writable(pinfo
->cinfo
, -1, save_writable
);
2926 /* AVP Code: 3502 MBMS-Bearer-Event */
2928 dissect_diameter_3gpp_mbms_bearer_event(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2930 static int * const flags
[] = {
2931 &hf_diameter_3gpp_mbms_bearer_event_spare_bits
,
2932 &hf_diameter_3gpp_mbms_bearer_event_bit2
,
2933 &hf_diameter_3gpp_mbms_bearer_event_bit1
,
2934 &hf_diameter_3gpp_mbms_bearer_event_bit0
,
2938 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2940 /* Hide the item created in packet-diameter.c and only show the one created here */
2941 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2943 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_mbms_bearer_event
, ett_diameter_3gpp_mbms_bearer_event
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2947 /* AVP Code: 3506 MBMS-Bearer-Result */
2949 dissect_diameter_3gpp_mbms_bearer_result(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2951 static int * const flags
[] = {
2952 &hf_diameter_3gpp_mbms_bearer_result_spare_bits
,
2953 &hf_diameter_3gpp_mbms_bearer_result_bit11
,
2954 &hf_diameter_3gpp_mbms_bearer_result_bit10
,
2955 &hf_diameter_3gpp_mbms_bearer_result_bit9
,
2956 &hf_diameter_3gpp_mbms_bearer_result_bit8
,
2957 &hf_diameter_3gpp_mbms_bearer_result_bit7
,
2958 &hf_diameter_3gpp_mbms_bearer_result_bit6
,
2959 &hf_diameter_3gpp_mbms_bearer_result_bit5
,
2960 &hf_diameter_3gpp_mbms_bearer_result_bit4
,
2961 &hf_diameter_3gpp_mbms_bearer_result_bit3
,
2962 &hf_diameter_3gpp_mbms_bearer_result_bit2
,
2963 &hf_diameter_3gpp_mbms_bearer_result_bit1
,
2964 &hf_diameter_3gpp_mbms_bearer_result_bit0
,
2968 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2970 /* Hide the item created in packet-diameter.c and only show the one created here */
2971 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2973 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_mbms_bearer_result
, ett_diameter_3gpp_mbms_bearer_result
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
2977 /* AVP Code: 3511 TMGI-Allocation-Result */
2979 dissect_diameter_3gpp_tmgi_allocation_result(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
2981 static int * const flags
[] = {
2982 &hf_diameter_3gpp_tmgi_allocation_result_spare_bits
,
2983 &hf_diameter_3gpp_tmgi_allocation_result_bit4
,
2984 &hf_diameter_3gpp_tmgi_allocation_result_bit3
,
2985 &hf_diameter_3gpp_tmgi_allocation_result_bit2
,
2986 &hf_diameter_3gpp_tmgi_allocation_result_bit1
,
2987 &hf_diameter_3gpp_tmgi_allocation_result_bit0
,
2991 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
2993 /* Hide the item created in packet-diameter.c and only show the one created here */
2994 proto_item_set_hidden(diam_sub_dis_inf
->item
);
2996 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_tmgi_allocation_result
, ett_diameter_3gpp_tmgi_allocation_result
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
3000 /* AVP Code: 3514 TMGI-Deallocation-Result */
3002 dissect_diameter_3gpp_tmgi_deallocation_result(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, void *data
)
3004 static int * const flags
[] = {
3005 &hf_diameter_3gpp_tmgi_deallocation_result_spare_bits
,
3006 &hf_diameter_3gpp_tmgi_deallocation_result_bit2
,
3007 &hf_diameter_3gpp_tmgi_deallocation_result_bit1
,
3008 &hf_diameter_3gpp_tmgi_deallocation_result_bit0
,
3012 diam_sub_dis_t
* diam_sub_dis_inf
= (diam_sub_dis_t
*)data
;
3014 /* Hide the item created in packet-diameter.c and only show the one created here */
3015 proto_item_set_hidden(diam_sub_dis_inf
->item
);
3017 proto_tree_add_bitmask_with_flags(tree
, tvb
, 0, hf_diameter_3gpp_tmgi_deallocation_result
, ett_diameter_3gpp_tmgi_deallocation_result
, flags
, ENC_BIG_ENDIAN
, BMT_NO_APPEND
);
3023 proto_reg_handoff_diameter_3gpp(void)
3026 /* AVP Code: 5 3GPP-GPRS Negotiated QoS profile */
3027 /* Registered by packet-gtp.c */
3029 /* AVP Code: 8 3GPP-IMSI-MNC-MCC */
3030 dissector_add_uint("diameter.3gpp", 8, create_dissector_handle(dissect_diameter_3gpp_imsi_mnc_mcc
, proto_diameter_3gpp
));
3032 /* AVP Code: 15 3GPP-SGSN-IPv6-Address */
3033 dissector_add_uint("diameter.3gpp", 15, create_dissector_handle(dissect_diameter_3gpp_sgsn_ipv6_address
, proto_diameter_3gpp
));
3035 /* AVP Code: 18 3GPP-SGSN-MNC-MCC */
3036 dissector_add_uint("diameter.3gpp", 18, create_dissector_handle(dissect_diameter_3gpp_sgsn_mnc_mcc
, proto_diameter_3gpp
));
3038 /* AVP Code: 21 3GPP-RAT-Access-Type */
3039 dissector_add_uint("diameter.3gpp", 21, create_dissector_handle(dissect_diameter_3gpp_rat_type
, proto_diameter_3gpp
));
3042 /* AVP Code: 22 3GPP-User-Location-Info
3043 * Registered by packet-gtpv2.c
3046 /* AVP Code: 23 3GPP-MS-TimeZone */
3047 dissector_add_uint("diameter.3gpp", 23, create_dissector_handle(dissect_diameter_3gpp_ms_timezone
, proto_diameter_3gpp
));
3049 /* AVP Code: 29 3GPP-TWAN-Identifier */
3050 dissector_add_uint("diameter.3gpp", 29, create_dissector_handle(dissect_diameter_3gpp_twan_identifier
, proto_diameter_3gpp
));
3052 /* AVP Code: 524 Codec-Data */
3053 dissector_add_uint("diameter.3gpp", 524, create_dissector_handle(dissect_diameter_3gpp_codec_data
, proto_diameter_3gpp
));
3055 /* AVP Code: 551 AF-Requested-Data */
3056 dissector_add_uint("diameter.3gpp", 551, create_dissector_handle(dissect_diameter_3gpp_af_requested_data
, proto_diameter_3gpp
));
3058 /* AVP Code: 601 Public-Identity */
3059 dissector_add_uint("diameter.3gpp", 601, create_dissector_handle(dissect_diameter_3gpp_public_identity
, proto_diameter_3gpp
));
3061 /* AVP Code: 606 User-Data */
3062 dissector_add_uint("diameter.3gpp", 606, create_dissector_handle(dissect_diameter_3gpp_user_data
, proto_diameter_3gpp
));
3064 /* AVP Code: 629 Feature-List */
3065 dissector_add_uint("diameter.3gpp", 629, create_dissector_handle(dissect_diameter_3gpp_feature_list_id
, proto_diameter_3gpp
));
3067 /* AVP Code: 630 Feature-List */
3068 dissector_add_uint("diameter.3gpp", 630, create_dissector_handle(dissect_diameter_3gpp_feature_list
, proto_diameter_3gpp
));
3070 /* AVP Code: 637 UAR-Flags */
3071 dissector_add_uint("diameter.3gpp", 637, create_dissector_handle(dissect_diameter_3gpp_uar_flags
, proto_diameter_3gpp
));
3073 /* AVP Code: 640 Path */
3074 dissector_add_uint("diameter.3gpp", 640, create_dissector_handle(dissect_diameter_3gpp_path
, proto_diameter_3gpp
));
3076 /* AVP Code: 641 Contact */
3077 dissector_add_uint("diameter.3gpp", 641, create_dissector_handle(dissect_diameter_3gpp_contact
, proto_diameter_3gpp
));
3079 /* AVP Code: 655 SAR-Flags */
3080 dissector_add_uint("diameter.3gpp", 655, create_dissector_handle(dissect_diameter_3gpp_sar_flags
, proto_diameter_3gpp
));
3082 /* AVP Code: 701 MSISDN */
3083 dissector_add_uint("diameter.3gpp", 701, create_dissector_handle(dissect_diameter_3gpp_msisdn
, proto_diameter_3gpp
));
3085 /* AVP Code: 702 User-Data */
3086 dissector_add_uint("diameter.3gpp", 702, create_dissector_handle(dissect_diameter_3gpp_user_data
, proto_diameter_3gpp
));
3088 /* AVP Code: 713 Requested-Nodes */
3089 dissector_add_uint("diameter.3gpp", 713, create_dissector_handle(dissect_diameter_3gpp_req_nodes
, proto_diameter_3gpp
));
3091 /* AVP Code: 900 TMGI */
3092 dissector_add_uint("diameter.3gpp", 900, create_dissector_handle(dissect_diameter_3gpp_tmgi
, proto_diameter_3gpp
));
3094 /* AVP Code: 904 MBMS-Session-Duration Registered by packet-gtp.c */
3095 /* AVP Code: 903 MBMS-Service-Area Registered by packet-gtp.c */
3097 /* AVP Code: 909 RAI */
3098 dissector_add_uint("diameter.3gpp", 909, create_dissector_handle(dissect_diameter_3gpp_rai
, proto_diameter_3gpp
));
3100 /* AVP Code: 911 MBMS-Time-To-Data-Transfer Registered by packet-gtp.c */
3101 /* Registered by packet-gtp.c */
3103 /* AVP Code: 913 MBMS-Required-QoS */
3104 dissector_add_uint("diameter.3gpp", 913, create_dissector_handle(dissect_diameter_3gpp_mbms_required_qos
, proto_diameter_3gpp
));
3106 /* AVP Code: 917 MBMS-GGSN-IPv6-Address */
3107 dissector_add_uint("diameter.3gpp", 917, create_dissector_handle(dissect_diameter_3gpp_ipv6addr
, proto_diameter_3gpp
));
3109 /* AVP Code: 918 MBMS-BMSC-SSM-IP-Address */
3110 dissector_add_uint("diameter.3gpp", 918, create_dissector_handle(dissect_diameter_3gpp_ipaddr
, proto_diameter_3gpp
));
3112 /* AVP Code: 926 MBMS-BMSC-SSM-UDP-Port */
3113 /* AVP Code: 927 MBMS-GW-UDP-Port */
3114 dissector_add_uint("diameter.3gpp", 926, create_dissector_handle(dissect_diameter_3gpp_udp_port
, proto_diameter_3gpp
));
3115 dissector_add_uint("diameter.3gpp", 927, create_dissector_handle(dissect_diameter_3gpp_udp_port
, proto_diameter_3gpp
));
3117 /* AVP Code: 929 MBMS-Data-Transfer-Start */
3118 dissector_add_uint("diameter.3gpp", 929, create_dissector_handle(dissect_diameter_3gpp_mbms_abs_time_ofmbms_data_tfer
, proto_diameter_3gpp
));
3120 /* AVP Code: 930 MBMS-Data-Transfer-Stop */
3121 dissector_add_uint("diameter.3gpp", 930, create_dissector_handle(dissect_diameter_3gpp_mbms_abs_time_ofmbms_data_tfer
, proto_diameter_3gpp
));
3123 /* AVP Code: 1082 Credit-Management-Status */
3124 dissector_add_uint("diameter.3gpp", 1082, create_dissector_handle(dissect_diameter_3gpp_credit_management_status
, proto_diameter_3gpp
));
3126 /* AVP Code: 1242 location estimate */
3127 dissector_add_uint("diameter.3gpp", 1242, create_dissector_handle(dissect_diameter_3gpp_location_estimate
, proto_diameter_3gpp
));
3129 /* AVP Code: 1263 Access-Network-Information */
3130 dissector_add_uint("diameter.3gpp", 1263, create_dissector_handle(dissect_diameter_3gpp_access_network_information
, proto_diameter_3gpp
));
3132 /* AVP Code: 1304 Secondary-RAT-Type */
3133 dissector_add_uint("diameter.3gpp", 1304, create_dissector_handle(dissect_diameter_3gpp_secondary_rat_type
, proto_diameter_3gpp
));
3135 /* AVP Code: 1404 QoS-Subscribed */
3136 dissector_add_uint("diameter.3gpp", 1404, create_dissector_handle(dissect_diameter_3ggp_qos_susbscribed
, proto_diameter_3gpp
));
3138 /* AVP Code: 1405 ULR-Flags */
3139 dissector_add_uint("diameter.3gpp", 1405, create_dissector_handle(dissect_diameter_3gpp_ulr_flags
, proto_diameter_3gpp
));
3141 /* AVP Code: 1406 ULA-Flags */
3142 dissector_add_uint("diameter.3gpp", 1406, create_dissector_handle(dissect_diameter_3gpp_ula_flags
, proto_diameter_3gpp
));
3144 /*AVP Code: 1407 Visited-PLMN-Id */
3145 dissector_add_uint("diameter.3gpp", 1407, create_dissector_handle(dissect_diameter_3gpp_visited_plmn_id
, proto_diameter_3gpp
));
3147 /* AVP Code: 1421 DSR-Flags */
3148 dissector_add_uint("diameter.3gpp", 1421, create_dissector_handle(dissect_diameter_3gpp_dsr_flags
, proto_diameter_3gpp
));
3150 /* AVP Code: 1422 DSA-Flags */
3151 dissector_add_uint("diameter.3gpp", 1422, create_dissector_handle(dissect_diameter_3gpp_dsa_flags
, proto_diameter_3gpp
));
3153 /* AVP Code: 1426 Access-Restriction-Data */
3154 dissector_add_uint("diameter.3gpp", 1426, create_dissector_handle(dissect_diameter_3gpp_acc_res_data
, proto_diameter_3gpp
));
3156 /* AVP Code: 1441 IDA-Flags */
3157 dissector_add_uint("diameter.3gpp", 1441, create_dissector_handle(dissect_diameter_3gpp_ida_flags
, proto_diameter_3gpp
));
3159 /* AVP Code: 1442 PUA-Flags */
3160 dissector_add_uint("diameter.3gpp", 1442, create_dissector_handle(dissect_diameter_3gpp_pua_flags
, proto_diameter_3gpp
));
3162 /* AVP Code: 1443 NOR-Flags */
3163 dissector_add_uint("diameter.3gpp", 1443, create_dissector_handle(dissect_diameter_3gpp_nor_flags
, proto_diameter_3gpp
));
3165 /* AVP Code: 1474 GMLC-Number */
3166 dissector_add_uint("diameter.3gpp", 1474, create_dissector_handle(dissect_diameter_3gpp_isdn
, proto_diameter_3gpp
));
3168 /* AVP Code: 1490 IDR-Flags */
3169 dissector_add_uint("diameter.3gpp", 1490, create_dissector_handle(dissect_diameter_3gpp_idr_flags
, proto_diameter_3gpp
));
3171 /* AVP Code: 1508 PPR-Flags */
3172 dissector_add_uint("diameter.3gpp", 1508, create_dissector_handle(dissect_diameter_3gpp_ppr_flags
, proto_diameter_3gpp
));
3174 /* AVP Code: 1518 AAA-Failure-Indication */
3175 dissector_add_uint("diameter.3gpp", 1518, create_dissector_handle(dissect_diameter_3gpp_aaa_fail_flags
, proto_diameter_3gpp
));
3177 /* AVP Code: 1520 DER-Flags */
3178 dissector_add_uint("diameter.3gpp", 1520, create_dissector_handle(dissect_diameter_3gpp_der_flags
, proto_diameter_3gpp
));
3180 /* AVP Code: 1521 DEA-Flags */
3181 dissector_add_uint("diameter.3gpp", 1521, create_dissector_handle(dissect_diameter_3gpp_dea_flags
, proto_diameter_3gpp
));
3183 /* AVP Code: 1522 RAR-Flags */
3184 dissector_add_uint("diameter.3gpp", 1522, create_dissector_handle(dissect_diameter_3gpp_rar_flags
, proto_diameter_3gpp
));
3186 /* AVP Code: 1523 DER-S6b-Flags */
3187 dissector_add_uint("diameter.3gpp", 1523, create_dissector_handle(dissect_diameter_3gpp_der_s6b_flags
, proto_diameter_3gpp
));
3189 /* AVP Code: 1538 Emergency-Services */
3190 dissector_add_uint("diameter.3gpp", 1538, create_dissector_handle(dissect_diameter_3gpp_emergency_services
, proto_diameter_3gpp
));
3192 /* AVP Code: 1635 PUR-Flags */
3193 dissector_add_uint("diameter.3gpp", 1635, create_dissector_handle(dissect_diameter_3gpp_pur_flags
, proto_diameter_3gpp
));
3195 /* AVP Code: 1638 CLR-Flags */
3196 dissector_add_uint("diameter.3gpp", 1638, create_dissector_handle(dissect_diameter_3gpp_clr_flags
, proto_diameter_3gpp
));
3198 /* AVP Code: 1639 UVR-Flags */
3199 dissector_add_uint("diameter.3gpp", 1639, create_dissector_handle(dissect_diameter_3gpp_uvr_flags
, proto_diameter_3gpp
));
3201 /* AVP Code: 1640 UVA-Flags */
3202 dissector_add_uint("diameter.3gpp", 1640, create_dissector_handle(dissect_diameter_3gpp_uva_flags
, proto_diameter_3gpp
));
3204 /* AVP Code: 1645 MME-Number-for-MT-SMS */
3205 dissector_add_uint("diameter.3gpp", 1645, create_dissector_handle(dissect_diameter_3gpp_mme_number_for_mt_sms
, proto_diameter_3gpp
));
3207 /* AVP Code: 1654 Subscription-Data-Flags */
3208 dissector_add_uint("diameter.3gpp", 1654, create_dissector_handle(dissect_diameter_3gpp_subscription_data_flags
, proto_diameter_3gpp
));
3210 /* AVP Code: 1668 WLAN-offloadability-EUTRAN */
3211 dissector_add_uint("diameter.3gpp", 1668, create_dissector_handle(dissect_diameter_3gpp_wlan_offloadability_eutran
, proto_diameter_3gpp
));
3213 /* AVP Code: 1669 WLAN-offloadability-UTRAN */
3214 dissector_add_uint("diameter.3gpp", 1669, create_dissector_handle(dissect_diameter_3gpp_wlan_offloadability_utran
, proto_diameter_3gpp
));
3216 /* AVP Code: 1677 Group-PLMN-Id */
3217 dissector_add_uint("diameter.3gpp", 1677, create_dissector_handle(dissect_diameter_3gpp_group_plmn_id
, proto_diameter_3gpp
));
3219 /* AVP Code: 1679 AIR-Flags */
3220 dissector_add_uint("diameter.3gpp", 1679, create_dissector_handle(dissect_diameter_3gpp_air_flags
, proto_diameter_3gpp
));
3222 /* AVP Code: 1686 Preferred-Data-Mode */
3223 dissector_add_uint("diameter.3gpp", 1686, create_dissector_handle(dissect_diameter_3gpp_preferred_data_mode
, proto_diameter_3gpp
));
3225 /* AVP Code: 1689 V2X-Permission */
3226 dissector_add_uint("diameter.3gpp", 1689, create_dissector_handle(dissect_diameter_3gpp_v2x_permission
, proto_diameter_3gpp
));
3228 /* AVP Code: 1704 Core-Network-Restrictions */
3229 dissector_add_uint("diameter.3gpp", 1704, create_dissector_handle(dissect_diameter_3gpp_core_network_restrictions
, proto_diameter_3gpp
));
3231 /* AVP Code: 2510 Supported-GAD-Shapes */
3232 dissector_add_uint("diameter.3gpp", 2510, create_dissector_handle(dissect_diameter_3gpp_supported_gad_shapes
, proto_diameter_3gpp
));
3234 /* AVP Code: 2516 EUTRAN-Positioning-Data */
3235 dissector_add_uint("diameter.3gpp", 2516, create_dissector_handle(dissect_diameter_3gpp_eutran_positioning_data
, proto_diameter_3gpp
));
3237 /* AVP Code: 2532 Deferred-Location-Type */
3238 dissector_add_uint("diameter.3gpp", 2532, create_dissector_handle(dissect_diameter_3gpp_deferred_location_type
, proto_diameter_3gpp
));
3240 /* AVP Code: 2545 PLR-Flags */
3241 dissector_add_uint("diameter.3gpp", 2545, create_dissector_handle(dissect_diameter_3gpp_plr_flags
, proto_diameter_3gpp
));
3243 /* AVP Code: 2546 PLA-Flags */
3244 dissector_add_uint("diameter.3gpp", 2546, create_dissector_handle(dissect_diameter_3gpp_pla_flags
, proto_diameter_3gpp
));
3246 /* AVP Code: 2556 Civic-Address */
3247 dissector_add_uint("diameter.3gpp", 2556, create_dissector_handle(dissect_diameter_3gpp_civic_address
, proto_diameter_3gpp
));
3249 /* AVP Code: 2819 RAN-NAS-Release-Cause */
3250 dissector_add_uint("diameter.3gpp", 2819, create_dissector_handle(dissect_diameter_3gpp_ran_nas_release_cause
, proto_diameter_3gpp
));
3252 /* AVP Code: 3144 Supported-Monitoring-Events*/
3253 dissector_add_uint("diameter.3gpp", 3144, create_dissector_handle(dissect_diameter_3gpp_supported_monitoring_events
, proto_diameter_3gpp
));
3255 /* AVP Code: 3167 RIR-Flags */
3256 dissector_add_uint("diameter.3gpp", 3167, create_dissector_handle(dissect_diameter_3gpp_rir_flags
, proto_diameter_3gpp
));
3258 /* AVP Code: 3301 SM-RP-UI */
3259 dissector_add_uint("diameter.3gpp", 3301, create_dissector_handle(dissect_diameter_3gpp_sm_rp_ui
, proto_diameter_3gpp
));
3261 /* AVP Code: 3502 MBMS-Bearer-Event */
3262 dissector_add_uint("diameter.3gpp", 3502, create_dissector_handle(dissect_diameter_3gpp_mbms_bearer_event
, proto_diameter_3gpp
));
3264 /* AVP Code: 3506 MBMS-Bearer-Result */
3265 dissector_add_uint("diameter.3gpp", 3506, create_dissector_handle(dissect_diameter_3gpp_mbms_bearer_result
, proto_diameter_3gpp
));
3267 /* AVP Code: 3511 TMGI-Allocation-Result */
3268 dissector_add_uint("diameter.3gpp", 3511, create_dissector_handle(dissect_diameter_3gpp_tmgi_allocation_result
, proto_diameter_3gpp
));
3270 /* AVP Code: 3514 TMGI-Deallocation-Result */
3271 dissector_add_uint("diameter.3gpp", 3514, create_dissector_handle(dissect_diameter_3gpp_tmgi_deallocation_result
, proto_diameter_3gpp
));
3273 xml_handle
= find_dissector_add_dependency("xml", proto_diameter_3gpp
);
3274 gsm_sms_handle
= find_dissector_add_dependency("gsm_sms", proto_diameter_3gpp
);
3275 sdp_handle
= find_dissector_add_dependency("sdp", proto_diameter_3gpp
);
3279 * 3GPP TS 24.008 Quality of service
3281 static const value_string diameter_3gpp_qos_reliability_vals
[] = {
3282 { 0x00, "Subscribed reliability class (in MS to net); Reserved (in net to MS)" },
3283 { 0x01, "Unused. Interpreted as Unacknowledged GTP, Ack LLC/RLC, Protected data." },
3284 { 0x02, "Unacknowledged GTP, Ack LLC/RLC, Protected data" },
3285 { 0x03, "Unacknowledged GTP/LLC, Ack RLC, Protected data" },
3286 { 0x04, "Unacknowledged GTP/LLC/RLC, Protected data" },
3287 { 0x05, "Unacknowledged GTP/LLC/RLC, Unprotected data" },
3288 { 0x06, "Interpreted as Unacknowledged GTP/LLC, Ack RLC, Protected data" }, /* other value */
3289 { 0x07, "Reserved" },
3293 static const range_string diameter_3gpp_qos_delay_cls_vals
[] = {
3294 { 0x00, 0x00, "Subscribed delay class (in MS to net); Reserved (in net to MS)" },
3295 { 0x01, 0x01, "Delay class 1" },
3296 { 0x02, 0x02, "Delay class 2" },
3297 { 0x03, 0x03, "Delay class 3" },
3298 { 0x04, 0x04, "Delay class 4 (best effort)" },
3299 { 0x05, 0x06, "Interpreted as Delay class 4 (best effort)" },
3300 { 0x07, 0x07, "Reserved" },
3304 static const range_string diameter_3gpp_qos_prec_class_vals
[] = {
3305 { 0x00, 0x00, "Subscribed precedence (MS to net); Reserved (net to MS)" },
3306 { 0x01, 0x01, "High priority" },
3307 { 0x02, 0x02, "Normal priority" },
3308 { 0x03, 0x03, "Low priority" },
3309 { 0x04, 0x06, "Interpreted as Normal priority" },
3310 { 0x07, 0x07, "Reserved" },
3314 static const range_string diameter_3gpp_qos_peak_thr_vals
[] = {
3315 { 0x00, 0x00, "Subscribed peak throughput (MS to net); Reserved (net to MS)" },
3316 { 0x01, 0x01, "Up to 1 000 octet/s" },
3317 { 0x02, 0x02, "Up to 2 000 octet/s" },
3318 { 0x03, 0x03, "Up to 4 000 octet/s" },
3319 { 0x04, 0x04, "Up to 8 000 octet/s" },
3320 { 0x05, 0x05, "Up to 16 000 octet/s" },
3321 { 0x06, 0x06, "Up to 32 000 octet/s" },
3322 { 0x07, 0x07, "Up to 64 000 octet/s" },
3323 { 0x08, 0x08, "Up to 128 000 octet/s" },
3324 { 0x09, 0x09, "Up to 256 000 octet/s" },
3325 { 0x0a, 0x0e, "Interpreted as Up to 1 000 octet/s" },
3326 { 0x0f, 0x0f, "Reserved" },
3330 static const range_string diameter_3gpp_qos_mean_thr_vals
[] = {
3331 { 0x00, 0x00, "Subscribed peak throughput (MS to net); Reserved (net to MS)" },
3332 { 0x01, 0x01, "100 octet/h" },
3333 { 0x02, 0x02, "200 octet/h" },
3334 { 0x03, 0x03, "500 octet/h" },
3335 { 0x04, 0x04, "1 000 octet/h" },
3336 { 0x05, 0x05, "2 000 octet/h" },
3337 { 0x06, 0x06, "5 000 octet/h" },
3338 { 0x07, 0x07, "10 000 octet/h" },
3339 { 0x08, 0x08, "20 000 octet/h" },
3340 { 0x09, 0x09, "50 000 octet/h" },
3341 { 0x0a, 0x0a, "100 000 octet/h" },
3342 { 0x0b, 0x0b, "200 000 octet/h" },
3343 { 0x0c, 0x0c, "500 000 octet/h" },
3344 { 0x0d, 0x0d, "1 000 000 octet/h" },
3345 { 0x0e, 0x0e, "2 000 000 octet/h" },
3346 { 0x0f, 0x0f, "5 000 000 octet/h" },
3347 { 0x10, 0x10, "10 000 000 octet/h" },
3348 { 0x11, 0x11, "20 000 000 octet/h" },
3349 { 0x12, 0x12, "50 000 000 octet/h" },
3350 { 0x13, 0x1d, "Interpreted as Best effort" },
3351 { 0x1e, 0x1e, "Reserved" },
3352 { 0x1f, 0x1f, "Best effort" },
3356 static const value_string diameter_3gpp_qos_del_of_err_sdu_vals
[] = {
3357 { 0x00, "Subscribed delivery of erroneous SDUs (MS to net); Reserved (net to MS)" },
3358 { 0x01, "No detect ('-')" },
3359 { 0x02, "Erroneous SDUs are delivered ('yes')" },
3360 { 0x03, "Erroneous SDUs are not delivered ('no')" },
3361 { 0x07, "Reserved" },
3365 static const value_string diameter_3gpp_qos_del_order_vals
[] = {
3366 { 0x00, "Subscribed delivery order (MS to net); Reserved (net to MS)" },
3367 { 0x01, "With delivery order ('yes')" },
3368 { 0x02, "Without delivery order ('no')" },
3369 { 0x03, "Reserved" },
3373 static const value_string diameter_3gpp_qos_traffic_cls_vals
[] = {
3374 { 0x00, "Subscribed traffic class (MS to net); Reserved (net to MS)" },
3375 { 0x01, "Conversational class" },
3376 { 0x02, "Streaming class" },
3377 { 0x03, "Interactive class" },
3378 { 0x04, "Background class" },
3379 { 0x07, "Reserved" },
3383 static const value_string diameter_3gpp_qos_sdu_err_rat_vals
[] = {
3384 { 0x00, "Subscribed SDU error ratio (MS to net); Reserved (net to MS)" },
3392 { 0x15, "Reserved" },
3396 static const value_string diameter_3gpp_qos_ber_vals
[] = {
3397 { 0x00, "Subscribed residual BER (MS to net); Reserved (net to MS)" },
3407 { 0x15, "Reserved" },
3412 static const value_string diameter_3gpp_qos_traff_hdl_pri_vals
[] = {
3413 { 0x00, "Subscribed traffic handling priority (MS to net); Reserved (net to MS)" },
3414 { 0x01, "Priority level 1" },
3415 { 0x02, "Priority level 2" },
3416 { 0x03, "Priority level 3" },
3421 static const true_false_string diameter_3gpp_qos_signalling_ind_value
= {
3422 "Optimised for signalling traffic",
3423 "Not optimised for signalling traffic"
3427 proto_register_diameter_3gpp(void)
3430 /* Setup list of header fields See Section 1.6.1 for details*/
3431 static hf_register_info hf
[] = {
3432 { &hf_diameter_3gpp_timezone
,
3433 { "Timezone", "diameter.3gpp.3gpp_timezone",
3434 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
3437 { &hf_diameter_3gpp_timezone_adjustment
,
3438 { "Adjustment", "diameter.3gpp.timezone_adjustment",
3439 FT_UINT8
, BASE_DEC
, VALS(daylight_saving_time_vals
), 0x03,
3442 { &hf_diameter_3gpp_rat_type
,
3443 { "RAT Type", "diameter.3gpp.rat-type",
3444 FT_UINT8
, BASE_DEC
, VALS(diameter_3gpp_rat_type_vals
), 0x00,
3447 { &hf_diameter_3gpp_path
,
3448 { "Path", "diameter.3gpp.path",
3449 FT_STRING
, BASE_NONE
, NULL
, 0x0,
3452 { &hf_diameter_3gpp_contact
,
3453 { "Contact", "diameter.3gpp.contact",
3454 FT_STRING
, BASE_NONE
, NULL
, 0x0,
3458 { &hf_diameter_3gpp_user_data
,
3459 { "User data", "diameter.3gpp.user_data",
3460 FT_STRING
, BASE_NONE
, NULL
, 0x0,
3464 { &hf_diameter_3gpp_ipaddr
,
3465 { "IPv4 Address", "diameter.3gpp.ipaddr",
3466 FT_IPv4
, BASE_NONE
, NULL
, 0x0,
3469 { &hf_diameter_3gpp_mbms_required_qos_prio
,
3470 { "Allocation/Retention Priority", "diameter.3gpp.mbms_required_qos_prio",
3471 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
3474 { &hf_diameter_3gpp_tmgi
,
3475 { "TMGI", "diameter.3gpp.tmgi",
3476 FT_BYTES
, BASE_NONE
, NULL
, 0x0,
3480 { &hf_diameter_3gpp_req_nodes
,
3481 { "Requested-Nodes", "diameter.3gpp.req_nodes",
3482 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
3485 { &hf_diameter_3gpp_req_nodes_bit0
,
3486 { "MME", "diameter.3gpp.req_nodes_bit0",
3487 FT_BOOLEAN
, 32, NULL
, 0x00000001,
3490 { &hf_diameter_3gpp_req_nodes_bit1
,
3491 { "SGSN", "diameter.3gpp.req_nodes_bit1",
3492 FT_BOOLEAN
, 32, NULL
, 0x00000002,
3495 { &hf_diameter_3gpp_req_nodes_bit2
,
3496 { "3GPP-AAA-SERVER-TWAN", "diameter.3gpp.req_nodes_bit2",
3497 FT_BOOLEAN
, 32, NULL
, 0x00000004,
3500 { &hf_diameter_3gpp_req_nodes_bit3
,
3501 { "AMF", "diameter.3gpp.req_nodes_bit3",
3502 FT_BOOLEAN
, 32, NULL
, 0x00000008,
3505 { &hf_diameter_mbms_service_id
,
3506 { "MBMS Service ID", "diameter.3gpp.mbms_service_id",
3507 FT_UINT24
, BASE_HEX
, NULL
, 0x0,
3510 { &hf_diameter_3gpp_spare_bits
,
3511 { "Spare bit(s)", "diameter.3gpp.spare_bits",
3512 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
3515 { &hf_diameter_3gpp_uar_flags_flags
,
3516 { "Flags", "diameter.3gpp.uar_flags_flags",
3517 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
3520 { &hf_diameter_3gpp_uar_flags_flags_spare_bits
,
3521 { "Spare", "diameter.3gpp.uar_flags_flags_spare_bits",
3522 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
3525 { &hf_diameter_3gpp_uar_flags_flags_bit0
,
3526 { "Emergency registration", "diameter.3gpp.uar_flags_flags_bit0",
3527 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
3530 { &hf_diameter_3gpp_feature_list_flags
,
3531 { "Feature-List Flags", "diameter.3gpp.feature_list_flags",
3532 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
3535 { &hf_diameter_3gpp_cx_feature_list_flags
,
3536 { "CX Feature-List Flags", "diameter.3gpp.cx_feature_list_flags",
3537 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
3540 { &hf_diameter_3gpp_cx_feature_list_1_flags_bit0
,
3541 { "Shared IFC Sets", "diameter.3gpp.cx_feature_list_1_flags_bit0",
3542 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
3545 { &hf_diameter_3gpp_cx_feature_list_1_flags_bit1
,
3546 { "Alias Indication", "diameter.3gpp.cx_feature_list_1_flags_bit1",
3547 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
3550 { &hf_diameter_3gpp_cx_feature_list_1_flags_bit2
,
3551 { "IMS Restoration Indication", "diameter.3gpp.cx_feature_list_1_flags_bit2",
3552 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
3555 { &hf_diameter_3gpp_cx_feature_list_1_flags_bit3
,
3556 { "P-CSCF Restoration mechanism", "diameter.3gpp.cx_feature_list_1_flags_bit3",
3557 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
3560 { &hf_diameter_3gpp_cx_feature_list_1_flags_spare_bits
,
3561 { "Spare", "diameter.3gpp.cx_feature_list_1_flags_spare",
3562 FT_UINT32
, BASE_HEX
, NULL
, 0xfffffff0,
3565 { &hf_diameter_3gpp_feature_list1_sh_flags_bit0
,
3566 { "Notif-Eff", "diameter.3gpp.feature_list1_sh_flags_bit0",
3567 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
3570 { &hf_diameter_3gpp_feature_list1_sh_flags_bit1
,
3571 { "Update-Eff", "diameter.3gpp.feature_list1_sh_flags_bit1",
3572 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
3575 { &hf_diameter_3gpp_feature_list1_sh_flags_bit2
,
3576 { "Update-Eff-Enhance", "diameter.3gpp.feature_list1_sh_flags_bit2",
3577 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
3580 { &hf_diameter_3gpp_feature_list1_sh_flags_bit3
,
3581 { "Additional-MSISDN", "diameter.3gpp.feature_list1_sh_flags_bit3",
3582 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
3585 { &hf_diameter_3gpp_feature_list1_sh_flags_spare_bits
,
3586 { "Spare", "diameter.3gpp.feature_list1_sh_flags_spare",
3587 FT_UINT32
, BASE_HEX
, NULL
, 0xfffffff0,
3590 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit0
,
3591 { "Operator Determined Barring of all Packet Oriented Services", "diameter.3gpp.feature_list1_s6a_flags_bit0",
3592 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
3595 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit1
,
3596 { "Operator Determined Barring of Packet Oriented Services from access points that are within the HPLMN whilst the subscriber is roaming in a VPLMN", "diameter.3gpp.feature_list1_s6a_flags_bit1",
3597 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
3600 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit2
,
3601 { "Operator Determined Barring of Packet Oriented Services from access points that are within the roamed to VPLMN", "diameter.3gpp.feature_list1_s6a_flags_bit2",
3602 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
3605 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit3
,
3606 { "Operator Determined Barring of all outgoing calls", "diameter.3gpp.feature_list1_s6a_flags_bit3",
3607 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
3610 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit4
,
3611 { "Operator Determined Barring of all outgoing international calls", "diameter.3gpp.feature_list1_s6a_flags_bit4",
3612 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
3615 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit5
,
3616 { "Operator Determined Barring of all outgoing international calls except those directed to the home PLMN country", "diameter.3gpp.feature_list1_s6a_flags_bit5",
3617 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
3620 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit6
,
3621 { "Operator Determined Barring of all outgoing inter-zonal calls", "diameter.3gpp.feature_list1_s6a_flags_bit6",
3622 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
3625 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit7
,
3626 { "Operator Determined Barring of all outgoing inter-zonal calls except those directed to the home PLMN country", "diameter.3gpp.feature_list1_s6a_flags_bit7",
3627 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000080,
3630 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit8
,
3631 { "Operator Determined Barring of all outgoing international calls except those directed to the home PLMN country and Barring of all outgoing inter-zonal calls", "diameter.3gpp.feature_list1_s6a_flags_bit8",
3632 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000100,
3635 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit9
,
3636 { "Regional Subscription", "diameter.3gpp.feature_list1_s6a_flags_bit9",
3637 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000200,
3641 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit10
,
3642 { "Trace Function", "diameter.3gpp.feature_list1_s6a_flags_bit10",
3643 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000400,
3646 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit11
,
3647 { "All LCS Privacy Exception Classes", "diameter.3gpp.feature_list1_s6a_flags_bit11",
3648 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000800,
3651 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit12
,
3652 { "Allow location by any LCS client", "diameter.3gpp.feature_list1_s6a_flags_bit12",
3653 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00001000,
3656 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit13
,
3657 { "Allow location by any value added LCS client to which a call/session is established from the target UE", "diameter.3gpp.feature_list1_s6a_flags_bit13",
3658 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00002000,
3661 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit14
,
3662 { "Allow location by designated external value added LCS clients", "diameter.3gpp.feature_list1_s6a_flags_bit14",
3663 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00004000,
3666 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit15
,
3667 { "Allow location by designated PLMN operator LCS clients", "diameter.3gpp.feature_list1_s6a_flags_bit15",
3668 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00008000,
3671 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit16
,
3672 { "Allow location by LCS clients of a designated LCS service type", "diameter.3gpp.feature_list1_s6a_flags_bit16",
3673 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00010000,
3676 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit17
,
3677 { "All Mobile Originating Location Request Classes", "diameter.3gpp.feature_list1_s6a_flags_bit17",
3678 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00020000,
3681 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit18
,
3682 { "Allow an MS to request its own location", "diameter.3gpp.feature_list1_s6a_flags_bit18",
3683 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00040000,
3686 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit19
,
3687 { "Allow an MS to perform self location without interaction with the PLMN", "diameter.3gpp.feature_list1_s6a_flags_bit19",
3688 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00080000,
3691 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit20
,
3692 { "Allow an MS to request transfer of its location to another LCS client", "diameter.3gpp.feature_list1_s6a_flags_bit20",
3693 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00100000,
3696 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit21
,
3697 { "Short Message MO-PP", "diameter.3gpp.feature_list1_s6a_flags_bit21",
3698 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00200000,
3701 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit22
,
3702 { "Barring of Outgoing Calls", "diameter.3gpp.feature_list1_s6a_flags_bit22",
3703 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00400000,
3706 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit23
,
3707 { "Barring of all outgoing calls", "diameter.3gpp.feature_list1_s6a_flags_bit23",
3708 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00800000,
3711 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit24
,
3712 { "Barring of outgoing international calls", "diameter.3gpp.feature_list1_s6a_flags_bit24",
3713 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x01000000,
3716 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit25
,
3717 { "Barring of outgoing international calls except those directed to the home PLMN Country", "diameter.3gpp.feature_list1_s6a_flags_bit25",
3718 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x02000000,
3721 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit26
,
3722 { "UE Reachability Notification", "diameter.3gpp.feature_list1_s6a_flags_bit26",
3723 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x04000000,
3726 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit27
,
3727 { "Terminating Access Domain Selection Data Retrieval", "diameter.3gpp.feature_list1_s6a_flags_bit27",
3728 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x08000000,
3731 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit28
,
3732 { "State/Location Information Retrieval", "diameter.3gpp.feature_list1_s6a_flags_bit28",
3733 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x10000000,
3736 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit29
,
3737 { "Partial Purge from a Combined MME/SGSN", "diameter.3gpp.feature_list1_s6a_flags_bit29",
3738 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x20000000,
3741 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit30
,
3742 { "UE Time Zone Retrieval", "diameter.3gpp.feature_list1_s6a_flags1_bit30",
3743 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x40000000,
3746 { &hf_diameter_3gpp_feature_list1_s6a_flags_bit31
,
3747 { "Additional MSISDN", "diameter.3gpp.feature_list1_s6a_flags_bit31",
3748 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x80000000,
3751 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit0
,
3752 { "SMS in MME", "diameter.3gpp.feature_list2_s6a_flags_bit0",
3753 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
3756 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit1
,
3757 { "SMS in SGSN", "diameter.3gpp.feature_list2_s6a_flags_bit1",
3758 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
3761 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit2
,
3762 { "Dia-LCS-all-PrivExcep", "diameter.3gpp.feature_list2_s6a_flags_bit2",
3763 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
3766 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit3
,
3767 { "Dia-LCS-Universal", "diameter.3gpp.feature_list2_s6a_flags_bit3",
3768 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
3771 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit4
,
3772 { "Dia-LCS-CallSessionRelated", "diameter.3gpp.feature_list2_s6a_flags_bit4",
3773 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
3776 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit5
,
3777 { "Dia-LCS-CallSessionUnrelated", "diameter.3gpp.feature_list2_s6a_flags_bit5",
3778 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
3781 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit6
,
3782 { "Dia-LCS-PLMNOperator", "diameter.3gpp.feature_list2_s6a_flags_bit6",
3783 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
3786 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit7
,
3787 { "Dia-LCS-ServiceType", "diameter.3gpp.feature_list2_s6a_flags_bit7",
3788 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000080,
3791 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit8
,
3792 { "Dia-LCS-all-MOLR-SS", "diameter.3gpp.feature_list2_s6a_flags_bit8",
3793 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000100,
3796 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit9
,
3797 { "Dia-LCS-BasicSelfLocation", "diameter.3gpp.feature_list2_s6a_flags_bit9",
3798 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000200,
3801 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit10
,
3802 { "Dia-LCS-AutonomousSelfLocation", "diameter.3gpp.feature_list2_s6a_flags_bit10",
3803 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000400,
3806 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit11
,
3807 { "Dia-LCS-TransferToThirdParty", "diameter.3gpp.feature_list2_s6a_flags_bit11",
3808 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000800,
3811 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit12
,
3812 { "Gdd-in-SGSN", "diameter.3gpp.feature_list2_s6a_flags_bit12",
3813 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00001000,
3816 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit13
,
3817 { "Optimized-LCS-Proc-Support", "diameter.3gpp.feature_list2_s6a_flags_bit13",
3818 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00002000,
3821 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit14
,
3822 { "SGSN CAMEL Capability", "diameter.3gpp.feature_list2_s6a_flags_bit14",
3823 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00004000,
3826 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit15
,
3827 { "ProSe Capability", "diameter.3gpp.feature_list2_s6a_flags_bit15",
3828 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00008000,
3831 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit16
,
3832 { "P-CSCF Restoration", "diameter.3gpp.feature_list2_s6a_flags_bit16",
3833 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00010000,
3836 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit17
,
3837 { "Reset-IDs", "diameter.3gpp.feature_list2_s6a_flags_bit17",
3838 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00020000,
3841 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit18
,
3842 { "Communication-Pattern", "diameter.3gpp.feature_list2_s6a_flags_bit18",
3843 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00040000,
3846 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit19
,
3847 { "Monitoring-Event", "diameter.3gpp.feature_list2_s6a_flags_bit19",
3848 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00080000,
3851 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit20
,
3852 { "Dedicated Core Networks", "diameter.3gpp.feature_list2_s6a_flags_bit20",
3853 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00100000,
3856 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit21
,
3857 { "Non-IP PDN Type APNs", "diameter.3gpp.feature_list2_s6a_flags_bit21",
3858 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00200000,
3861 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit22
,
3862 { "Non-IP PDP Type APNs", "diameter.3gpp.feature_list2_s6a_flags_bit22",
3863 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00400000,
3866 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit23
,
3867 { "Removal of MSISDN", "diameter.3gpp.feature_list2_s6a_flags_bit23",
3868 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00800000,
3871 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit24
,
3872 { "Emergency Service Continuity", "diameter.3gpp.feature_list2_s6a_flags_bit24",
3873 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x01000000,
3876 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit25
,
3877 { "V2X Capability", "diameter.3gpp.feature_list2_s6a_flags_bit25",
3878 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x02000000,
3881 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit26
,
3882 { "External-Identifier", "diameter.3gpp.feature_list2_s6a_flags_bit26",
3883 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x04000000,
3886 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit27
,
3887 { "NR as Secondary RAT", "diameter.3gpp.feature_list2_s6a_flags_bit27",
3888 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x08000000,
3891 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit28
,
3892 { "Unlicensed Spectrum as Secondary RAT", "diameter.3gpp.feature_list2_s6a_flags_bit28",
3893 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x10000000,
3896 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit29
,
3897 { "Ethernet PDN Type APNs", "diameter.3gpp.feature_list2_s6a_flags_bit29",
3898 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x20000000,
3901 { &hf_diameter_3gpp_feature_list2_s6a_flags_bit30
,
3902 { "Extended Reference IDs", "diameter.3gpp.feature_list2_s6a_flags_bit30",
3903 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x40000000,
3906 { &hf_diameter_3gpp_feature_list2_s6a_flags_spare_bits
,
3907 { "Spare", "diameter.3gpp.feature_list2_s6a_flags_spare",
3908 FT_UINT32
, BASE_HEX
, NULL
, 0x80000000,
3911 { &hf_diameter_3gpp_feature_list_gx_flags
,
3912 { "GX Feature-List Flags", "diameter.3gpp.gx_feature_list_flags",
3913 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
3916 { &hf_diameter_3gpp_feature_list1_gx_flags_bit0
,
3917 { "Rel-8 Gx", "diameter.3gpp.feature_list1_gx_flags_bit0",
3918 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
3921 { &hf_diameter_3gpp_feature_list1_gx_flags_bit1
,
3922 { "Rel-9 Gx", "diameter.3gpp.feature_list1_gx_flags_bit1",
3923 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
3926 { &hf_diameter_3gpp_feature_list1_gx_flags_bit2
,
3927 { "Provisioning AF Signaling IP Flow Information",
3928 "diameter.3gpp.feature_list1_gx_flags_bit2",
3929 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
3932 { &hf_diameter_3gpp_feature_list1_gx_flags_bit3
,
3933 { "Rel-10 Gx", "diameter.3gpp.feature_list1_gx_flags_bit3",
3934 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
3937 { &hf_diameter_3gpp_feature_list1_gx_flags_bit4
,
3938 { "Sponsored Data Connectivity",
3939 "diameter.3gpp.feature_list1_gx_flags_bit4",
3940 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
3943 { &hf_diameter_3gpp_feature_list1_gx_flags_bit5
,
3944 { "IP Flow Mobility", "diameter.3gpp.feature_list1_gx_flags_bit5",
3945 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
3948 { &hf_diameter_3gpp_feature_list1_gx_flags_bit6
,
3949 { "ADC", "diameter.3gpp.feature_list1_gx_flags_bit6",
3950 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
3953 { &hf_diameter_3gpp_feature_list1_gx_flags_bit7
,
3954 { "vSRVCC", "diameter.3gpp.feature_list1_gx_flags_bit7",
3955 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000080,
3958 { &hf_diameter_3gpp_feature_list1_gx_flags_bit8
,
3959 { "EPC-routed", "diameter.3gpp.feature_list1_gx_flags_bit8",
3960 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000100,
3963 { &hf_diameter_3gpp_feature_list1_gx_flags_bit9
,
3964 { "rSRVCC", "diameter.3gpp.feature_list1_gx_flags_bit9",
3965 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000200,
3968 { &hf_diameter_3gpp_feature_list1_gx_flags_bit10
,
3969 { "NetLoc", "diameter.3gpp.feature_list1_gx_flags_bit10",
3970 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
),0x00000400,
3973 { &hf_diameter_3gpp_feature_list1_gx_flags_bit11
,
3974 { "Usage Monitoring Congestion Handling",
3975 "diameter.3gpp.feature_list1_gx_flags_bit11",
3976 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
),0x00000800,
3979 { &hf_diameter_3gpp_feature_list1_gx_flags_bit12
,
3980 { "Extended Filter", "diameter.3gpp.feature_list1_gx_flags_bit12",
3981 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00001000,
3984 { &hf_diameter_3gpp_feature_list1_gx_flags_bit13
,
3985 { "Trusted WLAN Access", "diameter.3gpp.feature_list1_gx_flags_bit13",
3986 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00002000,
3989 { &hf_diameter_3gpp_feature_list1_gx_flags_bit14
,
3990 { "SGW Restoration procedures", "diameter.3gpp.feature_list1_gx_flags_bit14",
3991 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00004000,
3994 { &hf_diameter_3gpp_feature_list1_gx_flags_bit15
,
3995 { "Time based Usage Monitoring Control", "diameter.3gpp.feature_list1_gx_flags_bit15",
3996 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00008000,
3999 { &hf_diameter_3gpp_feature_list1_gx_flags_bit16
,
4000 { "Pending Transaction", "diameter.3gpp.feature_list1_gx_flags_bit16",
4001 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00010000,
4004 { &hf_diameter_3gpp_feature_list1_gx_flags_bit17
,
4005 { "Application Based Charging", "diameter.3gpp.feature_list1_gx_flags_bit17",
4006 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00020000,
4009 { &hf_diameter_3gpp_feature_list1_gx_flags_bit18
,
4010 { "Spare", "diameter.3gpp.feature_list1_gx_flags_bit18",
4011 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00040000,
4014 { &hf_diameter_3gpp_feature_list1_gx_flags_bit19
,
4015 { "NetLoc Trusted WLAN", "diameter.3gpp.feature_list1_gx_flags_bit19",
4016 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00080000,
4019 { &hf_diameter_3gpp_feature_list1_gx_flags_bit20
,
4020 { "Fixed Broadband Access Convergence", "diameter.3gpp.feature_list1_gx_flags_bit20",
4021 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
),0x00100000,
4024 { &hf_diameter_3gpp_feature_list1_gx_flags_bit21
,
4025 { "Conditional APN Policy Info", "diameter.3gpp.feature_list1_gx_flags_bit21",
4026 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00200000,
4029 { &hf_diameter_3gpp_feature_list1_gx_flags_bit22
,
4030 { "RAN and/or NAS release cause", "diameter.3gpp.feature_list1_gx_flags_bit22",
4031 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00400000,
4034 { &hf_diameter_3gpp_feature_list1_gx_flags_bit23
,
4035 { "Presence Reporting Area Information reporting", "diameter.3gpp.feature_list1_gx_flags_bit23",
4036 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00800000,
4039 { &hf_diameter_3gpp_feature_list1_gx_flags_bit24
,
4040 { "P-CSCF Restoration Enhancement", "diameter.3gpp.feature_list1_gx_flags_bit24",
4041 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x01000000,
4044 { &hf_diameter_3gpp_feature_list1_gx_flags_bit25
,
4045 { "Mission Critical QCIs", "diameter.3gpp.feature_list1_gx_flags_bit25",
4046 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x02000000,
4049 { &hf_diameter_3gpp_feature_list1_gx_flags_bit26
,
4050 { "ResShare", "diameter.3gpp.feature_list1_gx_flags_bit26",
4051 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x04000000,
4054 { &hf_diameter_3gpp_feature_list1_gx_flags_bit27
,
4055 { "ExUsage", "diameter.3gpp.feature_list1_gx_flags_bit27",
4056 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x08000000,
4059 { &hf_diameter_3gpp_feature_list1_gx_flags_bit28
,
4060 { "NBIFOM", "diameter.3gpp.feature_list1_gx_flags_bit28",
4061 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x10000000,
4064 { &hf_diameter_3gpp_feature_list1_gx_flags_bit29
,
4065 { "TSC", "diameter.3gpp.feature_list1_gx_flags_bit29",
4066 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x20000000,
4069 { &hf_diameter_3gpp_feature_list1_gx_flags_bit30
,
4070 { "NetLoc-Untrusted-WLAN", "diameter.3gpp.feature_list1_gx_flags_bit30",
4071 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x40000000,
4074 { &hf_diameter_3gpp_feature_list1_gx_flags_bit31
,
4075 { "CondPolicyInfo", "diameter.3gpp.feature_list1_gx_flags_bit31",
4076 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x80000000,
4079 { &hf_diameter_3gpp_feature_list2_gx_flags_bit0
,
4080 { "Enhanced RAN and/or NAS release cause", "diameter.3gpp.feature_list2_gx_flags_bit0",
4081 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
4084 { &hf_diameter_3gpp_feature_list2_gx_flags_bit1
,
4085 { "eNodeB Change", "diameter.3gpp.feature_list2_gx_flags_bit1",
4086 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
4089 { &hf_diameter_3gpp_feature_list2_gx_flags_bit2
,
4091 "diameter.3gpp.feature_list2_gx_flags_bit2",
4092 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
4095 { &hf_diameter_3gpp_feature_list2_gx_flags_bit3
,
4096 { "Multiple PRA", "diameter.3gpp.feature_list2_gx_flags_bit3",
4097 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
4100 { &hf_diameter_3gpp_feature_list2_gx_flags_bit4
,
4101 { "CondPolicyInfo DefaultQoS",
4102 "diameter.3gpp.feature_list2_gx_flags_bit4",
4103 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
4106 { &hf_diameter_3gpp_feature_list2_gx_flags_bit5
,
4107 { "Rule Bound to Default Bearer", "diameter.3gpp.feature_list2_gx_flags_bit5",
4108 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
4111 { &hf_diameter_3gpp_feature_list2_gx_flags_bit6
,
4112 { "3GPP PS-Data Off", "diameter.3gpp.feature_list2_gx_flags_bit6",
4113 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
4116 { &hf_diameter_3gpp_feature_list2_gx_flags_bit7
,
4117 { "Extended BW for NR", "diameter.3gpp.feature_list2_gx_flags_bit7",
4118 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000080,
4121 { &hf_diameter_3gpp_cms_spare_bits
,
4122 { "Spare", "diameter.3gpp.cms.spare",
4123 FT_UINT32
, BASE_HEX
, NULL
, 0x01FFFFFF,
4126 { &hf_diameter_3gpp_cms_no_gyn_session_serv_not_allowed
,
4127 { "No Gyn Session, service not allowed", "diameter.3gpp.cms.no_gyn_session_serv_not_allowed",
4128 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x02000000,
4131 { &hf_diameter_3gpp_cms_no_gyn_session_serv_allowed
,
4132 { "No Gyn Session, service allowed", "diameter.3gpp.cms.no_gyn_session_serv_allowed",
4133 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x04000000,
4136 { &hf_diameter_3gpp_cms_rating_failed
,
4137 { "Rating Failed", "diameter.3gpp.cms.rating_failed",
4138 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x08000000,
4141 { &hf_diameter_3gpp_cms_user_unknown
,
4142 { "User Unknown", "diameter.3gpp.cms.user_unknown",
4143 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x10000000,
4146 { &hf_diameter_3gpp_cms_auth_rej
,
4147 { "Authorization Rejected", "diameter.3gpp.cms.auth_rej",
4148 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x20000000,
4151 { &hf_diameter_3gpp_cms_credit_ctrl_not_applicable
,
4152 { "Credit Control Not Applicable", "diameter.3gpp.cms.credit_ctrl_not_applicable",
4153 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x40000000,
4156 { &hf_diameter_3gpp_cms_end_user_serv_status
,
4157 { "End User Service Denied", "diameter.3gpp.cms.end_user_serv_status",
4158 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x80000000,
4161 { &hf_diameter_3gpp_secondary_rat_type
,
4162 { "Secondary RAT Type", "diameter.3gpp.secondary_rat_type",
4163 FT_UINT8
, BASE_DEC
, VALS(diameter_3gpp_secondary_rat_type_vals
), 0x00,
4166 { &hf_diameter_3gpp_qos_subscribed
,
4167 { "QoS-Subscribed", "diameter.3gpp.qos_subscribed",
4168 FT_BYTES
, BASE_NONE
, NULL
, 0x0,
4171 { &hf_diameter_3gpp_qos_reliability_cls
,
4172 { "Reliability class", "diameter.3gpp.qos.reliability_cls",
4173 FT_UINT8
, BASE_DEC
, VALS(diameter_3gpp_qos_reliability_vals
), 0x07,
4176 { &hf_diameter_3gpp_qos_delay_cls
,
4177 { "Quality of Service Delay class", "diameter.3gpp.qos.delay_cls",
4178 FT_UINT8
, BASE_DEC
| BASE_RANGE_STRING
, RVALS(diameter_3gpp_qos_delay_cls_vals
), 0x38,
4181 { &hf_diameter_3gpp_qos_prec_class
,
4182 { "Precedence class", "diameter.3gpp.qos.prec_class",
4183 FT_UINT8
, BASE_DEC
| BASE_RANGE_STRING
, RVALS(diameter_3gpp_qos_prec_class_vals
), 0x07,
4186 { &hf_diameter_3gpp_qos_peak_thr
,
4187 { "Peak throughput", "diameter.3gpp.qos.qos.peak_throughput",
4188 FT_UINT8
, BASE_DEC
| BASE_RANGE_STRING
, RVALS(diameter_3gpp_qos_peak_thr_vals
), 0xf0,
4191 { &hf_diameter_3gpp_qos_mean_thr
,
4192 { "Mean throughput", "diameter.3gpp.qos.mean_throughput",
4193 FT_UINT8
, BASE_DEC
| BASE_RANGE_STRING
, RVALS(diameter_3gpp_qos_mean_thr_vals
), 0x1f,
4196 { &hf_diameter_3gpp_qos_al_ret_priority
,
4197 { "Allocation/Retention priority", "diameter.3gpp.qos.al_ret_priority",
4198 FT_UINT8
, BASE_DEC
, NULL
, 0,
4201 { &hf_diameter_3gpp_qos_del_of_err_sdu
,
4202 { "Delivery of erroneous SDUs", "diameter.3gpp.qos.del_of_err_sdu",
4203 FT_UINT8
, BASE_DEC
, VALS(diameter_3gpp_qos_del_of_err_sdu_vals
), 0x07,
4206 { &hf_diameter_3gpp_qos_del_order
,
4207 { "Delivery order", "diameter.3gpp.qos.del_order",
4208 FT_UINT8
, BASE_DEC
, VALS(diameter_3gpp_qos_del_order_vals
), 0x18,
4211 { &hf_diameter_3gpp_qos_traffic_cls
,
4212 { "Traffic class", "diameter.3gpp.qos.traffic_cls",
4213 FT_UINT8
, BASE_DEC
, VALS(diameter_3gpp_qos_traffic_cls_vals
), 0xe0,
4216 { &hf_diameter_3gpp_qos_maximum_sdu_size
,
4217 { "Maximum SDU size", "diameter.3gpp.qos.qos.maximum_sdu_size",
4218 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4221 { &hf_diameter_3gpp_qos_max_bitrate_upl
,
4222 { "Maximum bitrate for uplink", "diameter.3gpp.qos.max_bitrate_upl",
4223 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4226 { &hf_diameter_3gpp_qos_max_bitrate_downl
,
4227 { "Maximum bitrate for downlink", "diameter.3gpp.qos.max_bitrate_downl",
4228 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4231 { &hf_diameter_3gpp_qos_sdu_err_rat
,
4232 { "SDU error ratio", "diameter.3gpp.qos.sdu_err_rat",
4233 FT_UINT8
, BASE_DEC
, VALS(diameter_3gpp_qos_sdu_err_rat_vals
), 0x0f,
4236 { &hf_diameter_3gpp_qos_ber
,
4237 { "Residual Bit Error Rate (BER)", "diameter.3gpp.qos.ber",
4238 FT_UINT8
, BASE_DEC
, VALS(diameter_3gpp_qos_ber_vals
), 0xf0,
4241 { &hf_diameter_3gpp_qos_traff_hdl_pri
,
4242 { "Traffic handling priority", "diameter.3gpp.qos.traff_hdl_pri",
4243 FT_UINT8
, BASE_DEC
, VALS(gsm_a_sm_qos_traff_hdl_pri_vals
), 0x03,
4246 { &hf_diameter_3gpp_qos_trans_delay
,
4247 { "Transfer delay", "diameter.3gpp.qos.trans_delay",
4248 FT_UINT8
, BASE_DEC
, NULL
, 0xfc,
4251 { &hf_diameter_3gpp_qos_guar_bitrate_upl
,
4252 { "Guaranteed bitrate for uplink", "diameter.3gpp.qos.guar_bitrate_upl",
4253 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4256 { &hf_diameter_3gpp_qos_guar_bitrate_downl
,
4257 { "Guaranteed bitrate for downlink", "diameter.3gpp.qos.guar_bitrate_downl",
4258 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4262 { &hf_diameter_3gpp_qos_source_stat_desc
,
4263 { "Source statistics description", "diameter.3gpp.qos.source_stat_desc",
4264 FT_UINT8
, BASE_DEC
, NULL
, 0x0f,
4267 { &hf_diameter_3gpp_qos_signalling_ind
,
4268 { "Signalling indication", "diameter.3gpp.qos.signalling_ind",
4269 FT_BOOLEAN
, 8, TFS(&diameter_3gpp_qos_signalling_ind_value
), 0x10,
4272 { &hf_diameter_3gpp_qos_max_bitrate_downl_ext
,
4273 { "Maximum bitrate for downlink (extended)", "diameter.3gpp.qos.max_bitrate_downl_ext",
4274 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4277 { &hf_diameter_3gpp_qos_guar_bitrate_downl_ext
,
4278 { "Guaranteed bitrate for downlink (extended)", "diameter.3gpp.qos.guar_bitrate_downl_ext",
4279 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4282 { &hf_diameter_3gpp_qos_max_bitrate_upl_ext
,
4283 { "Maximum bitrate for uplink (extended)", "diameter.3gpp.qos.max_bitrate_upl_ext",
4284 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4287 { &hf_diameter_3gpp_qos_guar_bitrate_upl_ext
,
4288 { "Guaranteed bitrate for uplink (extended)", "diameter.3gpp.qos.guar_bitrate_upl_ext",
4289 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4292 { &hf_diameter_3gpp_qos_pre_emption_vulnerability
,
4293 { "Pre-emption vulnerability", "diameter.3gpp.qos.pre_emption_vulnerability",
4294 FT_BOOLEAN
, 8, TFS(&tfs_set_notset
), 0x01,
4297 { &hf_diameter_3gpp_qos_priority_level
,
4298 { "Priority level", "diameter.3gpp.qos.priority_level",
4299 FT_UINT8
, BASE_DEC
, NULL
, 0x3c,
4302 { &hf_diameter_3gpp_qos_pre_emption_capability
,
4303 { "Pre-emption capability", "diameter.3gpp.qos.pre_emption_capability",
4304 FT_BOOLEAN
, 8, TFS(&tfs_set_notset
), 0x40,
4307 { &hf_diameter_3gpp_ulr_flags
,
4308 { "ULR Flags", "diameter.3gpp.ulr_flags",
4309 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4312 { &hf_diameter_3gpp_ulr_flags_bit0
,
4313 { "Single-Registration-Indication", "diameter.3gpp.ulr_flags_bit0",
4314 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4317 { &hf_diameter_3gpp_ulr_flags_bit1
,
4318 { "S6a/S6d-Indicator", "diameter.3gpp.ulr_flags_bit1",
4319 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4322 { &hf_diameter_3gpp_ulr_flags_bit2
,
4323 { "Skip-Subscriber-Data", "diameter.3gpp.ulr_flags_bit2",
4324 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
4327 { &hf_diameter_3gpp_ulr_flags_bit3
,
4328 { "GPRS-Subscription-Data-Indicator", "diameter.3gpp.ulr_flags_bit3",
4329 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
4332 { &hf_diameter_3gpp_ulr_flags_bit4
,
4333 { "Node-Type-Indicator", "diameter.3gpp.ulr_flags_bit4",
4334 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
4337 { &hf_diameter_3gpp_ulr_flags_bit5
,
4338 { "Initial-Attach-Indicator", "diameter.3gpp.ulr_flags_bit5",
4339 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000020,
4342 { &hf_diameter_3gpp_ulr_flags_bit6
,
4343 { "PS-LCS-Not-Supported-By-UE", "diameter.3gpp.ulr_flags_bit6",
4344 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000040,
4347 { &hf_diameter_3gpp_ulr_flags_bit7
,
4348 { "SMS-Only-Indication", "diameter.3gpp.ulr_flags_bit7",
4349 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000080,
4352 { &hf_diameter_3gpp_ulr_flags_bit8
,
4353 { "Dual-Registration-5G-Indicator", "diameter.3gpp.ulr_flags_bit8",
4354 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000100,
4357 { &hf_diameter_3gpp_ulr_flags_spare_bits
,
4358 { "Spare", "diameter.3gpp.ulr_flags_spare",
4359 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFE00,
4362 { &hf_diameter_3gpp_ula_flags
,
4363 { "ULA Flags", "diameter.3gpp.ula_flags",
4364 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4367 { &hf_diameter_3gpp_ula_flags_bit0
,
4368 { "Separation Indication", "diameter.3gpp.ula_flags_bit0",
4369 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4372 { &hf_diameter_3gpp_ula_flags_bit1
,
4373 { "MME Registered for SMS", "diameter.3gpp.ula_flags_bit1",
4374 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4377 { &hf_diameter_3gpp_ula_flags_spare_bits
,
4378 { "Spare", "diameter.3gpp.ula_flags_spare",
4379 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
4382 { &hf_diameter_3gpp_dsr_flags
,
4383 { "DSR Flags", "diameter.3gpp.dsr_flags",
4384 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4387 { &hf_diameter_3gpp_dsr_flags_bit0
,
4388 { "Regional Subscription Withdrawal", "diameter.3gpp.dsr_flags_bit0",
4389 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4392 { &hf_diameter_3gpp_dsr_flags_bit1
,
4393 { "Complete APN Configuration Profile Withdrawal", "diameter.3gpp.dsr_flags_bit1",
4394 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4397 { &hf_diameter_3gpp_dsr_flags_bit2
,
4398 { "Subscribed Charging Characteristics Withdrawal", "diameter.3gpp.dsr_flags_bit2",
4399 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
4402 { &hf_diameter_3gpp_dsr_flags_bit3
,
4403 { "PDN subscription contexts Withdrawal", "diameter.3gpp.dsr_flags_bit3",
4404 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
4407 { &hf_diameter_3gpp_dsr_flags_bit4
,
4408 { "STN-SR", "diameter.3gpp.dsr_flags_bit4",
4409 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
4412 { &hf_diameter_3gpp_dsr_flags_bit5
,
4413 { "Complete PDP context list Withdrawal", "diameter.3gpp.dsr_flags_bit5",
4414 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000020,
4417 { &hf_diameter_3gpp_dsr_flags_bit6
,
4418 { "PDP contexts Withdrawal", "diameter.3gpp.dsr_flags_bit6",
4419 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000040,
4422 { &hf_diameter_3gpp_dsr_flags_bit7
,
4423 { "Roaming Restricted due to unsupported feature", "diameter.3gpp.dsr_flags_bit7",
4424 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000080,
4427 { &hf_diameter_3gpp_dsr_flags_bit8
,
4428 { "Trace Data Withdrawal", "diameter.3gpp.dsr_flags_bit8",
4429 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000100,
4432 { &hf_diameter_3gpp_dsr_flags_bit9
,
4433 { "CSG Deleted", "diameter.3gpp.dsr_flags_bit9",
4434 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000200,
4437 { &hf_diameter_3gpp_dsr_flags_bit10
,
4438 { "APN-OI-Replacement", "diameter.3gpp.dsr_flags_bit10",
4439 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000400,
4442 { &hf_diameter_3gpp_dsr_flags_bit11
,
4443 { "GMLC List Withdrawal", "diameter.3gpp.dsr_flags_bit11",
4444 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000800,
4447 { &hf_diameter_3gpp_dsr_flags_bit12
,
4448 { "LCS Withdrawal", "diameter.3gpp.dsr_flags_bit12",
4449 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00001000,
4452 { &hf_diameter_3gpp_dsr_flags_bit13
,
4453 { "SMS Withdrawal", "diameter.3gpp.dsr_flags_bit13",
4454 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00002000,
4457 { &hf_diameter_3gpp_dsr_flags_bit14
,
4458 { "Subscribed periodic RAU-TAU Timer Withdrawal", "diameter.3gpp.dsr_flags_bit14",
4459 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00004000,
4462 { &hf_diameter_3gpp_dsr_flags_bit15
,
4463 { "Subscribed VSRVCC Withdrawal", "diameter.3gpp.dsr_flags_bit15",
4464 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00008000,
4467 { &hf_diameter_3gpp_dsr_flags_bit16
,
4468 { "A-MSISDN Withdrawal", "diameter.3gpp.dsr_flags_bit16",
4469 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00010000,
4472 { &hf_diameter_3gpp_dsr_flags_bit17
,
4473 { "ProSe Withdrawal", "diameter.3gpp.dsr_flags_bit17",
4474 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00020000,
4477 { &hf_diameter_3gpp_dsr_flags_bit18
,
4478 { "Reset-IDs", "diameter.3gpp.dsr_flags_bit18",
4479 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00040000,
4482 { &hf_diameter_3gpp_dsr_flags_bit19
,
4483 { "DL-Buffering-Suggested-Packet-Count Withdrawal", "diameter.3gpp.dsr_flags_bit19",
4484 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00080000,
4487 { &hf_diameter_3gpp_dsr_flags_bit20
,
4488 { "Subscribed IMSI-Group-Id Withdrawal", "diameter.3gpp.dsr_flags_bit20",
4489 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00100000,
4492 { &hf_diameter_3gpp_dsr_flags_bit21
,
4493 { "Delete monitoring events", "diameter.3gpp.dsr_flags_bit21",
4494 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00200000,
4497 { &hf_diameter_3gpp_dsr_flags_bit22
,
4498 { "User Plane Integrity Protection Withdrawal", "diameter.3gpp.dsr_flags_bit22",
4499 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00400000,
4502 { &hf_diameter_3gpp_dsr_flags_bit23
,
4503 { "MSISDN Withdrawal", "diameter.3gpp.dsr_flags_bit23",
4504 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00800000,
4507 { &hf_diameter_3gpp_dsr_flags_bit24
,
4508 { "UE Usage Type Withdrawal", "diameter.3gpp.dsr_flags_bit24",
4509 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x01000000,
4512 { &hf_diameter_3gpp_dsr_flags_bit25
,
4513 { "V2X Withdrawal", "diameter.3gpp.dsr_flags_bit25",
4514 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x02000000,
4517 { &hf_diameter_3gpp_dsr_flags_bit26
,
4518 { "External-Identifier-Withdrawal", "diameter.3gpp.dsr_flags_bit26",
4519 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x04000000,
4522 { &hf_diameter_3gpp_dsr_flags_bit27
,
4523 { "Aerial-UE-Subscription-Withdrawal", "diameter.3gpp.dsr_flags_bit27",
4524 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x08000000,
4527 { &hf_diameter_3gpp_dsr_flags_bit28
,
4528 { "Paging-Time-Window-Subscription-Withdrawal", "diameter.3gpp.dsr_flags_bit28",
4529 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x10000000,
4532 { &hf_diameter_3gpp_dsr_flags_bit29
,
4533 { "Active-Time-Withdrawal", "diameter.3gpp.dsr_flags_bit29",
4534 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x20000000,
4537 { &hf_diameter_3gpp_dsr_flags_bit30
,
4538 { "eDRX-Cycle-Length-Withdrawal", "diameter.3gpp.dsr_flags_bit30",
4539 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x40000000,
4542 { &hf_diameter_3gpp_dsr_flags_bit31
,
4543 { "Service-Gap-Time-Withdrawal", "diameter.3gpp.dsr_flags_bit31",
4544 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x80000000,
4547 { &hf_diameter_3gpp_dsa_flags
,
4548 { "DSA Flags", "diameter.3gpp.dsa_flags",
4549 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4552 { &hf_diameter_3gpp_dsa_flags_bit0
,
4553 { "Network Node area restricted", "diameter.3gpp.dsa_flags_bit0",
4554 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4557 { &hf_diameter_3gpp_dsa_flags_spare_bits
,
4558 { "Spare", "diameter.3gpp.dsa_flags_spare",
4559 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
4562 { &hf_diameter_3gpp_acc_res_dat_flags
,
4563 { "Access-Restriction-Data Flags", "diameter.3gpp.acc_res_dat_flags",
4564 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4567 { &hf_diameter_3gpp_acc_res_dat_flags_bit0
,
4568 { "UTRAN Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit0",
4569 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4572 { &hf_diameter_3gpp_acc_res_dat_flags_bit1
,
4573 { "GERAN Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit1",
4574 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4577 { &hf_diameter_3gpp_acc_res_dat_flags_bit2
,
4578 { "GAN Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit2",
4579 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
4582 { &hf_diameter_3gpp_acc_res_dat_flags_bit3
,
4583 { "I-HSPA-Evolution Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit3",
4584 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
4587 { &hf_diameter_3gpp_acc_res_dat_flags_bit4
,
4588 { "WB-E-UTRAN Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit4",
4589 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
4592 { &hf_diameter_3gpp_acc_res_dat_flags_bit5
,
4593 { "HO-To-Non-3GPP-Access Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit5",
4594 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000020,
4597 { &hf_diameter_3gpp_acc_res_dat_flags_bit6
,
4598 { "NB-IoT Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit6",
4599 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000040,
4602 { &hf_diameter_3gpp_acc_res_dat_flags_bit7
,
4603 { "Enhanced Coverage Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit7",
4604 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000080,
4607 { &hf_diameter_3gpp_acc_res_dat_flags_bit8
,
4608 { "NR as Secondary RAT Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit8",
4609 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000100,
4612 { &hf_diameter_3gpp_acc_res_dat_flags_bit9
,
4613 { "Unlicensed Spectrum as Secondary RAT Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit9",
4614 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000200,
4617 { &hf_diameter_3gpp_acc_res_dat_flags_bit10
,
4618 { "NR in 5G Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit10",
4619 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000400,
4622 { &hf_diameter_3gpp_acc_res_dat_flags_bit11
,
4623 { "LTE-M Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit11",
4624 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000800,
4627 { &hf_diameter_3gpp_acc_res_dat_flags_bit12
,
4628 { "WB-E-UTRAN Except LTE-M Not Allowed", "diameter.3gpp.acc_res_dat_flags_bit12",
4629 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00001000,
4632 { &hf_diameter_3gpp_acc_res_dat_flags_spare_bits
,
4633 { "Spare", "diameter.3gpp.acc_res_dat_flags_spare",
4634 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFe000,
4638 { &hf_diameter_3gpp_ida_flags
,
4639 { "IDA Flags", "diameter.3gpp.ida_flags",
4640 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4643 { &hf_diameter_3gpp_ida_flags_bit0
,
4644 { "Network Node area restricted", "diameter.3gpp.ida_flags_bit0",
4645 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4648 { &hf_diameter_3gpp_ida_flags_spare_bits
,
4649 { "Spare", "diameter.3gpp.ida_flags_spare",
4650 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
4653 { &hf_diameter_3gpp_pua_flags
,
4654 { "PUA Flags", "diameter.3gpp.pua_flags",
4655 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4658 { &hf_diameter_3gpp_pua_flags_bit0
,
4659 { "Freeze M-TMSI", "diameter.3gpp.pua_flags_bit0",
4660 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4663 { &hf_diameter_3gpp_pua_flags_bit1
,
4664 { "Freeze P-TMSI", "diameter.3gpp.pua_flags_bit1",
4665 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4668 { &hf_diameter_3gpp_pua_flags_spare_bits
,
4669 { "Spare", "diameter.3gpp.pua_flags_spare",
4670 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
4673 { &hf_diameter_3gpp_nor_flags
,
4674 { "NOR Flags", "diameter.3gpp.nor_flags",
4675 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4678 { &hf_diameter_3gpp_nor_flags_bit0
,
4679 { "Single-Registration-Indication", "diameter.3gpp.nor_flags_bit0",
4680 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4683 { &hf_diameter_3gpp_nor_flags_bit1
,
4684 { "SGSN area restricted", "diameter.3gpp.nor_flags_bit1",
4685 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4688 { &hf_diameter_3gpp_nor_flags_bit2
,
4689 { "Ready for SM", "diameter.3gpp.nor_flags_bit2",
4690 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
4693 { &hf_diameter_3gpp_nor_flags_bit3
,
4694 { "UE Reachable", "diameter.3gpp.nor_flags_bit3",
4695 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
4698 { &hf_diameter_3gpp_nor_flags_bit4
,
4699 { "Delete all APN and PDN GW identity pairs", "diameter.3gpp.nor_flags_bit4",
4700 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
4703 { &hf_diameter_3gpp_nor_flags_bit5
,
4704 { "UE Reachable from SGSN", "diameter.3gpp.nor_flags_bit5",
4705 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000020,
4708 { &hf_diameter_3gpp_nor_flags_bit6
,
4709 { "Ready for SM from MME", "diameter.3gpp.nor_flags_bit6",
4710 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000040,
4713 { &hf_diameter_3gpp_nor_flags_bit7
,
4714 { "Homogeneous Support of IMS Voice Over PS Sessions", "diameter.3gpp.nor_flags_bit7",
4715 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000080,
4718 { &hf_diameter_3gpp_nor_flags_bit8
,
4719 { "S6a/S6d-Indicator", "diameter.3gpp.nor_flags_bit8",
4720 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000100,
4723 { &hf_diameter_3gpp_nor_flags_bit9
,
4724 { "Removal of MME Registration for SMS", "diameter.3gpp.nor_flags_bit9",
4725 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000200,
4728 { &hf_diameter_3gpp_nor_flags_spare_bits
,
4729 { "Spare", "diameter.3gpp.nor_flags_spare",
4730 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFC00,
4733 { &hf_diameter_3gpp_idr_flags
,
4734 { "IDR Flags", "diameter.3gpp.idr_flags",
4735 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4738 { &hf_diameter_3gpp_idr_flags_bit0
,
4739 { "UE Reachability Request", "diameter.3gpp.idr_flags_bit0",
4740 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4743 { &hf_diameter_3gpp_idr_flags_bit1
,
4744 { "T-ADS Data Request", "diameter.3gpp.idr_flags_bit1",
4745 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4748 { &hf_diameter_3gpp_idr_flags_bit2
,
4749 { "EPS User State Request", "diameter.3gpp.idr_flags_bit2",
4750 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
4753 { &hf_diameter_3gpp_idr_flags_bit3
,
4754 { "EPS Location Information Request", "diameter.3gpp.idr_flags_bit3",
4755 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
4758 { &hf_diameter_3gpp_idr_flags_bit4
,
4759 { "Current Location Request", "diameter.3gpp.idr_flags_bit4",
4760 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
4763 { &hf_diameter_3gpp_idr_flags_bit5
,
4764 { "Local Time Zone Request", "diameter.3gpp.idr_flags_bit5",
4765 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000020,
4768 { &hf_diameter_3gpp_idr_flags_bit6
,
4769 { "Remove SMS Registration", "diameter.3gpp.idr_flags_bit6",
4770 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000040,
4773 { &hf_diameter_3gpp_idr_flags_bit7
,
4774 { "RAT-Type Requested", "diameter.3gpp.idr_flags_bit7",
4775 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000080,
4778 { &hf_diameter_3gpp_idr_flags_bit8
,
4779 { "P-CSCF Restoration Request", "diameter.3gpp.idr_flags_bit8",
4780 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000100,
4783 { &hf_diameter_3gpp_idr_flags_spare_bits
,
4784 { "Spare", "diameter.3gpp.idr_flags_spare",
4785 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFE00,
4788 { &hf_diameter_3gpp_ppr_flags
,
4789 { "PPR Flags", "diameter.3gpp.ppr_flags",
4790 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4793 { &hf_diameter_3gpp_ppr_flags_bit0
,
4794 { "Reset-Indication", "diameter.3gpp.ppr_flags_bit0",
4795 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4798 { &hf_diameter_3gpp_ppr_flags_bit1
,
4799 { "Access-Network-Info-Request", "diameter.3gpp.ppr_flags_bit1",
4800 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4803 { &hf_diameter_3gpp_ppr_flags_bit2
,
4804 { "UE-Local-Time-Zone-Request", "diameter.3gpp.ppr_flags_bit2",
4805 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
4808 { &hf_diameter_3gpp_ppr_flags_bit3
,
4809 { "P-CSCF Restoration Request", "diameter.3gpp.ppr_flags_bit3",
4810 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
4813 { &hf_diameter_3gpp_ppr_flags_spare_bits
,
4814 { "Spare", "diameter.3gpp.ppr_flags_spare",
4815 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFF0,
4818 { &hf_diameter_3gpp_aaa_fail_flags
,
4819 { "AAA Failure Indication", "diameter.3gpp.aaa_fail_flags",
4820 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4823 { &hf_diameter_3gpp_aaa_fail_flags_bit0
,
4824 { "AAA Failure", "diameter.3gpp.aaa_fail_flags_bit0",
4825 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4828 { &hf_diameter_3gpp_aaa_fail_flags_spare_bits
,
4829 { "Spare", "diameter.3gpp.aaa_fail_flags_spare",
4830 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
4833 { &hf_diameter_3gpp_der_flags
,
4834 { "DER Flags", "diameter.3gpp.der_flags",
4835 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4838 { &hf_diameter_3gpp_der_flags_bit0
,
4839 { "NSWO-Capability-Indication", "diameter.3gpp.der_flags_bit0",
4840 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4843 { &hf_diameter_3gpp_der_flags_bit1
,
4844 { "TWAN-S2a-Connectivity-Indicator", "diameter.3gpp.der_flags_bit1",
4845 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4848 { &hf_diameter_3gpp_der_flags_spare_bits
,
4849 { "Spare", "diameter.3gpp.der_flags_spare",
4850 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
4853 { &hf_diameter_3gpp_dea_flags
,
4854 { "DEA Flags", "diameter.3gpp.dea_flags",
4855 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4858 { &hf_diameter_3gpp_dea_flags_bit0
,
4859 { "NSWO-Authorization", "diameter.3gpp.dea_flags_bit0",
4860 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4863 { &hf_diameter_3gpp_dea_flags_bit1
,
4864 { "TWAN-S2a-Connectivity-Indicator", "diameter.3gpp.dea_flags_bit1",
4865 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4868 { &hf_diameter_3gpp_dea_flags_spare_bits
,
4869 { "Spare", "diameter.3gpp.dea_flags_spare",
4870 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
4873 { &hf_diameter_3gpp_rar_flags
,
4874 { "RAR Flags", "diameter.3gpp.rar_flags",
4875 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4878 { &hf_diameter_3gpp_rar_flags_bit0
,
4879 { "Trust-Relationship-Update-indication", "diameter.3gpp.rar_flags_bit0",
4880 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4883 { &hf_diameter_3gpp_rar_flags_bit1
,
4884 { "P-CSCF Restoration Request", "diameter.3gpp.rar_flags_bit1",
4885 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4888 { &hf_diameter_3gpp_rar_flags_spare_bits
,
4889 { "Spare", "diameter.3gpp.rar_flags_spare",
4890 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
4893 { &hf_diameter_3gpp_der_s6b_flags
,
4894 { "RAR Flags", "diameter.3gpp.sb6_flags",
4895 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4898 { &hf_diameter_3gpp_der_s6b_flags_bit0
,
4899 { "Initial-Attach-Indicator", "diameter.3gpp.sb6_flags_bit0",
4900 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4903 { &hf_diameter_3gpp_der_s6b_flags_spare_bits
,
4904 { "Spare", "diameter.3gpp.sb6_flags_spare",
4905 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4908 { &hf_diameter_3gpp_ipv6addr
,
4909 { "IPv6 Address", "diameter.3gpp.ipv6addr",
4910 FT_IPv6
, BASE_NONE
, NULL
, 0x0,
4913 { &hf_diameter_3gpp_mbms_abs_time_ofmbms_data_tfer
,
4914 { "Absolute Time of MBMS Data Transfer", "diameter.3gpp.mbms_abs_time_ofmbms_data_tfer",
4915 FT_ABSOLUTE_TIME
, ABSOLUTE_TIME_NTP_UTC
, NULL
, 0x0,
4918 { &hf_diameter_3gpp_udp_port
,
4919 { "UDP Port", "diameter.3gpp.udp_port",
4920 FT_UINT8
, BASE_DEC
, NULL
, 0x0,
4923 { &hf_diameter_3gpp_codec_data_dir
,
4924 { "Direction", "diameter.3gpp.codec_data.direction",
4925 FT_STRING
, BASE_NONE
, NULL
, 0x0,
4928 { &hf_diameter_3gpp_codec_sdp_type
,
4929 { "SDP Type", "diameter.3gpp.codec_data.sdp_type",
4930 FT_STRING
, BASE_NONE
, NULL
, 0x0,
4933 { &hf_diameter_3gpp_af_requested_data_flags
,
4934 { "AF-Requested-Data Flags", "diameter.3gpp.af_requested_data_flags",
4935 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4938 { &hf_diameter_3gpp_af_requested_data_flags_bit0
,
4939 { "EPC-level identities", "diameter.3gpp.af_requested_data_flags.bit0",
4940 FT_BOOLEAN
, 32, TFS(&tfs_required_not_required
), 0x00000001,
4943 { &hf_diameter_3gpp_mbms_bearer_event
,
4944 { "MBMS-Bearer-Event", "diameter.3gpp.mbms_bearer_event",
4945 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4948 { &hf_diameter_3gpp_mbms_bearer_event_bit0
,
4949 { "Bearer Terminated", "diameter.3gpp.mbms_bearer_event_bit0",
4950 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4953 { &hf_diameter_3gpp_mbms_bearer_event_bit1
,
4954 { "Bearer Activated", "diameter.3gpp.mbms_bearer_event_bit1",
4955 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4958 { &hf_diameter_3gpp_mbms_bearer_event_bit2
,
4959 { "Userplane Event", "diameter.3gpp.mbms_bearer_event_bit2",
4960 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
4963 { &hf_diameter_3gpp_mbms_bearer_event_spare_bits
,
4964 { "Spare", "diameter.3gpp.mbms_bearer_event_spare",
4965 FT_UINT32
, BASE_HEX
, NULL
, 0xfffffff8,
4968 { &hf_diameter_3gpp_mbms_bearer_result
,
4969 { "MBMS-Bearer-Result", "diameter.3gpp.mbms_bearer_result",
4970 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
4973 { &hf_diameter_3gpp_mbms_bearer_result_bit0
,
4974 { "Success", "diameter.3gpp.mbms_bearer_result_bit0",
4975 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
4978 { &hf_diameter_3gpp_mbms_bearer_result_bit1
,
4979 { "Authorization rejected", "diameter.3gpp.mbms_bearer_result_bit1",
4980 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
4983 { &hf_diameter_3gpp_mbms_bearer_result_bit2
,
4984 { "Resources exceeded", "diameter.3gpp.mbms_bearer_result_bit2",
4985 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
4988 { &hf_diameter_3gpp_mbms_bearer_result_bit3
,
4989 { "Unknown TMGI", "diameter.3gpp.mbms_bearer_result_bit3",
4990 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
4993 { &hf_diameter_3gpp_mbms_bearer_result_bit4
,
4994 { "TMGI not in use", "diameter.3gpp.mbms_bearer_result_bit4",
4995 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
4998 { &hf_diameter_3gpp_mbms_bearer_result_bit5
,
4999 { "Overlapping MBMS-Service-Area", "diameter.3gpp.mbms_bearer_result_bit5",
5000 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000020,
5003 { &hf_diameter_3gpp_mbms_bearer_result_bit6
,
5004 { "Unknown Flow Identifier", "diameter.3gpp.mbms_bearer_result_bit6",
5005 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000040,
5008 { &hf_diameter_3gpp_mbms_bearer_result_bit7
,
5009 { "QoS Authorization Rejected", "diameter.3gpp.mbms_bearer_result_bit7",
5010 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000080,
5013 { &hf_diameter_3gpp_mbms_bearer_result_bit8
,
5014 { "Unknown MBMS-Service-Area", "diameter.3gpp.mbms_bearer_result_bit8",
5015 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000100,
5018 { &hf_diameter_3gpp_mbms_bearer_result_bit9
,
5019 { "MBMS-Service-Area Authorization Rejected", "diameter.3gpp.mbms_bearer_result_bit9",
5020 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000200,
5023 { &hf_diameter_3gpp_mbms_bearer_result_bit10
,
5024 { "MBMS-Start-Time", "diameter.3gpp.mbms_bearer_result_bit10",
5025 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000400,
5028 { &hf_diameter_3gpp_mbms_bearer_result_bit11
,
5029 { "Invalid AVP combination", "diameter.3gpp.mbms_bearer_result_bit11",
5030 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000800,
5033 { &hf_diameter_3gpp_mbms_bearer_result_spare_bits
,
5034 { "Spare", "diameter.3gpp.mbms_bearer_result_spare",
5035 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFF000,
5038 { &hf_diameter_3gpp_tmgi_allocation_result
,
5039 { "TMGI-Allocation-Result", "diameter.3gpp.tmgi_allocation_result",
5040 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5043 { &hf_diameter_3gpp_tmgi_allocation_result_bit0
,
5044 { "Success", "diameter.3gpp.tmgi_allocation_result_bit0",
5045 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5048 { &hf_diameter_3gpp_tmgi_allocation_result_bit1
,
5049 { "Authorization rejected", "diameter.3gpp.tmgi_allocation_result_bit1",
5050 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5053 { &hf_diameter_3gpp_tmgi_allocation_result_bit2
,
5054 { "Resources exceeded", "diameter.3gpp.tmgi_allocation_result_bit2",
5055 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
5058 { &hf_diameter_3gpp_tmgi_allocation_result_bit3
,
5059 { "Unknown TMGI", "diameter.3gpp.tmgi_allocation_result_bit3",
5060 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
5063 { &hf_diameter_3gpp_tmgi_allocation_result_bit4
,
5064 { "Too many TMGIs requested", "diameter.3gpp.tmgi_allocation_result_bit4",
5065 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
5068 { &hf_diameter_3gpp_tmgi_allocation_result_spare_bits
,
5069 { "Spare", "diameter.3gpp.tmgi_allocation_result_spare",
5070 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFE0,
5073 { &hf_diameter_3gpp_tmgi_deallocation_result
,
5074 { "TMGI-Deallocation-Result", "diameter.3gpp.tmgi_deallocation_result",
5075 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5078 { &hf_diameter_3gpp_tmgi_deallocation_result_bit0
,
5079 { "Success", "diameter.3gpp.tmgi_deallocation_result_bit0",
5080 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5083 { &hf_diameter_3gpp_tmgi_deallocation_result_bit1
,
5084 { "Authorization rejected", "diameter.3gpp.tmgi_deallocation_result_bit1",
5085 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5088 { &hf_diameter_3gpp_tmgi_deallocation_result_bit2
,
5089 { "Unknown TMGI", "diameter.3gpp.tmgi_deallocation_result_bit2",
5090 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
5093 { &hf_diameter_3gpp_tmgi_deallocation_result_spare_bits
,
5094 { "Spare", "diameter.3gpp.tmgi_deallocation_result_spare",
5095 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFF8,
5098 { &hf_diameter_3gpp_sar_flags
,
5099 { "SAR Flags", "diameter.3gpp.sar_flags",
5100 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5104 { &hf_diameter_3gpp_sar_flags_flags_bit0
,
5105 { "P-CSCF Restoration Indication", "diameter.3gpp.sar_flags_flags_bit0",
5106 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5109 { &hf_diameter_3gpp_feature_list1_rx_flags_bit0
,
5110 { "Rel8", "diameter.3gpp.feature_list1_rx_flags_bit0",
5111 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
5114 { &hf_diameter_3gpp_feature_list1_rx_flags_bit1
,
5115 { "Rel9", "diameter.3gpp.feature_list1_rx_flags_bit1",
5116 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
5119 { &hf_diameter_3gpp_feature_list1_rx_flags_bit2
,
5120 { "ProvAFsignalFlow", "diameter.3gpp.feature_list1_rx_flags_bit2",
5121 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
5124 { &hf_diameter_3gpp_feature_list1_rx_flags_bit3
,
5125 { "SponsoredConnectivity", "diameter.3gpp.feature_list1_rx_flags_bit3",
5126 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
5129 { &hf_diameter_3gpp_feature_list1_rx_flags_bit4
,
5130 { "Rel10", "diameter.3gpp.feature_list1_rx_flags_bit4",
5131 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
5134 { &hf_diameter_3gpp_feature_list1_rx_flags_bit5
,
5135 { "NetLoc", "diameter.3gpp.feature_list1_rx_flags_bit5",
5136 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
5139 { &hf_diameter_3gpp_feature_list1_rx_flags_bit6
,
5140 { "ExtendedFilter", "diameter.3gpp.feature_list1_rx_flags_bit6",
5141 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
5144 { &hf_diameter_3gpp_feature_list1_rx_flags_bit7
,
5145 { "SCTimeBasedUM", "diameter.3gpp.feature_list1_rx_flags_bit7",
5146 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000080,
5149 { &hf_diameter_3gpp_feature_list1_rx_flags_bit8
,
5150 { "Netloc-Trusted-WLAN", "diameter.3gpp.feature_list1_rx_flags_bit8",
5151 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000100,
5154 { &hf_diameter_3gpp_feature_list1_rx_flags_bit9
,
5155 { "RAN-NAS-Cause", "diameter.3gpp.feature_list1_rx_flags_bit9",
5156 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000200,
5160 { &hf_diameter_3gpp_feature_list1_rx_flags_bit10
,
5161 { "GroupComService", "diameter.3gpp.feature_list1_rx_flags_bit10",
5162 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000400,
5165 { &hf_diameter_3gpp_feature_list1_rx_flags_bit11
,
5166 { "ResShare", "diameter.3gpp.feature_list1_rx_flags_bit11",
5167 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000800,
5170 { &hf_diameter_3gpp_feature_list1_rx_flags_bit12
,
5171 { "DeferredService", "diameter.3gpp.feature_list1_rx_flags_bit12",
5172 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00001000,
5175 { &hf_diameter_3gpp_feature_list1_rx_flags_bit13
,
5176 { "DSCP", "diameter.3gpp.feature_list1_rx_flags_bit13",
5177 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00002000,
5180 { &hf_diameter_3gpp_feature_list1_rx_flags_bit14
,
5181 { "SponsorChange", "diameter.3gpp.feature_list1_rx_flags_bit14",
5182 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00004000,
5185 { &hf_diameter_3gpp_feature_list1_rx_flags_bit15
,
5186 { "E2EQOSMTSI", "diameter.3gpp.feature_list1_rx_flags_bit15",
5187 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00008000,
5190 { &hf_diameter_3gpp_feature_list1_rx_flags_bit16
,
5191 { "NetLoc-Untrusted-WLAN", "diameter.3gpp.feature_list1_rx_flags_bit16",
5192 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00010000,
5195 { &hf_diameter_3gpp_feature_list1_rx_flags_bit17
,
5196 { "MCPTT", "diameter.3gpp.feature_list1_rx_flags_bit17",
5197 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00020000,
5200 { &hf_diameter_3gpp_feature_list1_rx_flags_bit18
,
5201 { "PrioritySharing", "diameter.3gpp.feature_list1_rx_flags_bit18",
5202 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00040000,
5205 { &hf_diameter_3gpp_feature_list1_rx_flags_bit19
,
5206 { "PLMNInfo", "diameter.3gpp.feature_list1_rx_flags_bit19",
5207 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00080000,
5210 { &hf_diameter_3gpp_feature_list1_rx_flags_bit20
,
5211 { "MediaComponentVersioning", "diameter.3gpp.feature_list1_rx_flags_bit20",
5212 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00100000,
5215 { &hf_diameter_3gpp_feature_list1_rx_flags_bit21
,
5216 { "MCPTT-Preemption", "diameter.3gpp.feature_list1_rx_flags_bit21",
5217 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00200000,
5220 { &hf_diameter_3gpp_feature_list1_rx_flags_bit22
,
5221 { "MCVideo", "diameter.3gpp.feature_list1_rx_flags_bit22",
5222 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00400000,
5225 { &hf_diameter_3gpp_feature_list1_rx_flags_spare_bits
,
5226 { "Spare", "diameter.3gpp.feature_list1_rx_flags_spare",
5227 FT_UINT32
, BASE_HEX
, NULL
, 0xFF800000,
5230 { &hf_diameter_3gpp_feature_list2_rx_flags_bit0
,
5231 { "PCSCF-Restoration-Enhancement", "diameter.3gpp.feature_list2_rx_flags_bit0",
5232 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
5235 { &hf_diameter_3gpp_feature_list2_rx_flags_bit1
,
5236 { "Extended-Max-Requested-BW-NR", "diameter.3gpp.feature_list2_rx_flags_bit1",
5237 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
5240 { &hf_diameter_3gpp_feature_list2_rx_flags_bit2
,
5241 { "Extended-Min-Requested-BW-NR", "diameter.3gpp.feature_list2_rx_flags_bit2",
5242 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
5245 { &hf_diameter_3gpp_feature_list2_rx_flags_bit3
,
5246 { "Extended-BW-E2EQOSMTSI-NR", "diameter.3gpp.feature_list2_rx_flags_bit3",
5247 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
5250 { &hf_diameter_3gpp_feature_list2_rx_flags_bit4
,
5251 { "VBC", "diameter.3gpp.feature_list2_rx_flags_bit4",
5252 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
5255 { &hf_diameter_3gpp_feature_list2_rx_flags_bit5
,
5256 { "CHEM", "diameter.3gpp.feature_list2_rx_flags_bit5",
5257 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
5260 { &hf_diameter_3gpp_feature_list2_rx_flags_bit6
,
5261 { "VBCLTE", "diameter.3gpp.feature_list2_rx_flags_bit6",
5262 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
5265 { &hf_diameter_3gpp_feature_list2_rx_flags_bit7
,
5266 { "FLUS", "diameter.3gpp.feature_list2_rx_flags_bit7",
5267 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000080,
5270 { &hf_diameter_3gpp_feature_list2_rx_flags_bit8
,
5271 { "EPSFallbackReport", "diameter.3gpp.feature_list2_rx_flags_bit8",
5272 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000100,
5275 { &hf_diameter_3gpp_feature_list2_rx_flags_bit9
,
5276 { "ATSSS", "diameter.3gpp.feature_list2_rx_flags_bit9",
5277 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000200,
5280 { &hf_diameter_3gpp_feature_list2_rx_flags_bit10
,
5281 { "QoSHint", "diameter.3gpp.feature_list2_rx_flags_bit10",
5282 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000400,
5285 { &hf_diameter_3gpp_feature_list2_rx_flags_bit11
,
5286 { "ReallocationOfCredit", "diameter.3gpp.feature_list2_rx_flags_bit11",
5287 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000800,
5290 { &hf_diameter_3gpp_feature_list2_rx_flags_bit12
,
5291 { "Netloc-Trusted-N3GA", "diameter.3gpp.feature_list2_rx_flags_bit12",
5292 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00001000,
5295 { &hf_diameter_3gpp_feature_list2_rx_flags_bit13
,
5296 { "NetLoc-Wireline", "diameter.3gpp.feature_list2_rx_flags_bit13",
5297 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00002000,
5300 { &hf_diameter_3gpp_feature_list2_rx_flags_bit14
,
5301 { "MPSforDTS", "diameter.3gpp.feature_list2_rx_flags_bit14",
5302 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00004000,
5305 { &hf_diameter_3gpp_feature_list2_rx_flags_bit15
,
5306 { "User-Equipment-Info-Extension", "diameter.3gpp.feature_list2_rx_flags_bit15",
5307 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00008000,
5310 { &hf_diameter_3gpp_feature_list2_rx_flags_spare_bits
,
5311 { "Spare", "diameter.3gpp.feature_list2_rx_flags_spare",
5312 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFF0000,
5315 { &hf_diameter_3gpp_feature_list_sd_flags
,
5316 { "SD Feature-List Flags", "diameter.3gpp.sd_feature_list_flags",
5317 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5320 { &hf_diameter_3gpp_feature_list_sd_flags_bit0
,
5321 { "UMCH", "diameter.3gpp.feature_list_sd_flags_bit0",
5322 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
5325 { &hf_diameter_3gpp_feature_list_sd_flags_bit1
,
5326 { "Trusted-WLAN", "diameter.3gpp.feature_list_sd_flags_bit1",
5327 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
5330 { &hf_diameter_3gpp_feature_list_sd_flags_bit2
,
5331 { "TimeBasedUM", "diameter.3gpp.feature_list_sd_flags_bit2",
5332 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
5335 { &hf_diameter_3gpp_feature_list_sd_flags_bit3
,
5336 { "PendingTransaction", "diameter.3gpp.feature_list_sd_flags_bit3",
5337 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
5340 { &hf_diameter_3gpp_feature_list_sd_flags_bit4
,
5341 { "ABC", "diameter.3gpp.feature_list_sd_flags_bit4",
5342 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
5345 { &hf_diameter_3gpp_feature_list_sd_flags_bit5
,
5346 { "CNO-ULI", "diameter.3gpp.feature_list_sd_flags_bit5",
5347 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
5350 { &hf_diameter_3gpp_feature_list_sd_flags_bit6
,
5351 { "ExUsage", "diameter.3gpp.feature_list_sd_flags_bit6",
5352 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
5355 { &hf_diameter_3gpp_feature_list_sd_flags_bit7
,
5356 { "DLDSCPMarking", "diameter.3gpp.feature_list_sd_flags_bit7",
5357 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000080,
5360 { &hf_diameter_3gpp_feature_list_sd_flags_bit8
,
5361 { "TSC", "diameter.3gpp.feature_list_sd_flags_bit8",
5362 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000100,
5365 { &hf_diameter_3gpp_feature_list_sd_flags_bit9
,
5366 { "ENB-Change", "diameter.3gpp.feature_list_sd_flags_bit9",
5367 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000200,
5370 { &hf_diameter_3gpp_feature_list_sd_flags_bit10
,
5371 { "SponsoredConnectivity-Sd", "diameter.3gpp.feature_list_sd_flags_bit10",
5372 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000400,
5375 { &hf_diameter_3gpp_feature_list_sd_flags_spare_bits
,
5376 { "Spare", "diameter.3gpp.feature_list_sd_flags_spare",
5377 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFF800,
5380 { &hf_diameter_3gpp_ran_nas_protocol_type
,
5381 { "Protocol Type", "diameter.3gpp.ran_nas.protocol_type",
5382 FT_UINT8
, BASE_DEC
, VALS(ran_nas_prot_type_vals
), 0xF0,
5385 { &hf_diameter_3gpp_ran_nas_cause_type
,
5386 { "S1AP Cause Type", "diameter.3gpp.ran_nas.s1ap_type",
5387 FT_UINT8
, BASE_DEC
, VALS(s1ap_Cause_vals
), 0x0F,
5390 { &hf_diameter_3gpp_ran_nas_cause_value
,
5391 { "Cause Value", "diameter.3gpp.ran_nas.cause_value",
5392 FT_UINT32
, BASE_DEC
, NULL
, 0x0,
5395 { &hf_diameter_3gpp_s1ap_radio_network
,
5396 { "S1AP Radio Network Cause Value", "diameter.3gpp.ran_nas.radio_cause",
5397 FT_UINT8
, BASE_DEC
, VALS(s1ap_CauseRadioNetwork_vals
), 0x0,
5400 { &hf_diameter_3gpp_s1ap_transport
,
5401 { "S1AP Transport Cause Value", "diameter.3gpp.ran_nas.transport_cause",
5402 FT_UINT8
, BASE_DEC
, VALS(s1ap_CauseTransport_vals
), 0x0,
5405 { &hf_diameter_3gpp_s1ap_nas
,
5406 { "S1AP NAS Cause Value", "diameter.3gpp.ran_nas.nas_cause",
5407 FT_UINT8
, BASE_DEC
, VALS(s1ap_CauseNas_vals
), 0x0,
5410 { &hf_diameter_3gpp_s1ap_protocol
,
5411 { "S1AP Protocol Cause Value", "diameter.3gpp.ran_nas.protocol_cause",
5412 FT_UINT8
, BASE_DEC
, VALS(s1ap_CauseProtocol_vals
), 0x0,
5415 { &hf_diameter_3gpp_s1ap_misc
,
5416 { "S1AP Misc. Cause Value", "diameter.3gpp.ran_nas.misc_cause",
5417 FT_UINT8
, BASE_DEC
, VALS(s1ap_CauseMisc_vals
), 0x0,
5420 { &hf_diameter_3gpp_emm_cause
,
5421 { "EMM Cause Value", "diameter.3gpp.ran_nas.emm_cause",
5422 FT_UINT8
, BASE_DEC
, VALS(nas_eps_emm_cause_values
), 0x0,
5425 { &hf_diameter_3gpp_esm_cause
,
5426 { "ESM Cause Value", "diameter.3gpp.ran_nas.esm_cause",
5427 FT_UINT8
, BASE_DEC
, VALS(nas_eps_esm_cause_vals
), 0x0,
5430 { &hf_diameter_3gpp_diameter_cause
,
5431 { "Diameter Cause Value", "diameter.3gpp.ran_nas.diameter_cause",
5432 FT_UINT16
, BASE_DEC
, VALS(diameter_3gpp_termination_cause_vals
), 0x0,
5435 { &hf_diameter_3gpp_ikev2_cause
,
5436 { "IKEv2 Cause Value", "diameter.3gpp.ran_nas.ikev2_cause",
5437 FT_UINT16
, BASE_DEC
, VALS(diameter_3gpp_IKEv2_error_type_vals
), 0x0,
5440 { &hf_diameter_3gpp_emergency_services_flags
,
5441 { "Emergency-Services Flags", "diameter.3gpp.emergency_ind_flags",
5442 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5445 { &hf_diameter_3gpp_emergency_services_flags_bit0
,
5446 { "Emergency-Indication", "diameter.3gpp.emergency_ind_flags_bit0",
5447 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5450 { &hf_diameter_3gpp_emergency_services_flags_spare_bits
,
5451 { "Spare", "diameter.3gpp.emergency_ind_flags_spare",
5452 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
5455 { &hf_diameter_3gpp_pur_flags
,
5456 { "PUR Flags", "diameter.3gpp.pur_flags",
5457 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5460 { &hf_diameter_3gpp_pur_flags_spare_bits
,
5461 { "Spare", "diameter.3gpp.pur_flags_spare",
5462 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
5465 { &hf_diameter_3gpp_pur_flags_bit1
,
5466 { "UE Purged in SGSN", "diameter.3gpp.pur_flags_bit1",
5467 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5470 { &hf_diameter_3gpp_pur_flags_bit0
,
5471 { "UE Purged in MME", "diameter.3gpp.pur_flags_bit0",
5472 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5475 { &hf_diameter_3gpp_clr_flags
,
5476 { "CLR Flags", "diameter.3gpp.clr_flags",
5477 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5480 { &hf_diameter_3gpp_clr_flags_spare_bits
,
5481 { "Spare", "diameter.3gpp.clr_flags_spare",
5482 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
5485 { &hf_diameter_3gpp_clr_flags_bit1
,
5486 { "Reattach-Required", "diameter.3gpp.clr_flags_bit1",
5487 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5490 { &hf_diameter_3gpp_clr_flags_bit0
,
5491 { "S6a/S6d-Indicator", "diameter.3gpp.clr_flags_bit0",
5492 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5495 { &hf_diameter_3gpp_uvr_flags
,
5496 { "UVR Flags", "diameter.3gpp.uvr_flags",
5497 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5500 { &hf_diameter_3gpp_uvr_flags_spare_bits
,
5501 { "Spare", "diameter.3gpp.uvr_flags_spare",
5502 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
5505 { &hf_diameter_3gpp_uvr_flags_bit0
,
5506 { "Skip Subscriber Data", "diameter.3gpp.uvr_flags_bit0",
5507 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5510 { &hf_diameter_3gpp_uva_flags
,
5511 { "UVA Flags", "diameter.3gpp.uva_flags",
5512 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5515 { &hf_diameter_3gpp_uva_flags_spare_bits
,
5516 { "Spare", "diameter.3gpp.uva_flags_spare",
5517 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
5520 { &hf_diameter_3gpp_uva_flags_bit0
,
5521 { "Temporary Empty VPLMN CSG Subscription Data", "diameter.3gpp.uva_flags_bit0",
5522 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5525 { &hf_diameter_3gpp_subscription_data_flags
,
5526 { "Subscription Data Flags", "diameter.3gpp.subscription_data_flags",
5527 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5530 { &hf_diameter_3gpp_subscription_data_flags_spare_bits
,
5531 { "Spare", "diameter.3gpp.subscription_data_flags_spare",
5532 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFF0,
5535 { &hf_diameter_3gpp_subscription_data_flags_bit3
,
5536 { "PDN-Connection-Restricted", "diameter.3gpp.subscription_data_flags_bit3",
5537 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
5540 { &hf_diameter_3gpp_subscription_data_flags_bit2
,
5541 { "User Plane Integrity Protection", "diameter.3gpp.subscription_data_flags_bit2",
5542 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
5545 { &hf_diameter_3gpp_subscription_data_flags_bit1
,
5546 { "SMS-In-SGSN-Allowed-Indication", "diameter.3gpp.subscription_data_flags_bit1",
5547 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5550 { &hf_diameter_3gpp_subscription_data_flags_bit0
,
5551 { "PS-And-SMS-Only-Service-Provision-Indication", "diameter.3gpp.subscription_data_flags_bit0",
5552 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5555 { &hf_diameter_3gpp_wlan_offloadability_eutran
,
5556 { "WLAN-offloadability-EUTRAN", "diameter.3gpp.wlan_offloadability_eutran",
5557 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5560 { &hf_diameter_3gpp_wlan_offloadability_eutran_spare_bits
,
5561 { "Spare", "diameter.3gpp.wlan_offloadability_eutran_spare",
5562 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
5565 { &hf_diameter_3gpp_wlan_offloadability_eutran_bit0
,
5566 { "PWLAN offloadability for E-UTRAN", "diameter.3gpp.wlan_offloadability_eutran_bit0",
5567 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5570 { &hf_diameter_3gpp_wlan_offloadability_utran
,
5571 { "WLAN-offloadability-UTRAN", "diameter.3gpp.wlan_offloadability_utran",
5572 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5575 { &hf_diameter_3gpp_wlan_offloadability_utran_spare_bits
,
5576 { "Spare", "diameter.3gpp.wlan_offloadability_utran_spare",
5577 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
5580 { &hf_diameter_3gpp_wlan_offloadability_utran_bit0
,
5581 { "PWLAN offloadability for UTRAN", "diameter.3gpp.wlan_offloadability_utran_bit0",
5582 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5585 { &hf_diameter_3gpp_air_flags
,
5586 { "AIR Flags", "diameter.3gpp.air_flags",
5587 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5590 { &hf_diameter_3gpp_air_flags_spare_bits
,
5591 { "Spare", "diameter.3gpp.air_flags_spare",
5592 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFE,
5595 { &hf_diameter_3gpp_air_flags_bit0
,
5596 { "Send UE Usage Type", "diameter.3gpp.air_flags_bit0",
5597 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5600 { &hf_diameter_3gpp_preferred_data_mode
,
5601 { "Preferred Data Mode", "diameter.3gpp.preferred_data_mode",
5602 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5605 { &hf_diameter_3gpp_preferred_data_mode_spare_bits
,
5606 { "Spare", "diameter.3gpp.preferred_data_mode_spare",
5607 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
5610 { &hf_diameter_3gpp_preferred_data_mode_bit1
,
5611 { "Data over Control Plane Preferred", "diameter.3gpp.preferred_data_mode_bit1",
5612 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5615 { &hf_diameter_3gpp_preferred_data_mode_bit0
,
5616 { "Data over User Plane Preferred", "diameter.3gpp.preferred_data_mode_bit0",
5617 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5620 { &hf_diameter_3gpp_v2x_permission
,
5621 { "V2X Permission", "diameter.3gpp.v2x_permission",
5622 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5625 { &hf_diameter_3gpp_v2x_permission_spare_bits
,
5626 { "Spare", "diameter.3gpp.v2x_permission_spare",
5627 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
5630 { &hf_diameter_3gpp_v2x_permission_bit1
,
5631 { "Allow V2X communication over PC5 as Pedestrian UE", "diameter.3gpp.v2x_permission_bit1",
5632 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5635 { &hf_diameter_3gpp_v2x_permission_bit0
,
5636 { "Allow V2X communication over PC5 as Vehicle UE", "diameter.3gpp.v2x_permission_bit0",
5637 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5640 { &hf_diameter_3gpp_core_network_restrictions
,
5641 { "Core Network Restrictions", "diameter.3gpp.core_network_restrictions",
5642 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5645 { &hf_diameter_3gpp_core_network_restrictions_spare_bits
,
5646 { "Spare", "diameter.3gpp.core_network_restrictions_spare",
5647 FT_UINT32
, BASE_HEX
, NULL
, 0xFFFFFFFC,
5650 { &hf_diameter_3gpp_core_network_restrictions_bit1
,
5651 { "5GC", "diameter.3gpp.core_network_restrictions_bit1",
5652 FT_BOOLEAN
, 32, TFS(&tfs_not_allowed_allowed
), 0x00000002,
5655 { &hf_diameter_3gpp_core_network_restrictions_bit0
,
5656 { "Reserved", "diameter.3gpp.core_network_restrictions_bit0",
5657 FT_UINT32
, BASE_HEX
, NULL
, 0x00000001,
5660 { &hf_diameter_3gpp_supported_gad_shapes
,
5661 { "Supported-GAD-Shapes", "diameter.3gpp.supported_gad_shapes",
5662 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5666 { &hf_diameter_3gpp_highaccuracyellipsoidpointwithaltitudeandscalableuncertaintyellipsoid_bit10
,
5667 { "highAccuracyEllipsoidPointWithAltitudeAndScalableUncertaintyEllipsoid", "diameter.3gpp.highaccuracyellipsoidpointwithaltitudeandscalableuncertaintyellipsoid_bit10",
5668 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000400,
5671 { &hf_diameter_3gpp_highaccuracyellipsoidpointwithscalableuncertaintyellipse_bit9
,
5672 { "highAccuracyEllipsoidPointWithScalableUncertaintyEllipse", "diameter.3gpp.highaccuracyellipsoidpointwithscalableuncertaintyellipse_bit9",
5673 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000200,
5676 { &hf_diameter_3gpp_highaccuracyellipsoidpointwithaltitudeanduncertaintyellipsoid_bit8
,
5677 { "highAccuracyEllipsoidPointWithAltitudeAndUncertaintyEllipsoid", "diameter.3gpp.highaccuracyellipsoidpointwithaltitudeanduncertaintyellipsoid_bit8",
5678 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000100,
5681 { &hf_diameter_3gpp_highaccuracyellipsoidpointwithuncertaintyellipse_bit7
,
5682 { "highAccuracyEllipsoidPointWithUncertaintyEllipse", "diameter.3gpp.highaccuracyellipsoidpointwithuncertaintyellipse_bit7",
5683 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000080,
5686 { &hf_diameter_3gpp_ellipsoidarc_bit6
,
5687 { "ellipsoidArc", "diameter.3gpp.ellipsoidarc_bit6",
5688 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
5691 { &hf_diameter_3gpp_ellipsoidpointwithaltitudeanduncertaintyelipsoid_bit5
,
5692 { "ellipsoidPointWithAltitudeAndUncertaintyElipsoid", "diameter.3gpp.ellipsoidpointwithaltitudeanduncertaintyelipsoid_bit5",
5693 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
5696 { &hf_diameter_3gpp_ellipsoidpointwithaltitude_bit4
,
5697 { "ellipsoidPointWithAltitude", "diameter.3gpp.ellipsoidpointwithaltitude_bit4",
5698 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
5701 { &hf_diameter_3gpp_polygon_bit3
,
5702 { "polygon", "diameter.3gpp.polygon_bit3",
5703 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
5706 { &hf_diameter_3gpp_ellipsoidpointwithuncertaintyellipse_bit2
,
5707 { "ellipsoidPointWithUncertaintyEllipse", "diameter.3gpp.ellipsoidpointwithuncertaintyellipse_bit2",
5708 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
5711 { &hf_diameter_3gpp_ellipsoidpointwithuncertaintycircle_bit1
,
5712 { "ellipsoidPointWithUncertaintyCircle", "diameter.3gpp.ellipsoidpointwithuncertaintycircle_bit1",
5713 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
5716 { &hf_diameter_3gpp_ellipsoidpoint_bit0
,
5717 { "ellipsoidPoint", "diameter.3gpp.ellipsoidpoint_bit0",
5718 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
5722 { &hf_diameter_3gpp_plr_flags
,
5723 { "PLR-Flags", "diameter.3gpp.plr_flags",
5724 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5727 { &hf_diameter_3gpp_mo_lr_shortcircuit_indicator_bit0
,
5728 { "MO-LR-ShortCircuit-Indicator", "diameter.3gpp.mo_lr_shortcircuit_indicator",
5729 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5732 { &hf_diameter_3gpp_optimized_lcs_proc_req_bit1
,
5733 { "Optimized-LCS-Proc-Req", "diameter.3gpp.optimized_lcs_proc_req",
5734 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5737 { &hf_diameter_3gpp_delayed_location_reporting_support_indicator_bit2
,
5738 { "Delayed-Location-Reporting-Support-Indicator", "diameter.3gpp.delayed_location_reporting_support_indicator",
5739 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
5742 { &hf_diameter_3gpp_plr_flags_spare_bits
,
5743 { "Spare", "diameter.3gpp.plr_flags_spare_bits",
5744 FT_UINT32
, BASE_HEX
, NULL
, 0xfffffff8,
5747 { &hf_diameter_3gpp_pla_flags
,
5748 { "PLA-Flags", "diameter.3gpp.pla_flags",
5749 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5753 { &hf_diameter_3gpp_deferred_mt_lr_response_indicator_bit0
,
5754 { "Deferred-MT-LR-Response-Indicator", "diameter.3gpp.deferred_mt_lr_response_indicator",
5755 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5758 { &hf_diameter_3gpp_mo_lr_shortcircuit_indicator_bit1
,
5759 { "MO-LR-ShortCircuit-Indicator", "diameter.3gpp.mo_lr_shortcircuit_indicator",
5760 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5763 { &hf_diameter_3gpp_optimized_lcs_proc_performed_bit2
,
5764 { "Optimized-LCS-Proc-Performed", "diameter.3gpp.optimized_lcs_proc_performed",
5765 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
5768 { &hf_diameter_3gpp_ue_transiently_not_reachable_indicator_bit3
,
5769 { "UE-Transiently-Not-Reachable-Indicator", "diameter.3gpp.ue_transiently_not_reachable_indicator",
5770 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
5773 { &hf_diameter_3gpp_pla_flags_spare_bits
,
5774 { "Spare", "diameter.3gpp.pla_flags_spare_bits",
5775 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0xfffffff0,
5778 { &hf_diameter_3gpp_deferred_location_type
,
5779 { "Deferred-Location-Type", "diameter.3gpp.deferred_location_type",
5780 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5784 { &hf_diameter_3gpp_ue_available_bit0
,
5785 { "UE-Available", "diameter.3gpp.ue_avaliable",
5786 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5789 { &hf_diameter_3gpp_entering_into_area_bit1
,
5790 { "Entering-Into-Area", "diameter.3gpp.entering_into_area",
5791 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5794 { &hf_diameter_3gpp_leaving_from_area_bit2
,
5795 { "Leaving-From-Area", "diameter.3gpp.leaving_from_area",
5796 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
5799 { &hf_diameter_3gpp_being_inside_area_bit3
,
5800 { "Being-Inside-Area", "diameter.3gpp.being_inside_area",
5801 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
5804 { &hf_diameter_3gpp_periodic_ldr_bit4
,
5805 { "Periodic-LDR", "diameter.3gpp.periodic_ldr",
5806 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
5809 { &hf_diameter_3gpp_motion_event_bit5
,
5810 { "Motion-Event", "diameter.3gpp.motion_event",
5811 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000020,
5814 { &hf_diameter_3gpp_ldr_activated_bit6
,
5815 { "LDR-Activated", "diameter.3gpp.ldr_activated",
5816 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000040,
5819 { &hf_diameter_3gpp_maximum_interval_exporation_bit7
,
5820 { "Maximum-Interval-Expiration", "diameter.3gpp.maximum_interval_exporation",
5821 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000080,
5824 { &hf_diameter_3gpp_deferred_location_type_spare_bits
,
5825 { "Spare", "diameter.3gpp.deferred_location_type_spare",
5826 FT_UINT32
, BASE_HEX
, NULL
, 0xffffff00,
5829 { &hf_diameter_3gpp_gcip
,
5830 { "Group-Configuration-In-Progress", "diameter.3gpp.gcip",
5831 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5834 { &hf_diameter_3gpp_amec
,
5835 { "All-Monitoring-Events-Cancelled", "diameter.3gpp.amec",
5836 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5839 { &hf_diameter_3gpp_coame
,
5840 { "Change-Of-Authorized-Monitoring-Events", "diameter.3gpp.coame",
5841 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
5844 { &hf_diameter_3gpp_acpc
,
5845 { "All-Communication-Pattern-Cancelled", "diameter.3gpp.acpc",
5846 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
5849 { &hf_diameter_3gpp_rir_flags
,
5850 { "RIR Flags", "diameter.3gpp.rir_flags",
5851 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5854 { &hf_diameter_3gpp_rir_spare_b31_b4
,
5855 { "Spare", "diameter.3gpp.rir_flags.spare",
5856 FT_UINT32
, BASE_HEX
, NULL
, 0xffffffF0,
5859 { &hf_diameter_3gpp_feature_list_s6t_flags
,
5860 { "S6t Feature-List Flags", "diameter.3gpp.s6t.feature_list_flags",
5861 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5864 { &hf_diameter_3gpp_feature_list_s6t_flags_bit0
,
5865 { "MONTE", "diameter.3gpp.s6t.b0",
5866 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000001,
5869 { &hf_diameter_3gpp_feature_list_s6t_flags_bit1
,
5870 { "AESE-Communication-Pattern", "diameter.3gpp.s6t.b1",
5871 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000002,
5874 { &hf_diameter_3gpp_feature_list_s6t_flags_bit2
,
5875 { "NIDD-Authorization", "diameter.3gpp.s6t.b2",
5876 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000004,
5879 { &hf_diameter_3gpp_feature_list_s6t_flags_bit3
,
5880 { "Enhanced-Coverage-Restriction-Control", "diameter.3gpp.s6t.b3",
5881 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000008,
5884 { &hf_diameter_3gpp_feature_list_s6t_flags_bit4
,
5885 { "NIDD Authorization Update", "diameter.3gpp.s6t.b4",
5886 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000010,
5889 { &hf_diameter_3gpp_feature_list_s6t_flags_bit5
,
5890 { "Report-Eff-MONTE", "diameter.3gpp.s6t.b5",
5891 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000020,
5894 { &hf_diameter_3gpp_feature_list_s6t_flags_bit6
,
5895 { "Event Cancellation Report", "diameter.3gpp.s6t.b6",
5896 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000040,
5899 { &hf_diameter_3gpp_feature_list_s6t_flags_bit7
,
5900 { "Config-Eff-CP", "diameter.3gpp.s6t.b7",
5901 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000080,
5904 { &hf_diameter_3gpp_feature_list_s6t_flags_bit8
,
5905 { "Config-Eff-NP", "diameter.3gpp.s6t.b8",
5906 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000100,
5909 { &hf_diameter_3gpp_feature_list_s6t_flags_bit9
,
5910 { "Extended Reference IDs", "diameter.3gpp.s6t.b9",
5911 FT_BOOLEAN
, 32, TFS(&tfs_set_notset
), 0x00000200,
5914 { &hf_diameter_3gpp_feature_list_s6t_spare_b31_b10
,
5915 { "Spare", "diameter.3gpp.s6t.spare",
5916 FT_UINT32
, BASE_HEX
, NULL
, 0xfffffc00,
5919 { &hf_diameter_3gpp_feature_list_swx_flags
,
5920 { "SWx Feature-List Flags", "diameter.3gpp.swx.feature_list_flags",
5921 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5924 { &hf_diameter_3gpp_feature_list_swx_flags_bit0
,
5925 { "HSS Restoration", "diameter.3gpp.swx.feature_list_flags.b0",
5926 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
5929 { &hf_diameter_3gpp_feature_list_swx_flags_bit1
,
5930 { "Access-Network-Information-Retrieval", "diameter.3gpp.swx.feature_list_flags.b1",
5931 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000002,
5934 { &hf_diameter_3gpp_feature_list_swx_flags_bit2
,
5935 { "UE Local Time Zone Retrieval", "diameter.3gpp.swx.feature_list_flags.b2",
5936 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000004,
5939 { &hf_diameter_3gpp_feature_list_swx_flags_bit3
,
5940 { "P-CSCF Restoration for WLAN", "diameter.3gpp.swx.feature_list_flags.b3",
5941 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000008,
5944 { &hf_diameter_3gpp_feature_list_swx_flags_bit4
,
5945 { "Emergency Services Continuity", "diameter.3gpp.swx.feature_list_flags.b4",
5946 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000010,
5949 { &hf_diameter_3gpp_feature_list_swx_flags_bit5
,
5950 { "ERP", "diameter.3gpp.swx.feature_list_flags.b5",
5951 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000020,
5954 { &hf_diameter_3gpp_feature_list_swx_flags_bit6
,
5955 { "Dedicated Core Networks", "diameter.3gpp.swx.feature_list_flags.b6",
5956 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000040,
5959 { &hf_diameter_3gpp_feature_list_s6b_flags
,
5960 { "S6b Feature-List Flags", "diameter.3gpp.s6b.feature_list_flags",
5961 FT_UINT32
, BASE_HEX
, NULL
, 0x0,
5964 { &hf_diameter_3gpp_feature_list_s6b_flags_bit0
,
5965 { "P-CSCF Restoration for WLAN", "diameter.3gpp.s6b.feature_list_flags.b0",
5966 FT_BOOLEAN
, 32, TFS(&tfs_supported_not_supported
), 0x00000001,
5969 { &hf_diameter_3gpp_supported_monitoring_events
,
5970 { "Supported-Monitoring-Events", "diameter.3gpp.supported_monitoring_events",
5971 FT_UINT64
, BASE_HEX
, NULL
, 0x0,
5974 { &hf_diameter_3gpp_supported_monitoring_events_b0
,
5975 { "UE and UICC and/or new IMSI-IMEI-SV association", "diameter.3gpp.supported_monitoring_events.b0",
5976 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000001,
5979 { &hf_diameter_3gpp_supported_monitoring_events_b1
,
5980 { "UE-reachability", "diameter.3gpp.supported_monitoring_events.b1",
5981 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000002,
5984 { &hf_diameter_3gpp_supported_monitoring_events_b2
,
5985 { "Location-of-the-UE", "diameter.3gpp.supported_monitoring_events.b2",
5986 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000004,
5989 { &hf_diameter_3gpp_supported_monitoring_events_b3
,
5990 { "Loss-of-connectivity", "diameter.3gpp.supported_monitoring_events.b3",
5991 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000008,
5994 { &hf_diameter_3gpp_supported_monitoring_events_b4
,
5995 { "Communication-failure", "diameter.3gpp.supported_monitoring_events.b4",
5996 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000010,
5999 { &hf_diameter_3gpp_supported_monitoring_events_b5
,
6000 { "Roaming-status", "diameter.3gpp.supported_monitoring_events.b5",
6001 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000020,
6004 { &hf_diameter_3gpp_supported_monitoring_events_b6
,
6005 { "Availability after DDN failure", "diameter.3gpp.supported_monitoring_events.b6",
6006 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000040,
6009 { &hf_diameter_3gpp_supported_monitoring_events_b7
,
6010 { "Idle Status Indication", "diameter.3gpp.supported_monitoring_events.b7",
6011 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000080,
6014 { &hf_diameter_3gpp_supported_monitoring_events_b8
,
6015 { "PDN Connectivity Status", "diameter.3gpp.supported_monitoring_events.b8",
6016 FT_BOOLEAN
, 64, TFS(&tfs_supported_not_supported
), 0x0000000000000100,
6022 /* Setup protocol subtree array */
6023 static int *ett
[] = {
6024 &ett_diameter_3gpp_path
,
6025 &ett_diameter_3gpp_uar_flags
,
6026 &ett_diameter_3gpp_feature_list
,
6027 &ett_diameter_3gpp_tmgi
,
6028 &ett_diameter_3gpp_cms
,
6029 &ett_diameter_3gpp_qos_subscribed
,
6030 &ett_diameter_3gpp_ulr_flags
,
6031 &ett_diameter_3gpp_ula_flags
,
6032 &ett_diameter_3gpp_dsr_flags
,
6033 &ett_diameter_3gpp_dsa_flags
,
6034 &ett_diameter_3gpp_ida_flags
,
6035 &ett_diameter_3gpp_pua_flags
,
6036 &ett_diameter_3gpp_nor_flags
,
6037 &ett_diameter_3gpp_idr_flags
,
6038 &ett_diameter_3gpp_ppr_flags
,
6039 &ett_diameter_3gpp_aaa_fail_flags
,
6040 &ett_diameter_3gpp_der_flags
,
6041 &ett_diameter_3gpp_dea_flags
,
6042 &ett_diameter_3gpp_rar_flags
,
6043 &ett_diameter_3gpp_der_s6b_flags
,
6044 &ett_diameter_3gpp_mbms_bearer_event
,
6045 &ett_diameter_3gpp_mbms_bearer_result
,
6046 &ett_diameter_3gpp_tmgi_allocation_result
,
6047 &ett_diameter_3gpp_tmgi_deallocation_result
,
6048 &ett_diameter_3gpp_sar_flags
,
6049 &ett_diameter_3gpp_req_nodes
,
6050 &ett_diameter_3gpp_emergency_services_flags
,
6051 &ett_diameter_3gpp_pur_flags
,
6052 &ett_diameter_3gpp_clr_flags
,
6053 &ett_diameter_3gpp_uvr_flags
,
6054 &ett_diameter_3gpp_uva_flags
,
6055 &ett_diameter_3gpp_subscription_data_flags
,
6056 &ett_diameter_3gpp_wlan_offloadability_eutran
,
6057 &ett_diameter_3gpp_wlan_offloadability_utran
,
6058 &ett_diameter_3gpp_air_flags
,
6059 &ett_diameter_3gpp_preferred_data_mode
,
6060 &ett_diameter_3gpp_v2x_permission
,
6061 &ett_diameter_3gpp_core_network_restrictions
,
6062 &ett_diameter_3gpp_supported_gad_shapes
,
6063 &ett_diameter_3gpp_plr_flags
,
6064 &ett_diameter_3gpp_pla_flags
,
6065 &ett_diameter_3gpp_deferred_location_type
,
6066 &ett_diameter_3gpp_rir_flags
,
6067 &ett_diameter_3gpp_supported_monitoring_events
,
6068 &ett_diameter_3gpp_af_requested_data_flags
6071 expert_module_t
*expert_diameter_3gpp
;
6073 static ei_register_info ei
[] = {
6074 { &ei_diameter_3gpp_plmn_id_wrong_len
,
6075 { "diameter_3gpp.plmn_id_wrong_len", PI_PROTOCOL
, PI_ERROR
, "PLMN Id should be 3 octets", EXPFILL
} },
6078 /* Required function calls to register the header fields and subtrees used */
6079 proto_diameter_3gpp
= proto_register_protocol("Diameter 3GPP","Diameter3GPP", "diameter.3gpp");
6080 proto_register_field_array(proto_diameter_3gpp
, hf
, array_length(hf
));
6081 proto_register_subtree_array(ett
, array_length(ett
));
6083 expert_diameter_3gpp
= expert_register_protocol(proto_diameter_3gpp
);
6084 expert_register_field_array(expert_diameter_3gpp
, ei
, array_length(ei
));
6089 * Editor modelines - https://www.wireshark.org/tools/modelines.html
6094 * indent-tabs-mode: nil
6097 * vi: set shiftwidth=4 tabstop=8 expandtab:
6098 * :indentSize=4:tabSize=8:noTabs=true: