1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
4 /* ../../tools/asn2wrs.py -p sbc-ap -c ./sbc-ap.cnf -s ./packet-sbc-ap-template -D . -O ../../epan/dissectors SBC-AP-CommonDataTypes.asn SBC-AP-Constants.asn SBC-AP-Containers.asn SBC-AP-IEs.asn SBC-AP-PDU-Contents.asn SBC-AP-PDU-Descriptions.asn */
6 /* Input file: packet-sbc-ap-template.c */
8 #line 1 "../../asn1/sbc-ap/packet-sbc-ap-template.c"
10 * Routines for SBc Application Part (SBc-AP) packet dissection
14 * Wireshark - Network traffic analyzer
15 * By Gerald Combs <gerald@wireshark.org>
16 * Copyright 1998 Gerald Combs
18 * This program is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU General Public License
20 * as published by the Free Software Foundation; either version 2
21 * of the License, or (at your option) any later version.
23 * This program is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
28 * You should have received a copy of the GNU General Public License
29 * along with this program; if not, write to the Free Software
30 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
38 #include <epan/packet.h>
42 #include <epan/strutil.h>
43 #include <epan/asn1.h>
44 #include <epan/sctpppids.h>
46 #include "packet-ber.h"
47 #include "packet-per.h"
48 #include "packet-e212.h"
50 #define PNAME "SBc Application Part"
51 #define PSNAME "SBCAP"
52 #define PFNAME "sbcap"
54 /* The registered port number for SBc-AP is 29168.
55 * The registered payload protocol identifier for SBc-AP is 24.
57 #define SBC_AP_PORT 29168
58 static dissector_handle_t sbc_ap_handle
=NULL
;
62 /*--- Included file: packet-sbc-ap-val.h ---*/
63 #line 1 "../../asn1/sbc-ap/packet-sbc-ap-val.h"
64 #define maxNrOfErrors 256
65 #define maxnoofCellID 65535
66 #define maxNrOfTAIs 65535
67 #define maxnoofgencyEmerAreaID 65535
68 #define maxnoofTAIforWarning 65535
69 #define maxProtocolExtensions 65535
70 #define maxProtocolIEs 65535
71 #define maxnoofEmerAreaIDs 65535
73 typedef enum _ProcedureCode_enum
{
74 id_Write_Replace_Warning
= 0,
78 typedef enum _ProtocolIE_ID_enum
{
79 id_Broadcast_Message_Content
= 0,
81 id_Criticality_Diagnostics
= 2,
82 id_Data_Coding_Scheme
= 3,
84 id_Message_Identifier
= 5,
85 id_Number_of_Broadcasts_Completed_List
= 6,
86 id_Number_of_Broadcasts_Requested
= 7,
87 id_Radio_Resource_Loading_List
= 8,
88 id_Recovery_Indication
= 9,
89 id_Repetition_Period
= 10,
90 id_Serial_Number
= 11,
91 id_Service_Areas_List
= 12,
94 id_Warning_Area_List
= 15,
95 id_Warning_Message_Content
= 16,
96 id_Warning_Security_Information
= 17,
99 id_Concurrent_Warning_Message_Indicator
= 20,
100 id_Extended_Repetition_Period
= 21
101 } ProtocolIE_ID_enum
;
103 /*--- End of included file: packet-sbc-ap-val.h ---*/
104 #line 54 "../../asn1/sbc-ap/packet-sbc-ap-template.c"
106 /* Initialize the protocol and registered fields */
107 static int proto_sbc_ap
= -1;
110 /*--- Included file: packet-sbc-ap-hf.c ---*/
111 #line 1 "../../asn1/sbc-ap/packet-sbc-ap-hf.c"
112 static int hf_sbc_ap_Cause_PDU
= -1; /* Cause */
113 static int hf_sbc_ap_Concurrent_Warning_Message_Indicator_PDU
= -1; /* Concurrent_Warning_Message_Indicator */
114 static int hf_sbc_ap_Criticality_Diagnostics_PDU
= -1; /* Criticality_Diagnostics */
115 static int hf_sbc_ap_Data_Coding_Scheme_PDU
= -1; /* Data_Coding_Scheme */
116 static int hf_sbc_ap_Extended_Repetition_Period_PDU
= -1; /* Extended_Repetition_Period */
117 static int hf_sbc_ap_List_of_TAIs_PDU
= -1; /* List_of_TAIs */
118 static int hf_sbc_ap_Message_Identifier_PDU
= -1; /* Message_Identifier */
119 static int hf_sbc_ap_Number_of_Broadcasts_Requested_PDU
= -1; /* Number_of_Broadcasts_Requested */
120 static int hf_sbc_ap_Omc_Id_PDU
= -1; /* Omc_Id */
121 static int hf_sbc_ap_Repetition_Period_PDU
= -1; /* Repetition_Period */
122 static int hf_sbc_ap_Serial_Number_PDU
= -1; /* Serial_Number */
123 static int hf_sbc_ap_Warning_Area_List_PDU
= -1; /* Warning_Area_List */
124 static int hf_sbc_ap_Warning_Message_Content_PDU
= -1; /* Warning_Message_Content */
125 static int hf_sbc_ap_Warning_Security_Information_PDU
= -1; /* Warning_Security_Information */
126 static int hf_sbc_ap_Warning_Type_PDU
= -1; /* Warning_Type */
127 static int hf_sbc_ap_Write_Replace_Warning_Request_PDU
= -1; /* Write_Replace_Warning_Request */
128 static int hf_sbc_ap_Write_Replace_Warning_Response_PDU
= -1; /* Write_Replace_Warning_Response */
129 static int hf_sbc_ap_Stop_Warning_Request_PDU
= -1; /* Stop_Warning_Request */
130 static int hf_sbc_ap_Stop_Warning_Response_PDU
= -1; /* Stop_Warning_Response */
131 static int hf_sbc_ap_SBC_AP_PDU_PDU
= -1; /* SBC_AP_PDU */
132 static int hf_sbc_ap_ProtocolIE_Container_item
= -1; /* ProtocolIE_Field */
133 static int hf_sbc_ap_id
= -1; /* ProtocolIE_ID */
134 static int hf_sbc_ap_criticality
= -1; /* Criticality */
135 static int hf_sbc_ap_ie_field_value
= -1; /* T_ie_field_value */
136 static int hf_sbc_ap_ProtocolExtensionContainer_item
= -1; /* ProtocolExtensionField */
137 static int hf_sbc_ap_ext_id
= -1; /* ProtocolExtensionID */
138 static int hf_sbc_ap_extensionValue
= -1; /* T_extensionValue */
139 static int hf_sbc_ap_procedureCode
= -1; /* ProcedureCode */
140 static int hf_sbc_ap_triggeringMessage
= -1; /* TriggeringMessage */
141 static int hf_sbc_ap_procedureCriticality
= -1; /* Criticality */
142 static int hf_sbc_ap_iEsCriticalityDiagnostics
= -1; /* CriticalityDiagnostics_IE_List */
143 static int hf_sbc_ap_iE_Extensions
= -1; /* ProtocolExtensionContainer */
144 static int hf_sbc_ap_CriticalityDiagnostics_IE_List_item
= -1; /* CriticalityDiagnostics_IE_List_item */
145 static int hf_sbc_ap_iECriticality
= -1; /* Criticality */
146 static int hf_sbc_ap_iE_ID
= -1; /* ProtocolIE_ID */
147 static int hf_sbc_ap_typeOfError
= -1; /* TypeOfError */
148 static int hf_sbc_ap_ECGIList_item
= -1; /* EUTRAN_CGI */
149 static int hf_sbc_ap_Emergency_Area_ID_List_item
= -1; /* Emergency_Area_ID */
150 static int hf_sbc_ap_pLMNidentity
= -1; /* PLMNidentity */
151 static int hf_sbc_ap_cell_ID
= -1; /* CellIdentity */
152 static int hf_sbc_ap_List_of_TAIs_item
= -1; /* List_of_TAIs_item */
153 static int hf_sbc_ap_tai
= -1; /* TAI */
154 static int hf_sbc_ap_TAI_List_for_Warning_item
= -1; /* TAI */
155 static int hf_sbc_ap_tAC
= -1; /* TAC */
156 static int hf_sbc_ap_cell_ID_List
= -1; /* ECGIList */
157 static int hf_sbc_ap_tracking_Area_List_for_Warning
= -1; /* TAI_List_for_Warning */
158 static int hf_sbc_ap_emergency_Area_ID_List
= -1; /* Emergency_Area_ID_List */
159 static int hf_sbc_ap_protocolIEs
= -1; /* ProtocolIE_Container */
160 static int hf_sbc_ap_protocolExtensions
= -1; /* ProtocolExtensionContainer */
161 static int hf_sbc_ap_initiatingMessage
= -1; /* InitiatingMessage */
162 static int hf_sbc_ap_successfulOutcome
= -1; /* SuccessfulOutcome */
163 static int hf_sbc_ap_unsuccessfulOutcome
= -1; /* UnsuccessfulOutcome */
164 static int hf_sbc_ap_initiatingMessagevalue
= -1; /* InitiatingMessage_value */
165 static int hf_sbc_ap_successfulOutcome_value
= -1; /* SuccessfulOutcome_value */
166 static int hf_sbc_ap_unsuccessfulOutcome_value
= -1; /* UnsuccessfulOutcome_value */
168 /*--- End of included file: packet-sbc-ap-hf.c ---*/
169 #line 59 "../../asn1/sbc-ap/packet-sbc-ap-template.c"
171 /* Initialize the subtree pointers */
172 static int ett_sbc_ap
= -1;
175 /*--- Included file: packet-sbc-ap-ett.c ---*/
176 #line 1 "../../asn1/sbc-ap/packet-sbc-ap-ett.c"
177 static gint ett_sbc_ap_ProtocolIE_Container
= -1;
178 static gint ett_sbc_ap_ProtocolIE_Field
= -1;
179 static gint ett_sbc_ap_ProtocolExtensionContainer
= -1;
180 static gint ett_sbc_ap_ProtocolExtensionField
= -1;
181 static gint ett_sbc_ap_Criticality_Diagnostics
= -1;
182 static gint ett_sbc_ap_CriticalityDiagnostics_IE_List
= -1;
183 static gint ett_sbc_ap_CriticalityDiagnostics_IE_List_item
= -1;
184 static gint ett_sbc_ap_ECGIList
= -1;
185 static gint ett_sbc_ap_Emergency_Area_ID_List
= -1;
186 static gint ett_sbc_ap_EUTRAN_CGI
= -1;
187 static gint ett_sbc_ap_List_of_TAIs
= -1;
188 static gint ett_sbc_ap_List_of_TAIs_item
= -1;
189 static gint ett_sbc_ap_TAI_List_for_Warning
= -1;
190 static gint ett_sbc_ap_TAI
= -1;
191 static gint ett_sbc_ap_Warning_Area_List
= -1;
192 static gint ett_sbc_ap_Write_Replace_Warning_Request
= -1;
193 static gint ett_sbc_ap_Write_Replace_Warning_Response
= -1;
194 static gint ett_sbc_ap_Stop_Warning_Request
= -1;
195 static gint ett_sbc_ap_Stop_Warning_Response
= -1;
196 static gint ett_sbc_ap_SBC_AP_PDU
= -1;
197 static gint ett_sbc_ap_InitiatingMessage
= -1;
198 static gint ett_sbc_ap_SuccessfulOutcome
= -1;
199 static gint ett_sbc_ap_UnsuccessfulOutcome
= -1;
201 /*--- End of included file: packet-sbc-ap-ett.c ---*/
202 #line 64 "../../asn1/sbc-ap/packet-sbc-ap-template.c"
210 /* Global variables */
211 static guint32 ProcedureCode
;
212 static guint32 ProtocolIE_ID
;
213 static guint32 ProtocolExtensionID
;
214 static int global_sbc_ap_port
= SBC_AP_PORT
;
216 /* Dissector tables */
217 static dissector_table_t sbc_ap_ies_dissector_table
;
218 static dissector_table_t sbc_ap_extension_dissector_table
;
219 static dissector_table_t sbc_ap_proc_imsg_dissector_table
;
220 static dissector_table_t sbc_ap_proc_sout_dissector_table
;
221 static dissector_table_t sbc_ap_proc_uout_dissector_table
;
223 static int dissect_ProtocolIEFieldValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *);
224 static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *);
225 static int dissect_InitiatingMessageValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *);
226 static int dissect_SuccessfulOutcomeValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *);
227 static int dissect_UnsuccessfulOutcomeValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *);
230 /*--- Included file: packet-sbc-ap-fn.c ---*/
231 #line 1 "../../asn1/sbc-ap/packet-sbc-ap-fn.c"
233 static const value_string sbc_ap_Criticality_vals
[] = {
242 dissect_sbc_ap_Criticality(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
243 offset
= dissect_per_enumerated(tvb
, offset
, actx
, tree
, hf_index
,
244 3, NULL
, FALSE
, 0, NULL
);
250 static const value_string sbc_ap_ProcedureCode_vals
[] = {
251 { id_Write_Replace_Warning
, "id-Write-Replace-Warning" },
252 { id_Stop_Warning
, "id-Stop-Warning" },
258 dissect_sbc_ap_ProcedureCode(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
259 offset
= dissect_per_constrained_integer(tvb
, offset
, actx
, tree
, hf_index
,
260 0U, 255U, &ProcedureCode
, FALSE
);
262 #line 64 "../../asn1/sbc-ap/sbc-ap.cnf"
263 col_add_fstr(actx
->pinfo
->cinfo
, COL_INFO
, "%s ",
264 val_to_str(ProcedureCode
, sbc_ap_ProcedureCode_vals
,
273 dissect_sbc_ap_ProtocolExtensionID(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
274 offset
= dissect_per_constrained_integer(tvb
, offset
, actx
, tree
, hf_index
,
275 0U, 65535U, &ProtocolExtensionID
, FALSE
);
281 static const value_string sbc_ap_ProtocolIE_ID_vals
[] = {
282 { id_Broadcast_Message_Content
, "id-Broadcast-Message-Content" },
283 { id_Cause
, "id-Cause" },
284 { id_Criticality_Diagnostics
, "id-Criticality-Diagnostics" },
285 { id_Data_Coding_Scheme
, "id-Data-Coding-Scheme" },
286 { id_Failure_List
, "id-Failure-List" },
287 { id_Message_Identifier
, "id-Message-Identifier" },
288 { id_Number_of_Broadcasts_Completed_List
, "id-Number-of-Broadcasts-Completed-List" },
289 { id_Number_of_Broadcasts_Requested
, "id-Number-of-Broadcasts-Requested" },
290 { id_Radio_Resource_Loading_List
, "id-Radio-Resource-Loading-List" },
291 { id_Recovery_Indication
, "id-Recovery-Indication" },
292 { id_Repetition_Period
, "id-Repetition-Period" },
293 { id_Serial_Number
, "id-Serial-Number" },
294 { id_Service_Areas_List
, "id-Service-Areas-List" },
295 { id_TypeOfError
, "id-TypeOfError" },
296 { id_List_of_TAIs
, "id-List-of-TAIs" },
297 { id_Warning_Area_List
, "id-Warning-Area-List" },
298 { id_Warning_Message_Content
, "id-Warning-Message-Content" },
299 { id_Warning_Security_Information
, "id-Warning-Security-Information" },
300 { id_Warning_Type
, "id-Warning-Type" },
301 { id_Omc_Id
, "id-Omc-Id" },
302 { id_Concurrent_Warning_Message_Indicator
, "id-Concurrent-Warning-Message-Indicator" },
303 { id_Extended_Repetition_Period
, "id-Extended-Repetition-Period" },
309 dissect_sbc_ap_ProtocolIE_ID(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
310 offset
= dissect_per_constrained_integer(tvb
, offset
, actx
, tree
, hf_index
,
311 0U, 65535U, &ProtocolIE_ID
, FALSE
);
313 #line 47 "../../asn1/sbc-ap/sbc-ap.cnf"
315 proto_item_append_text(proto_item_get_parent_nth(actx
->created_item
, 2), ": %s", val_to_str(ProtocolIE_ID
, VALS(sbc_ap_ProtocolIE_ID_vals
), "unknown (%d)"));
322 static const value_string sbc_ap_TriggeringMessage_vals
[] = {
323 { 0, "initiating-message" },
324 { 1, "successful-outcome" },
325 { 2, "unsuccessful-outcome" },
332 dissect_sbc_ap_TriggeringMessage(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
333 offset
= dissect_per_enumerated(tvb
, offset
, actx
, tree
, hf_index
,
334 4, NULL
, FALSE
, 0, NULL
);
342 dissect_sbc_ap_T_ie_field_value(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
343 offset
= dissect_per_open_type_pdu_new(tvb
, offset
, actx
, tree
, hf_index
, dissect_ProtocolIEFieldValue
);
349 static const per_sequence_t ProtocolIE_Field_sequence
[] = {
350 { &hf_sbc_ap_id
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolIE_ID
},
351 { &hf_sbc_ap_criticality
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_Criticality
},
352 { &hf_sbc_ap_ie_field_value
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_T_ie_field_value
},
357 dissect_sbc_ap_ProtocolIE_Field(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
358 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
359 ett_sbc_ap_ProtocolIE_Field
, ProtocolIE_Field_sequence
);
365 static const per_sequence_t ProtocolIE_Container_sequence_of
[1] = {
366 { &hf_sbc_ap_ProtocolIE_Container_item
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolIE_Field
},
370 dissect_sbc_ap_ProtocolIE_Container(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
371 offset
= dissect_per_constrained_sequence_of(tvb
, offset
, actx
, tree
, hf_index
,
372 ett_sbc_ap_ProtocolIE_Container
, ProtocolIE_Container_sequence_of
,
373 0, maxProtocolIEs
, FALSE
);
381 dissect_sbc_ap_T_extensionValue(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
382 offset
= dissect_per_open_type_pdu_new(tvb
, offset
, actx
, tree
, hf_index
, dissect_ProtocolExtensionFieldExtensionValue
);
388 static const per_sequence_t ProtocolExtensionField_sequence
[] = {
389 { &hf_sbc_ap_ext_id
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionID
},
390 { &hf_sbc_ap_criticality
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_Criticality
},
391 { &hf_sbc_ap_extensionValue
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_T_extensionValue
},
396 dissect_sbc_ap_ProtocolExtensionField(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
397 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
398 ett_sbc_ap_ProtocolExtensionField
, ProtocolExtensionField_sequence
);
404 static const per_sequence_t ProtocolExtensionContainer_sequence_of
[1] = {
405 { &hf_sbc_ap_ProtocolExtensionContainer_item
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionField
},
409 dissect_sbc_ap_ProtocolExtensionContainer(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
410 offset
= dissect_per_constrained_sequence_of(tvb
, offset
, actx
, tree
, hf_index
,
411 ett_sbc_ap_ProtocolExtensionContainer
, ProtocolExtensionContainer_sequence_of
,
412 1, maxProtocolExtensions
, FALSE
);
418 static const value_string sbc_ap_Cause_vals
[] = {
419 { 0, "message-accepted" },
420 { 1, "parameter-not-recognised" },
421 { 2, "parameter-value-invalid" },
422 { 3, "valid-message-not-identified" },
423 { 4, "tracking-area-not-valid" },
424 { 5, "unrecognised-message" },
425 { 6, "missing-mandatory-element" },
426 { 7, "mME-capacity-exceeded" },
427 { 8, "mME-memory-exceeded" },
428 { 9, "warning-broadcast-not-supported" },
429 { 10, "warning-broadcast-not-operational" },
430 { 11, "message-reference-already-used" },
431 { 12, "unspecifed-error" },
432 { 13, "transfer-syntax-error" },
433 { 14, "semantic-error" },
434 { 15, "message-not-compatible-with-receiver-state" },
435 { 16, "abstract-syntax-error-reject" },
436 { 17, "abstract-syntax-error-ignore-and-notify" },
437 { 18, "abstract-syntax-error-falsely-constructed-message" },
443 dissect_sbc_ap_Cause(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
444 offset
= dissect_per_constrained_integer(tvb
, offset
, actx
, tree
, hf_index
,
445 0U, 255U, NULL
, FALSE
);
453 dissect_sbc_ap_CellIdentity(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
454 offset
= dissect_per_bit_string(tvb
, offset
, actx
, tree
, hf_index
,
455 28, 28, FALSE
, NULL
);
461 static const value_string sbc_ap_Concurrent_Warning_Message_Indicator_vals
[] = {
468 dissect_sbc_ap_Concurrent_Warning_Message_Indicator(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
469 offset
= dissect_per_enumerated(tvb
, offset
, actx
, tree
, hf_index
,
470 1, NULL
, FALSE
, 0, NULL
);
476 static const value_string sbc_ap_TypeOfError_vals
[] = {
477 { 0, "not-understood" },
484 dissect_sbc_ap_TypeOfError(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
485 offset
= dissect_per_enumerated(tvb
, offset
, actx
, tree
, hf_index
,
486 2, NULL
, TRUE
, 0, NULL
);
492 static const per_sequence_t CriticalityDiagnostics_IE_List_item_sequence
[] = {
493 { &hf_sbc_ap_iECriticality
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_Criticality
},
494 { &hf_sbc_ap_iE_ID
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolIE_ID
},
495 { &hf_sbc_ap_typeOfError
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_TypeOfError
},
496 { &hf_sbc_ap_iE_Extensions
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionContainer
},
501 dissect_sbc_ap_CriticalityDiagnostics_IE_List_item(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
502 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
503 ett_sbc_ap_CriticalityDiagnostics_IE_List_item
, CriticalityDiagnostics_IE_List_item_sequence
);
509 static const per_sequence_t CriticalityDiagnostics_IE_List_sequence_of
[1] = {
510 { &hf_sbc_ap_CriticalityDiagnostics_IE_List_item
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_CriticalityDiagnostics_IE_List_item
},
514 dissect_sbc_ap_CriticalityDiagnostics_IE_List(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
515 offset
= dissect_per_constrained_sequence_of(tvb
, offset
, actx
, tree
, hf_index
,
516 ett_sbc_ap_CriticalityDiagnostics_IE_List
, CriticalityDiagnostics_IE_List_sequence_of
,
517 1, maxNrOfErrors
, FALSE
);
523 static const per_sequence_t Criticality_Diagnostics_sequence
[] = {
524 { &hf_sbc_ap_procedureCode
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_ProcedureCode
},
525 { &hf_sbc_ap_triggeringMessage
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_TriggeringMessage
},
526 { &hf_sbc_ap_procedureCriticality
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_Criticality
},
527 { &hf_sbc_ap_iEsCriticalityDiagnostics
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_CriticalityDiagnostics_IE_List
},
528 { &hf_sbc_ap_iE_Extensions
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionContainer
},
533 dissect_sbc_ap_Criticality_Diagnostics(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
534 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
535 ett_sbc_ap_Criticality_Diagnostics
, Criticality_Diagnostics_sequence
);
543 dissect_sbc_ap_Data_Coding_Scheme(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
544 offset
= dissect_per_bit_string(tvb
, offset
, actx
, tree
, hf_index
,
554 dissect_sbc_ap_PLMNidentity(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
555 #line 101 "../../asn1/sbc-ap/sbc-ap.cnf"
556 tvbuff_t
*parameter_tvb
=NULL
;
558 offset
= dissect_per_octet_string(tvb
, offset
, actx
, tree
, hf_index
,
559 3, 3, FALSE
, ¶meter_tvb
);
560 if(tvb_length(tvb
)==0)
565 dissect_e212_mcc_mnc(parameter_tvb
, actx
->pinfo
, tree
, 0, FALSE
);
572 static const per_sequence_t EUTRAN_CGI_sequence
[] = {
573 { &hf_sbc_ap_pLMNidentity
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_PLMNidentity
},
574 { &hf_sbc_ap_cell_ID
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_CellIdentity
},
575 { &hf_sbc_ap_iE_Extensions
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionContainer
},
580 dissect_sbc_ap_EUTRAN_CGI(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
581 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
582 ett_sbc_ap_EUTRAN_CGI
, EUTRAN_CGI_sequence
);
588 static const per_sequence_t ECGIList_sequence_of
[1] = {
589 { &hf_sbc_ap_ECGIList_item
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_EUTRAN_CGI
},
593 dissect_sbc_ap_ECGIList(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
594 offset
= dissect_per_constrained_sequence_of(tvb
, offset
, actx
, tree
, hf_index
,
595 ett_sbc_ap_ECGIList
, ECGIList_sequence_of
,
596 1, maxnoofCellID
, FALSE
);
604 dissect_sbc_ap_Emergency_Area_ID(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
605 offset
= dissect_per_octet_string(tvb
, offset
, actx
, tree
, hf_index
,
612 static const per_sequence_t Emergency_Area_ID_List_sequence_of
[1] = {
613 { &hf_sbc_ap_Emergency_Area_ID_List_item
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_Emergency_Area_ID
},
617 dissect_sbc_ap_Emergency_Area_ID_List(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
618 offset
= dissect_per_constrained_sequence_of(tvb
, offset
, actx
, tree
, hf_index
,
619 ett_sbc_ap_Emergency_Area_ID_List
, Emergency_Area_ID_List_sequence_of
,
620 1, maxnoofEmerAreaIDs
, FALSE
);
628 dissect_sbc_ap_Extended_Repetition_Period(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
629 offset
= dissect_per_constrained_integer(tvb
, offset
, actx
, tree
, hf_index
,
630 4096U, 131071U, NULL
, FALSE
);
638 dissect_sbc_ap_TAC(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
639 offset
= dissect_per_octet_string(tvb
, offset
, actx
, tree
, hf_index
,
646 static const per_sequence_t TAI_sequence
[] = {
647 { &hf_sbc_ap_pLMNidentity
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_PLMNidentity
},
648 { &hf_sbc_ap_tAC
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_TAC
},
649 { &hf_sbc_ap_iE_Extensions
, ASN1_NO_EXTENSIONS
, ASN1_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionContainer
},
654 dissect_sbc_ap_TAI(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
655 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
656 ett_sbc_ap_TAI
, TAI_sequence
);
662 static const per_sequence_t List_of_TAIs_item_sequence
[] = {
663 { &hf_sbc_ap_tai
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_TAI
},
668 dissect_sbc_ap_List_of_TAIs_item(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
669 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
670 ett_sbc_ap_List_of_TAIs_item
, List_of_TAIs_item_sequence
);
676 static const per_sequence_t List_of_TAIs_sequence_of
[1] = {
677 { &hf_sbc_ap_List_of_TAIs_item
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_List_of_TAIs_item
},
681 dissect_sbc_ap_List_of_TAIs(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
682 offset
= dissect_per_constrained_sequence_of(tvb
, offset
, actx
, tree
, hf_index
,
683 ett_sbc_ap_List_of_TAIs
, List_of_TAIs_sequence_of
,
684 1, maxNrOfTAIs
, FALSE
);
692 dissect_sbc_ap_Message_Identifier(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
693 offset
= dissect_per_bit_string(tvb
, offset
, actx
, tree
, hf_index
,
694 16, 16, FALSE
, NULL
);
702 dissect_sbc_ap_Number_of_Broadcasts_Requested(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
703 offset
= dissect_per_constrained_integer(tvb
, offset
, actx
, tree
, hf_index
,
704 0U, 65535U, NULL
, FALSE
);
712 dissect_sbc_ap_Omc_Id(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
713 offset
= dissect_per_octet_string(tvb
, offset
, actx
, tree
, hf_index
,
722 dissect_sbc_ap_Repetition_Period(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
723 offset
= dissect_per_constrained_integer(tvb
, offset
, actx
, tree
, hf_index
,
724 0U, 4096U, NULL
, FALSE
);
732 dissect_sbc_ap_Serial_Number(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
733 offset
= dissect_per_bit_string(tvb
, offset
, actx
, tree
, hf_index
,
734 16, 16, FALSE
, NULL
);
740 static const per_sequence_t TAI_List_for_Warning_sequence_of
[1] = {
741 { &hf_sbc_ap_TAI_List_for_Warning_item
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_TAI
},
745 dissect_sbc_ap_TAI_List_for_Warning(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
746 offset
= dissect_per_constrained_sequence_of(tvb
, offset
, actx
, tree
, hf_index
,
747 ett_sbc_ap_TAI_List_for_Warning
, TAI_List_for_Warning_sequence_of
,
748 1, maxnoofTAIforWarning
, FALSE
);
754 static const value_string sbc_ap_Warning_Area_List_vals
[] = {
755 { 0, "cell-ID-List" },
756 { 1, "tracking-Area-List-for-Warning" },
757 { 2, "emergency-Area-ID-List" },
761 static const per_choice_t Warning_Area_List_choice
[] = {
762 { 0, &hf_sbc_ap_cell_ID_List
, ASN1_EXTENSION_ROOT
, dissect_sbc_ap_ECGIList
},
763 { 1, &hf_sbc_ap_tracking_Area_List_for_Warning
, ASN1_EXTENSION_ROOT
, dissect_sbc_ap_TAI_List_for_Warning
},
764 { 2, &hf_sbc_ap_emergency_Area_ID_List
, ASN1_EXTENSION_ROOT
, dissect_sbc_ap_Emergency_Area_ID_List
},
769 dissect_sbc_ap_Warning_Area_List(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
770 offset
= dissect_per_choice(tvb
, offset
, actx
, tree
, hf_index
,
771 ett_sbc_ap_Warning_Area_List
, Warning_Area_List_choice
,
780 dissect_sbc_ap_Warning_Message_Content(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
781 offset
= dissect_per_octet_string(tvb
, offset
, actx
, tree
, hf_index
,
782 1, 9600, FALSE
, NULL
);
790 dissect_sbc_ap_Warning_Security_Information(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
791 offset
= dissect_per_octet_string(tvb
, offset
, actx
, tree
, hf_index
,
792 50, 50, FALSE
, NULL
);
800 dissect_sbc_ap_Warning_Type(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
801 offset
= dissect_per_octet_string(tvb
, offset
, actx
, tree
, hf_index
,
808 static const per_sequence_t Write_Replace_Warning_Request_sequence
[] = {
809 { &hf_sbc_ap_protocolIEs
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolIE_Container
},
810 { &hf_sbc_ap_protocolExtensions
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionContainer
},
815 dissect_sbc_ap_Write_Replace_Warning_Request(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
816 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
817 ett_sbc_ap_Write_Replace_Warning_Request
, Write_Replace_Warning_Request_sequence
);
823 static const per_sequence_t Write_Replace_Warning_Response_sequence
[] = {
824 { &hf_sbc_ap_protocolIEs
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolIE_Container
},
825 { &hf_sbc_ap_protocolExtensions
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionContainer
},
830 dissect_sbc_ap_Write_Replace_Warning_Response(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
831 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
832 ett_sbc_ap_Write_Replace_Warning_Response
, Write_Replace_Warning_Response_sequence
);
838 static const per_sequence_t Stop_Warning_Request_sequence
[] = {
839 { &hf_sbc_ap_protocolIEs
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolIE_Container
},
840 { &hf_sbc_ap_protocolExtensions
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionContainer
},
845 dissect_sbc_ap_Stop_Warning_Request(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
846 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
847 ett_sbc_ap_Stop_Warning_Request
, Stop_Warning_Request_sequence
);
853 static const per_sequence_t Stop_Warning_Response_sequence
[] = {
854 { &hf_sbc_ap_protocolIEs
, ASN1_EXTENSION_ROOT
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProtocolIE_Container
},
855 { &hf_sbc_ap_protocolExtensions
, ASN1_EXTENSION_ROOT
, ASN1_OPTIONAL
, dissect_sbc_ap_ProtocolExtensionContainer
},
860 dissect_sbc_ap_Stop_Warning_Response(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
861 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
862 ett_sbc_ap_Stop_Warning_Response
, Stop_Warning_Response_sequence
);
870 dissect_sbc_ap_InitiatingMessage_value(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
871 offset
= dissect_per_open_type_pdu_new(tvb
, offset
, actx
, tree
, hf_index
, dissect_InitiatingMessageValue
);
877 static const per_sequence_t InitiatingMessage_sequence
[] = {
878 { &hf_sbc_ap_procedureCode
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProcedureCode
},
879 { &hf_sbc_ap_criticality
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_Criticality
},
880 { &hf_sbc_ap_initiatingMessagevalue
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_InitiatingMessage_value
},
885 dissect_sbc_ap_InitiatingMessage(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
886 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
887 ett_sbc_ap_InitiatingMessage
, InitiatingMessage_sequence
);
895 dissect_sbc_ap_SuccessfulOutcome_value(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
896 offset
= dissect_per_open_type_pdu_new(tvb
, offset
, actx
, tree
, hf_index
, dissect_SuccessfulOutcomeValue
);
902 static const per_sequence_t SuccessfulOutcome_sequence
[] = {
903 { &hf_sbc_ap_procedureCode
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProcedureCode
},
904 { &hf_sbc_ap_criticality
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_Criticality
},
905 { &hf_sbc_ap_successfulOutcome_value
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_SuccessfulOutcome_value
},
910 dissect_sbc_ap_SuccessfulOutcome(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
911 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
912 ett_sbc_ap_SuccessfulOutcome
, SuccessfulOutcome_sequence
);
920 dissect_sbc_ap_UnsuccessfulOutcome_value(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
921 offset
= dissect_per_open_type_pdu_new(tvb
, offset
, actx
, tree
, hf_index
, dissect_UnsuccessfulOutcomeValue
);
927 static const per_sequence_t UnsuccessfulOutcome_sequence
[] = {
928 { &hf_sbc_ap_procedureCode
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_ProcedureCode
},
929 { &hf_sbc_ap_criticality
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_Criticality
},
930 { &hf_sbc_ap_unsuccessfulOutcome_value
, ASN1_NO_EXTENSIONS
, ASN1_NOT_OPTIONAL
, dissect_sbc_ap_UnsuccessfulOutcome_value
},
935 dissect_sbc_ap_UnsuccessfulOutcome(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
936 offset
= dissect_per_sequence(tvb
, offset
, actx
, tree
, hf_index
,
937 ett_sbc_ap_UnsuccessfulOutcome
, UnsuccessfulOutcome_sequence
);
943 static const value_string sbc_ap_SBC_AP_PDU_vals
[] = {
944 { 0, "initiatingMessage" },
945 { 1, "successfulOutcome" },
946 { 2, "unsuccessfulOutcome" },
950 static const per_choice_t SBC_AP_PDU_choice
[] = {
951 { 0, &hf_sbc_ap_initiatingMessage
, ASN1_EXTENSION_ROOT
, dissect_sbc_ap_InitiatingMessage
},
952 { 1, &hf_sbc_ap_successfulOutcome
, ASN1_EXTENSION_ROOT
, dissect_sbc_ap_SuccessfulOutcome
},
953 { 2, &hf_sbc_ap_unsuccessfulOutcome
, ASN1_EXTENSION_ROOT
, dissect_sbc_ap_UnsuccessfulOutcome
},
958 dissect_sbc_ap_SBC_AP_PDU(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
) {
959 offset
= dissect_per_choice(tvb
, offset
, actx
, tree
, hf_index
,
960 ett_sbc_ap_SBC_AP_PDU
, SBC_AP_PDU_choice
,
968 static int dissect_Cause_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
971 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
972 offset
= dissect_sbc_ap_Cause(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Cause_PDU
);
973 offset
+= 7; offset
>>= 3;
976 static int dissect_Concurrent_Warning_Message_Indicator_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
979 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
980 offset
= dissect_sbc_ap_Concurrent_Warning_Message_Indicator(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Concurrent_Warning_Message_Indicator_PDU
);
981 offset
+= 7; offset
>>= 3;
984 static int dissect_Criticality_Diagnostics_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
987 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
988 offset
= dissect_sbc_ap_Criticality_Diagnostics(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Criticality_Diagnostics_PDU
);
989 offset
+= 7; offset
>>= 3;
992 static int dissect_Data_Coding_Scheme_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
995 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
996 offset
= dissect_sbc_ap_Data_Coding_Scheme(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Data_Coding_Scheme_PDU
);
997 offset
+= 7; offset
>>= 3;
1000 static int dissect_Extended_Repetition_Period_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1002 asn1_ctx_t asn1_ctx
;
1003 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1004 offset
= dissect_sbc_ap_Extended_Repetition_Period(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Extended_Repetition_Period_PDU
);
1005 offset
+= 7; offset
>>= 3;
1008 static int dissect_List_of_TAIs_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1010 asn1_ctx_t asn1_ctx
;
1011 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1012 offset
= dissect_sbc_ap_List_of_TAIs(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_List_of_TAIs_PDU
);
1013 offset
+= 7; offset
>>= 3;
1016 static int dissect_Message_Identifier_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1018 asn1_ctx_t asn1_ctx
;
1019 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1020 offset
= dissect_sbc_ap_Message_Identifier(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Message_Identifier_PDU
);
1021 offset
+= 7; offset
>>= 3;
1024 static int dissect_Number_of_Broadcasts_Requested_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1026 asn1_ctx_t asn1_ctx
;
1027 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1028 offset
= dissect_sbc_ap_Number_of_Broadcasts_Requested(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Number_of_Broadcasts_Requested_PDU
);
1029 offset
+= 7; offset
>>= 3;
1032 static int dissect_Omc_Id_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1034 asn1_ctx_t asn1_ctx
;
1035 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1036 offset
= dissect_sbc_ap_Omc_Id(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Omc_Id_PDU
);
1037 offset
+= 7; offset
>>= 3;
1040 static int dissect_Repetition_Period_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1042 asn1_ctx_t asn1_ctx
;
1043 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1044 offset
= dissect_sbc_ap_Repetition_Period(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Repetition_Period_PDU
);
1045 offset
+= 7; offset
>>= 3;
1048 static int dissect_Serial_Number_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1050 asn1_ctx_t asn1_ctx
;
1051 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1052 offset
= dissect_sbc_ap_Serial_Number(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Serial_Number_PDU
);
1053 offset
+= 7; offset
>>= 3;
1056 static int dissect_Warning_Area_List_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1058 asn1_ctx_t asn1_ctx
;
1059 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1060 offset
= dissect_sbc_ap_Warning_Area_List(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Warning_Area_List_PDU
);
1061 offset
+= 7; offset
>>= 3;
1064 static int dissect_Warning_Message_Content_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1066 asn1_ctx_t asn1_ctx
;
1067 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1068 offset
= dissect_sbc_ap_Warning_Message_Content(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Warning_Message_Content_PDU
);
1069 offset
+= 7; offset
>>= 3;
1072 static int dissect_Warning_Security_Information_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1074 asn1_ctx_t asn1_ctx
;
1075 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1076 offset
= dissect_sbc_ap_Warning_Security_Information(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Warning_Security_Information_PDU
);
1077 offset
+= 7; offset
>>= 3;
1080 static int dissect_Warning_Type_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1082 asn1_ctx_t asn1_ctx
;
1083 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1084 offset
= dissect_sbc_ap_Warning_Type(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Warning_Type_PDU
);
1085 offset
+= 7; offset
>>= 3;
1088 static int dissect_Write_Replace_Warning_Request_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1090 asn1_ctx_t asn1_ctx
;
1091 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1092 offset
= dissect_sbc_ap_Write_Replace_Warning_Request(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Write_Replace_Warning_Request_PDU
);
1093 offset
+= 7; offset
>>= 3;
1096 static int dissect_Write_Replace_Warning_Response_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1098 asn1_ctx_t asn1_ctx
;
1099 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1100 offset
= dissect_sbc_ap_Write_Replace_Warning_Response(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Write_Replace_Warning_Response_PDU
);
1101 offset
+= 7; offset
>>= 3;
1104 static int dissect_Stop_Warning_Request_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1106 asn1_ctx_t asn1_ctx
;
1107 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1108 offset
= dissect_sbc_ap_Stop_Warning_Request(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Stop_Warning_Request_PDU
);
1109 offset
+= 7; offset
>>= 3;
1112 static int dissect_Stop_Warning_Response_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1114 asn1_ctx_t asn1_ctx
;
1115 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1116 offset
= dissect_sbc_ap_Stop_Warning_Response(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_Stop_Warning_Response_PDU
);
1117 offset
+= 7; offset
>>= 3;
1120 static int dissect_SBC_AP_PDU_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
) {
1122 asn1_ctx_t asn1_ctx
;
1123 asn1_ctx_init(&asn1_ctx
, ASN1_ENC_PER
, TRUE
, pinfo
);
1124 offset
= dissect_sbc_ap_SBC_AP_PDU(tvb
, offset
, &asn1_ctx
, tree
, hf_sbc_ap_SBC_AP_PDU_PDU
);
1125 offset
+= 7; offset
>>= 3;
1130 /*--- End of included file: packet-sbc-ap-fn.c ---*/
1131 #line 91 "../../asn1/sbc-ap/packet-sbc-ap-template.c"
1133 static int dissect_ProtocolIEFieldValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1135 return (dissector_try_uint(sbc_ap_ies_dissector_table
, ProtocolIE_ID
, tvb
, pinfo
, tree
)) ? tvb_length(tvb
) : 0;
1137 /* Currently not used
1138 static int dissect_ProtocolIEFieldPairFirstValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
1140 return (dissector_try_uint(sbc_ap_ies_p1_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_length(tvb) : 0;
1143 static int dissect_ProtocolIEFieldPairSecondValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
1145 return (dissector_try_uint(sbc_ap_ies_p2_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_length(tvb) : 0;
1149 static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1151 return (dissector_try_uint(sbc_ap_extension_dissector_table
, ProtocolExtensionID
, tvb
, pinfo
, tree
)) ? tvb_length(tvb
) : 0;
1154 static int dissect_InitiatingMessageValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1156 return (dissector_try_uint(sbc_ap_proc_imsg_dissector_table
, ProcedureCode
, tvb
, pinfo
, tree
)) ? tvb_length(tvb
) : 0;
1159 static int dissect_SuccessfulOutcomeValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1161 return (dissector_try_uint(sbc_ap_proc_sout_dissector_table
, ProcedureCode
, tvb
, pinfo
, tree
)) ? tvb_length(tvb
) : 0;
1164 static int dissect_UnsuccessfulOutcomeValue(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void *data _U_
)
1166 return (dissector_try_uint(sbc_ap_proc_uout_dissector_table
, ProcedureCode
, tvb
, pinfo
, tree
)) ? tvb_length(tvb
) : 0;
1171 dissect_sbc_ap(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
)
1173 proto_item
*sbc_ap_item
= NULL
;
1174 proto_tree
*sbc_ap_tree
= NULL
;
1176 /* make entry in the Protocol column on summary display */
1177 col_set_str(pinfo
->cinfo
, COL_PROTOCOL
, PNAME
);
1179 /* create the sbc_ap protocol tree */
1181 sbc_ap_item
= proto_tree_add_item(tree
, proto_sbc_ap
, tvb
, 0, -1, ENC_NA
);
1182 sbc_ap_tree
= proto_item_add_subtree(sbc_ap_item
, ett_sbc_ap
);
1184 dissect_SBC_AP_PDU_PDU(tvb
, pinfo
, sbc_ap_tree
, NULL
);
1187 /*--- proto_register_sbc_ap -------------------------------------------*/
1188 void proto_register_sbc_ap(void) {
1190 /* List of fields */
1191 static hf_register_info hf
[] = {
1194 /*--- Included file: packet-sbc-ap-hfarr.c ---*/
1195 #line 1 "../../asn1/sbc-ap/packet-sbc-ap-hfarr.c"
1196 { &hf_sbc_ap_Cause_PDU
,
1197 { "Cause", "sbc-ap.Cause",
1198 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_Cause_vals
), 0,
1200 { &hf_sbc_ap_Concurrent_Warning_Message_Indicator_PDU
,
1201 { "Concurrent-Warning-Message-Indicator", "sbc-ap.Concurrent_Warning_Message_Indicator",
1202 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_Concurrent_Warning_Message_Indicator_vals
), 0,
1204 { &hf_sbc_ap_Criticality_Diagnostics_PDU
,
1205 { "Criticality-Diagnostics", "sbc-ap.Criticality_Diagnostics_element",
1206 FT_NONE
, BASE_NONE
, NULL
, 0,
1208 { &hf_sbc_ap_Data_Coding_Scheme_PDU
,
1209 { "Data-Coding-Scheme", "sbc-ap.Data_Coding_Scheme",
1210 FT_BYTES
, BASE_NONE
, NULL
, 0,
1212 { &hf_sbc_ap_Extended_Repetition_Period_PDU
,
1213 { "Extended-Repetition-Period", "sbc-ap.Extended_Repetition_Period",
1214 FT_UINT32
, BASE_DEC
, NULL
, 0,
1216 { &hf_sbc_ap_List_of_TAIs_PDU
,
1217 { "List-of-TAIs", "sbc-ap.List_of_TAIs",
1218 FT_UINT32
, BASE_DEC
, NULL
, 0,
1220 { &hf_sbc_ap_Message_Identifier_PDU
,
1221 { "Message-Identifier", "sbc-ap.Message_Identifier",
1222 FT_BYTES
, BASE_NONE
, NULL
, 0,
1224 { &hf_sbc_ap_Number_of_Broadcasts_Requested_PDU
,
1225 { "Number-of-Broadcasts-Requested", "sbc-ap.Number_of_Broadcasts_Requested",
1226 FT_UINT32
, BASE_DEC
, NULL
, 0,
1228 { &hf_sbc_ap_Omc_Id_PDU
,
1229 { "Omc-Id", "sbc-ap.Omc_Id",
1230 FT_BYTES
, BASE_NONE
, NULL
, 0,
1232 { &hf_sbc_ap_Repetition_Period_PDU
,
1233 { "Repetition-Period", "sbc-ap.Repetition_Period",
1234 FT_UINT32
, BASE_DEC
, NULL
, 0,
1236 { &hf_sbc_ap_Serial_Number_PDU
,
1237 { "Serial-Number", "sbc-ap.Serial_Number",
1238 FT_BYTES
, BASE_NONE
, NULL
, 0,
1240 { &hf_sbc_ap_Warning_Area_List_PDU
,
1241 { "Warning-Area-List", "sbc-ap.Warning_Area_List",
1242 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_Warning_Area_List_vals
), 0,
1244 { &hf_sbc_ap_Warning_Message_Content_PDU
,
1245 { "Warning-Message-Content", "sbc-ap.Warning_Message_Content",
1246 FT_BYTES
, BASE_NONE
, NULL
, 0,
1248 { &hf_sbc_ap_Warning_Security_Information_PDU
,
1249 { "Warning-Security-Information", "sbc-ap.Warning_Security_Information",
1250 FT_BYTES
, BASE_NONE
, NULL
, 0,
1252 { &hf_sbc_ap_Warning_Type_PDU
,
1253 { "Warning-Type", "sbc-ap.Warning_Type",
1254 FT_BYTES
, BASE_NONE
, NULL
, 0,
1256 { &hf_sbc_ap_Write_Replace_Warning_Request_PDU
,
1257 { "Write-Replace-Warning-Request", "sbc-ap.Write_Replace_Warning_Request_element",
1258 FT_NONE
, BASE_NONE
, NULL
, 0,
1260 { &hf_sbc_ap_Write_Replace_Warning_Response_PDU
,
1261 { "Write-Replace-Warning-Response", "sbc-ap.Write_Replace_Warning_Response_element",
1262 FT_NONE
, BASE_NONE
, NULL
, 0,
1264 { &hf_sbc_ap_Stop_Warning_Request_PDU
,
1265 { "Stop-Warning-Request", "sbc-ap.Stop_Warning_Request_element",
1266 FT_NONE
, BASE_NONE
, NULL
, 0,
1268 { &hf_sbc_ap_Stop_Warning_Response_PDU
,
1269 { "Stop-Warning-Response", "sbc-ap.Stop_Warning_Response_element",
1270 FT_NONE
, BASE_NONE
, NULL
, 0,
1272 { &hf_sbc_ap_SBC_AP_PDU_PDU
,
1273 { "SBC-AP-PDU", "sbc-ap.SBC_AP_PDU",
1274 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_SBC_AP_PDU_vals
), 0,
1276 { &hf_sbc_ap_ProtocolIE_Container_item
,
1277 { "ProtocolIE-Field", "sbc-ap.ProtocolIE_Field_element",
1278 FT_NONE
, BASE_NONE
, NULL
, 0,
1281 { "id", "sbc-ap.id",
1282 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_ProtocolIE_ID_vals
), 0,
1283 "ProtocolIE_ID", HFILL
}},
1284 { &hf_sbc_ap_criticality
,
1285 { "criticality", "sbc-ap.criticality",
1286 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_Criticality_vals
), 0,
1288 { &hf_sbc_ap_ie_field_value
,
1289 { "value", "sbc-ap.value_element",
1290 FT_NONE
, BASE_NONE
, NULL
, 0,
1291 "T_ie_field_value", HFILL
}},
1292 { &hf_sbc_ap_ProtocolExtensionContainer_item
,
1293 { "ProtocolExtensionField", "sbc-ap.ProtocolExtensionField_element",
1294 FT_NONE
, BASE_NONE
, NULL
, 0,
1296 { &hf_sbc_ap_ext_id
,
1297 { "id", "sbc-ap.id",
1298 FT_UINT8
, BASE_DEC
, VALS(sbc_ap_ProtocolIE_ID_vals
), 0,
1299 "ProtocolExtensionID", HFILL
}},
1300 { &hf_sbc_ap_extensionValue
,
1301 { "extensionValue", "sbc-ap.extensionValue_element",
1302 FT_NONE
, BASE_NONE
, NULL
, 0,
1304 { &hf_sbc_ap_procedureCode
,
1305 { "procedureCode", "sbc-ap.procedureCode",
1306 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_ProcedureCode_vals
), 0,
1308 { &hf_sbc_ap_triggeringMessage
,
1309 { "triggeringMessage", "sbc-ap.triggeringMessage",
1310 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_TriggeringMessage_vals
), 0,
1312 { &hf_sbc_ap_procedureCriticality
,
1313 { "procedureCriticality", "sbc-ap.procedureCriticality",
1314 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_Criticality_vals
), 0,
1315 "Criticality", HFILL
}},
1316 { &hf_sbc_ap_iEsCriticalityDiagnostics
,
1317 { "iEsCriticalityDiagnostics", "sbc-ap.iEsCriticalityDiagnostics",
1318 FT_UINT32
, BASE_DEC
, NULL
, 0,
1319 "CriticalityDiagnostics_IE_List", HFILL
}},
1320 { &hf_sbc_ap_iE_Extensions
,
1321 { "iE-Extensions", "sbc-ap.iE_Extensions",
1322 FT_UINT32
, BASE_DEC
, NULL
, 0,
1323 "ProtocolExtensionContainer", HFILL
}},
1324 { &hf_sbc_ap_CriticalityDiagnostics_IE_List_item
,
1325 { "CriticalityDiagnostics-IE-List item", "sbc-ap.CriticalityDiagnostics_IE_List_item_element",
1326 FT_NONE
, BASE_NONE
, NULL
, 0,
1328 { &hf_sbc_ap_iECriticality
,
1329 { "iECriticality", "sbc-ap.iECriticality",
1330 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_Criticality_vals
), 0,
1331 "Criticality", HFILL
}},
1333 { "iE-ID", "sbc-ap.iE_ID",
1334 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_ProtocolIE_ID_vals
), 0,
1335 "ProtocolIE_ID", HFILL
}},
1336 { &hf_sbc_ap_typeOfError
,
1337 { "typeOfError", "sbc-ap.typeOfError",
1338 FT_UINT32
, BASE_DEC
, VALS(sbc_ap_TypeOfError_vals
), 0,
1340 { &hf_sbc_ap_ECGIList_item
,
1341 { "EUTRAN-CGI", "sbc-ap.EUTRAN_CGI_element",
1342 FT_NONE
, BASE_NONE
, NULL
, 0,
1344 { &hf_sbc_ap_Emergency_Area_ID_List_item
,
1345 { "Emergency-Area-ID", "sbc-ap.Emergency_Area_ID",
1346 FT_BYTES
, BASE_NONE
, NULL
, 0,
1348 { &hf_sbc_ap_pLMNidentity
,
1349 { "pLMNidentity", "sbc-ap.pLMNidentity",
1350 FT_BYTES
, BASE_NONE
, NULL
, 0,
1352 { &hf_sbc_ap_cell_ID
,
1353 { "cell-ID", "sbc-ap.cell_ID",
1354 FT_BYTES
, BASE_NONE
, NULL
, 0,
1355 "CellIdentity", HFILL
}},
1356 { &hf_sbc_ap_List_of_TAIs_item
,
1357 { "List-of-TAIs item", "sbc-ap.List_of_TAIs_item_element",
1358 FT_NONE
, BASE_NONE
, NULL
, 0,
1361 { "tai", "sbc-ap.tai_element",
1362 FT_NONE
, BASE_NONE
, NULL
, 0,
1364 { &hf_sbc_ap_TAI_List_for_Warning_item
,
1365 { "TAI", "sbc-ap.TAI_element",
1366 FT_NONE
, BASE_NONE
, NULL
, 0,
1369 { "tAC", "sbc-ap.tAC",
1370 FT_BYTES
, BASE_NONE
, NULL
, 0,
1372 { &hf_sbc_ap_cell_ID_List
,
1373 { "cell-ID-List", "sbc-ap.cell_ID_List",
1374 FT_UINT32
, BASE_DEC
, NULL
, 0,
1375 "ECGIList", HFILL
}},
1376 { &hf_sbc_ap_tracking_Area_List_for_Warning
,
1377 { "tracking-Area-List-for-Warning", "sbc-ap.tracking_Area_List_for_Warning",
1378 FT_UINT32
, BASE_DEC
, NULL
, 0,
1379 "TAI_List_for_Warning", HFILL
}},
1380 { &hf_sbc_ap_emergency_Area_ID_List
,
1381 { "emergency-Area-ID-List", "sbc-ap.emergency_Area_ID_List",
1382 FT_UINT32
, BASE_DEC
, NULL
, 0,
1384 { &hf_sbc_ap_protocolIEs
,
1385 { "protocolIEs", "sbc-ap.protocolIEs",
1386 FT_UINT32
, BASE_DEC
, NULL
, 0,
1387 "ProtocolIE_Container", HFILL
}},
1388 { &hf_sbc_ap_protocolExtensions
,
1389 { "protocolExtensions", "sbc-ap.protocolExtensions",
1390 FT_UINT32
, BASE_DEC
, NULL
, 0,
1391 "ProtocolExtensionContainer", HFILL
}},
1392 { &hf_sbc_ap_initiatingMessage
,
1393 { "initiatingMessage", "sbc-ap.initiatingMessage_element",
1394 FT_NONE
, BASE_NONE
, NULL
, 0,
1396 { &hf_sbc_ap_successfulOutcome
,
1397 { "successfulOutcome", "sbc-ap.successfulOutcome_element",
1398 FT_NONE
, BASE_NONE
, NULL
, 0,
1400 { &hf_sbc_ap_unsuccessfulOutcome
,
1401 { "unsuccessfulOutcome", "sbc-ap.unsuccessfulOutcome_element",
1402 FT_NONE
, BASE_NONE
, NULL
, 0,
1404 { &hf_sbc_ap_initiatingMessagevalue
,
1405 { "value", "sbc-ap.value_element",
1406 FT_NONE
, BASE_NONE
, NULL
, 0,
1407 "InitiatingMessage_value", HFILL
}},
1408 { &hf_sbc_ap_successfulOutcome_value
,
1409 { "value", "sbc-ap.value_element",
1410 FT_NONE
, BASE_NONE
, NULL
, 0,
1411 "SuccessfulOutcome_value", HFILL
}},
1412 { &hf_sbc_ap_unsuccessfulOutcome_value
,
1413 { "value", "sbc-ap.value_element",
1414 FT_NONE
, BASE_NONE
, NULL
, 0,
1415 "UnsuccessfulOutcome_value", HFILL
}},
1417 /*--- End of included file: packet-sbc-ap-hfarr.c ---*/
1418 #line 153 "../../asn1/sbc-ap/packet-sbc-ap-template.c"
1421 /* List of subtrees */
1422 static gint
*ett
[] = {
1425 /*--- Included file: packet-sbc-ap-ettarr.c ---*/
1426 #line 1 "../../asn1/sbc-ap/packet-sbc-ap-ettarr.c"
1427 &ett_sbc_ap_ProtocolIE_Container
,
1428 &ett_sbc_ap_ProtocolIE_Field
,
1429 &ett_sbc_ap_ProtocolExtensionContainer
,
1430 &ett_sbc_ap_ProtocolExtensionField
,
1431 &ett_sbc_ap_Criticality_Diagnostics
,
1432 &ett_sbc_ap_CriticalityDiagnostics_IE_List
,
1433 &ett_sbc_ap_CriticalityDiagnostics_IE_List_item
,
1434 &ett_sbc_ap_ECGIList
,
1435 &ett_sbc_ap_Emergency_Area_ID_List
,
1436 &ett_sbc_ap_EUTRAN_CGI
,
1437 &ett_sbc_ap_List_of_TAIs
,
1438 &ett_sbc_ap_List_of_TAIs_item
,
1439 &ett_sbc_ap_TAI_List_for_Warning
,
1441 &ett_sbc_ap_Warning_Area_List
,
1442 &ett_sbc_ap_Write_Replace_Warning_Request
,
1443 &ett_sbc_ap_Write_Replace_Warning_Response
,
1444 &ett_sbc_ap_Stop_Warning_Request
,
1445 &ett_sbc_ap_Stop_Warning_Response
,
1446 &ett_sbc_ap_SBC_AP_PDU
,
1447 &ett_sbc_ap_InitiatingMessage
,
1448 &ett_sbc_ap_SuccessfulOutcome
,
1449 &ett_sbc_ap_UnsuccessfulOutcome
,
1451 /*--- End of included file: packet-sbc-ap-ettarr.c ---*/
1452 #line 159 "../../asn1/sbc-ap/packet-sbc-ap-template.c"
1456 /* Register protocol */
1457 proto_sbc_ap
= proto_register_protocol(PNAME
, PSNAME
, PFNAME
);
1458 /* Register fields and subtrees */
1459 proto_register_field_array(proto_sbc_ap
, hf
, array_length(hf
));
1460 proto_register_subtree_array(ett
, array_length(ett
));
1463 /* Register dissector tables */
1464 sbc_ap_ies_dissector_table
= register_dissector_table("sbc_ap.ies", "SBC-AP-PROTOCOL-IES", FT_UINT32
, BASE_DEC
);
1465 sbc_ap_extension_dissector_table
= register_dissector_table("sbc_ap.extension", "SBC-AP-PROTOCOL-EXTENSION", FT_UINT32
, BASE_DEC
);
1466 sbc_ap_proc_imsg_dissector_table
= register_dissector_table("sbc_ap.proc.imsg", "SBC-AP-ELEMENTARY-PROCEDURE InitiatingMessage", FT_UINT32
, BASE_DEC
);
1467 sbc_ap_proc_sout_dissector_table
= register_dissector_table("sbc_ap.proc.sout", "SBC-AP-ELEMENTARY-PROCEDURE SuccessfulOutcome", FT_UINT32
, BASE_DEC
);
1468 sbc_ap_proc_uout_dissector_table
= register_dissector_table("sbc_ap.proc.uout", "SBC-AP-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", FT_UINT32
, BASE_DEC
);
1474 /*--- proto_reg_handoff_sbc_ap ---------------------------------------*/
1476 proto_reg_handoff_sbc_ap(void)
1478 static gboolean inited
= FALSE
;
1479 static guint SctpPort
;
1482 sbc_ap_handle
= create_dissector_handle(dissect_sbc_ap
, proto_sbc_ap
);
1483 dissector_add_uint("sctp.ppi", SBC_AP_PAYLOAD_PROTOCOL_ID
, sbc_ap_handle
);
1486 /*--- Included file: packet-sbc-ap-dis-tab.c ---*/
1487 #line 1 "../../asn1/sbc-ap/packet-sbc-ap-dis-tab.c"
1488 dissector_add_uint("sbc_ap.ies", id_Cause
, new_create_dissector_handle(dissect_Cause_PDU
, proto_sbc_ap
));
1489 dissector_add_uint("sbc_ap.ies", id_Criticality_Diagnostics
, new_create_dissector_handle(dissect_Criticality_Diagnostics_PDU
, proto_sbc_ap
));
1490 dissector_add_uint("sbc_ap.ies", id_Data_Coding_Scheme
, new_create_dissector_handle(dissect_Data_Coding_Scheme_PDU
, proto_sbc_ap
));
1491 dissector_add_uint("sbc_ap.ies", id_Message_Identifier
, new_create_dissector_handle(dissect_Message_Identifier_PDU
, proto_sbc_ap
));
1492 dissector_add_uint("sbc_ap.ies", id_Number_of_Broadcasts_Requested
, new_create_dissector_handle(dissect_Number_of_Broadcasts_Requested_PDU
, proto_sbc_ap
));
1493 dissector_add_uint("sbc_ap.ies", id_Repetition_Period
, new_create_dissector_handle(dissect_Repetition_Period_PDU
, proto_sbc_ap
));
1494 dissector_add_uint("sbc_ap.ies", id_Serial_Number
, new_create_dissector_handle(dissect_Serial_Number_PDU
, proto_sbc_ap
));
1495 dissector_add_uint("sbc_ap.ies", id_List_of_TAIs
, new_create_dissector_handle(dissect_List_of_TAIs_PDU
, proto_sbc_ap
));
1496 dissector_add_uint("sbc_ap.ies", id_Warning_Area_List
, new_create_dissector_handle(dissect_Warning_Area_List_PDU
, proto_sbc_ap
));
1497 dissector_add_uint("sbc_ap.ies", id_Warning_Message_Content
, new_create_dissector_handle(dissect_Warning_Message_Content_PDU
, proto_sbc_ap
));
1498 dissector_add_uint("sbc_ap.ies", id_Warning_Security_Information
, new_create_dissector_handle(dissect_Warning_Security_Information_PDU
, proto_sbc_ap
));
1499 dissector_add_uint("sbc_ap.ies", id_Warning_Type
, new_create_dissector_handle(dissect_Warning_Type_PDU
, proto_sbc_ap
));
1500 dissector_add_uint("sbc_ap.ies", id_Omc_Id
, new_create_dissector_handle(dissect_Omc_Id_PDU
, proto_sbc_ap
));
1501 dissector_add_uint("sbc_ap.ies", id_Concurrent_Warning_Message_Indicator
, new_create_dissector_handle(dissect_Concurrent_Warning_Message_Indicator_PDU
, proto_sbc_ap
));
1502 dissector_add_uint("sbc_ap.ies", id_Extended_Repetition_Period
, new_create_dissector_handle(dissect_Extended_Repetition_Period_PDU
, proto_sbc_ap
));
1503 dissector_add_uint("sbc_ap.proc.imsg", id_Write_Replace_Warning
, new_create_dissector_handle(dissect_Write_Replace_Warning_Request_PDU
, proto_sbc_ap
));
1504 dissector_add_uint("sbc_ap.proc.sout", id_Write_Replace_Warning
, new_create_dissector_handle(dissect_Write_Replace_Warning_Response_PDU
, proto_sbc_ap
));
1505 dissector_add_uint("sbc_ap.proc.imsg", id_Stop_Warning
, new_create_dissector_handle(dissect_Stop_Warning_Request_PDU
, proto_sbc_ap
));
1506 dissector_add_uint("sbc_ap.proc.sout", id_Stop_Warning
, new_create_dissector_handle(dissect_Stop_Warning_Response_PDU
, proto_sbc_ap
));
1509 /*--- End of included file: packet-sbc-ap-dis-tab.c ---*/
1510 #line 192 "../../asn1/sbc-ap/packet-sbc-ap-template.c"
1512 if (SctpPort
!= 0) {
1513 dissector_delete_uint("sctp.port", SctpPort
, sbc_ap_handle
);
1517 SctpPort
= global_sbc_ap_port
;
1518 if (SctpPort
!= 0) {
1519 dissector_add_uint("sctp.port", SctpPort
, sbc_ap_handle
);