Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / asn1 / m2ap / m2ap.cnf
blobbf9aab69a93f2798627a887df582dfc3b9ca16a8
1 # m2ap.cnf
2 # m2ap conformation file
4 #.OPT
5 PER
6 ALIGNED
7 #.END
9 #.USE_VALS_EXT
10 ProcedureCode
11 ProtocolIE-ID
13 #.EXPORTS
15 #.PDU
16 M2AP-PDU
18 #.MAKE_ENUM
19 ProcedureCode
20 ProtocolIE-ID
22 #.OMIT_ASSIGNMENT
23 ProtocolIE-FieldPair
24 ProtocolIE-ContainerPair
25 ProtocolIE-ContainerPairList
26 ProtocolIE-ContainerList
27 Presence
29 #.TYPE_RENAME
30 InitiatingMessage/value InitiatingMessage_value
31 SuccessfulOutcome/value SuccessfulOutcome_value
32 UnsuccessfulOutcome/value UnsuccessfulOutcome_value
34 #.FIELD_RENAME
35 InitiatingMessage/value initiatingMessage_value
36 UnsuccessfulOutcome/value unsuccessfulOutcome_value
37 SuccessfulOutcome/value successfulOutcome_value
39 PrivateIE-Field/id private_id
40 ProtocolExtensionField/id ext_id
42 PrivateIE-Field/value private_value
43 ProtocolIE-Field/value ie_field_value
45 #.FN_PARS ProtocolIE-ID  VAL_PTR=&ProtocolIE_ID
46 #.FN_FTR ProtocolIE-ID
47   if (tree) {
48     proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str_ext(ProtocolIE_ID, &m2ap_ProtocolIE_ID_vals_ext, "unknown (%d)"));
49   }
50 #.END
52 #.FN_PARS ProtocolIE-Field/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolIEFieldValue
53 #.FN_PARS ProtocolExtensionField/extensionValue  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolExtensionFieldExtensionValue
55 #.FN_PARS ProcedureCode VAL_PTR=&ProcedureCode
57 #.FN_PARS InitiatingMessage/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_InitiatingMessageValue
58 #.FN_HDR InitiatingMessage/value
59   message_type = INITIATING_MESSAGE;
61 #.FN_PARS SuccessfulOutcome/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_SuccessfulOutcomeValue
62 #.FN_HDR SuccessfulOutcome/value
63   message_type = SUCCESSFUL_OUTCOME;
65 #.FN_PARS UnsuccessfulOutcome/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_UnsuccessfulOutcomeValue
66 #.FN_HDR UnsuccessfulOutcome/value
67   message_type = UNSUCCESSFUL_OUTCOME;
69 #.FN_BODY PLMN-Identity  VAL_PTR = &parameter_tvb
70   tvbuff_t *parameter_tvb = NULL;
71   struct m2ap_private_data *m2ap_data = m2ap_get_private_data(actx->pinfo);
72   e212_number_type_t number_type = m2ap_data->number_type;
73   m2ap_data->number_type = E212_NONE;
74 %(DEFAULT_BODY)s
75   if (parameter_tvb) {
76     proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_m2ap_PLMN_Identity);
77     dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, number_type, false);
78   }
79 #.END
81 #.FN_BODY ECGI
82   struct m2ap_private_data *m2ap_data = m2ap_get_private_data(actx->pinfo);
83   m2ap_data->number_type = E212_ECGI;
84 %(DEFAULT_BODY)s
86 #.FN_BODY IPAddress VAL_PTR = &parameter_tvb
87   tvbuff_t *parameter_tvb = NULL;
88 %(DEFAULT_BODY)s
89   if (parameter_tvb) {
90     int tvb_len = tvb_reported_length(parameter_tvb);
91     proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_m2ap_IPAddress);
93     switch (tvb_len) {
94       case 4:
95         proto_tree_add_item(subtree, hf_m2ap_IPAddress_v4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN);
96         break;
97       case 16:
98         proto_tree_add_item(subtree, hf_m2ap_IPAddress_v6, parameter_tvb, 0, 16, ENC_NA);
99         break;
100       default:
101         proto_tree_add_expert(subtree, actx->pinfo, &ei_m2ap_invalid_ip_address_len, parameter_tvb, 0, tvb_len);
102         break;
103       }
104     }
105 #.END
107 #.TYPE_ATTR
108 BitRate DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=UNS(&units_bit_sec)
110 #.FN_HDR SessionStartRequest
111   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Session Start Request");
112 #.FN_HDR SessionStartResponse
113   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Session Start Response");
114 #.FN_HDR SessionStartFailure
115   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Session Start Failure");
116 #.FN_HDR SessionStopRequest
117   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Session Stop Request");
118 #.FN_HDR SessionStopResponse
119   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Session Stop Response");
120 #.FN_HDR SessionUpdateRequest
121   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Session Update Request");
122 #.FN_HDR SessionUpdateResponse
123   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Session Update Response");
124 #.FN_HDR SessionUpdateFailure
125   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Session Update Failure");
126 #.FN_HDR MbmsSchedulingInformation
127   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Scheduling Information");
128 #.FN_HDR MbmsSchedulingInformationResponse
129   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Scheduling Information Response");
130 #.FN_HDR M2SetupRequest
131   col_set_str(actx->pinfo->cinfo, COL_INFO, "M2 Setup Request");
132 #.FN_HDR M2SetupResponse
133   col_set_str(actx->pinfo->cinfo, COL_INFO, "M2 Setup Response");
134 #.FN_HDR M2SetupFailure
135   col_set_str(actx->pinfo->cinfo, COL_INFO, "M2 Setup Failure");
136 #.FN_HDR ENBConfigurationUpdate
137   col_set_str(actx->pinfo->cinfo, COL_INFO, "eNB Configuration Update");
138 #.FN_HDR ENBConfigurationUpdateAcknowledge
139   col_set_str(actx->pinfo->cinfo, COL_INFO, "eNB Configuration Update Acknowledge");
140 #.FN_HDR ENBConfigurationUpdateFailure
141   col_set_str(actx->pinfo->cinfo, COL_INFO, "eNB Configuration Update Failure");
142 #.FN_HDR MCEConfigurationUpdate
143   col_set_str(actx->pinfo->cinfo, COL_INFO, "MCE Configuration Update");
144 #.FN_HDR MCEConfigurationUpdateAcknowledge
145   col_set_str(actx->pinfo->cinfo, COL_INFO, "MCE Configuration Update Acknowledge");
146 #.FN_HDR MCEConfigurationUpdateFailure
147   col_set_str(actx->pinfo->cinfo, COL_INFO, "MCE Configuration Update Failure");
148 #.FN_HDR ErrorIndication
149   col_set_str(actx->pinfo->cinfo, COL_INFO, "Error Indication");
150 #.FN_HDR Reset
151   col_set_str(actx->pinfo->cinfo, COL_INFO, "Reset");
152 #.FN_HDR ResetAcknowledge
153   col_set_str(actx->pinfo->cinfo, COL_INFO, "Reset Acknowledge");
154 #.FN_HDR PrivateMessage
155   col_set_str(actx->pinfo->cinfo, COL_INFO, "Private Message");
156 #.FN_HDR MbmsServiceCountingRequest
157   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Service Counting Request");
158 #.FN_HDR MbmsServiceCountingResponse
159   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Service Counting Response");
160 #.FN_HDR MbmsServiceCountingFailure
161   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Service Counting Failure");
162 #.FN_HDR MbmsServiceCountingResultsReport
163   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Service Counting Results Report");
164 #.FN_HDR MbmsOverloadNotification
165   col_set_str(actx->pinfo->cinfo, COL_INFO, "MBMS Overload Notification");
167 #.ASSIGN_VALUE_TO_TYPE
168 # ProcedureCode
169 id-sessionStart                     ProcedureCode
170 id-sessionStop                      ProcedureCode
171 id-mbmsSchedulingInformation        ProcedureCode
172 id-errorIndication                  ProcedureCode
173 id-reset                            ProcedureCode
174 id-m2Setup                          ProcedureCode
175 id-eNBConfigurationUpdate           ProcedureCode
176 id-mCEConfigurationUpdate           ProcedureCode
177 id-privateMessage                   ProcedureCode
178 id-sessionUpdate                    ProcedureCode
179 id-mbmsServiceCounting              ProcedureCode
180 id-mbmsServiceCountingResultsReport ProcedureCode
181 id-mbmsOverloadNotification         ProcedureCode
183 # ProtocolIE
184 id-MCE-MBMS-M2AP-ID                                      ProtocolIE-ID
185 id-ENB-MBMS-M2AP-ID                                      ProtocolIE-ID
186 id-TMGI                                                  ProtocolIE-ID
187 id-MBMS-Session-ID                                       ProtocolIE-ID
188 id-MBMS-Service-Area                                     ProtocolIE-ID
189 id-TNL-Information                                       ProtocolIE-ID
190 id-CriticalityDiagnostics                                ProtocolIE-ID
191 id-Cause                                                 ProtocolIE-ID
192 id-MBSFN-Area-Configuration-List                         ProtocolIE-ID
193 id-PMCH-Configuration-List                               ProtocolIE-ID
194 id-PMCH-Configuration-Item                               ProtocolIE-ID
195 id-GlobalENB-ID                                          ProtocolIE-ID
196 id-ENBname                                               ProtocolIE-ID
197 id-ENB-MBMS-Configuration-data-List                      ProtocolIE-ID
198 id-ENB-MBMS-Configuration-data-Item                      ProtocolIE-ID
199 id-GlobalMCE-ID                                          ProtocolIE-ID
200 id-MCEname                                               ProtocolIE-ID
201 id-MCCHrelatedBCCH-ConfigPerMBSFNArea                    ProtocolIE-ID
202 id-MCCHrelatedBCCH-ConfigPerMBSFNArea-Item               ProtocolIE-ID
203 id-TimeToWait                                            ProtocolIE-ID
204 id-MBSFN-Subframe-Configuration-List                     ProtocolIE-ID
205 id-MBSFN-Subframe-Configuration-Item                     ProtocolIE-ID
206 id-Common-Subframe-Allocation-Period                     ProtocolIE-ID
207 id-MCCH-Update-Time                                      ProtocolIE-ID
208 id-ENB-MBMS-Configuration-data-List-ConfigUpdate         ProtocolIE-ID
209 id-ENB-MBMS-Configuration-data-ConfigUpdate-Item         ProtocolIE-ID
210 id-MBMS-Service-associatedLogicalM2-ConnectionItem       ProtocolIE-ID
211 id-MBSFN-Area-ID                                         ProtocolIE-ID
212 id-ResetType                                             ProtocolIE-ID
213 id-MBMS-Service-associatedLogicalM2-ConnectionListResAck ProtocolIE-ID
214 id-MBMS-Counting-Request-Session                         ProtocolIE-ID
215 id-MBMS-Counting-Request-Session-Item                    ProtocolIE-ID
216 id-MBMS-Counting-Result-List                             ProtocolIE-ID
217 id-MBMS-Counting-Result-Item                             ProtocolIE-ID
218 id-Modulation-Coding-Scheme2                             ProtocolIE-ID
219 id-MCH-Scheduling-PeriodExtended                         ProtocolIE-ID
220 id-Alternative-TNL-Information                           ProtocolIE-ID
221 id-Overload-Status-Per-PMCH-List                         ProtocolIE-ID
222 id-PMCH-Overload-Status                                  ProtocolIE-ID
223 id-Active-MBMS-Session-List                              ProtocolIE-ID
224 id-MBMS-Suspension-Notification-List                     ProtocolIE-ID
225 id-MBMS-Suspension-Notification-Item                     ProtocolIE-ID
226 id-SC-PTM-Information                                    ProtocolIE-ID
227 id-Modification-PeriodExtended                           ProtocolIE-ID
228 id-Repetition-PeriodExtended                             ProtocolIE-ID
229 id-MCH-Scheduling-PeriodExtended2                        ProtocolIE-ID
230 id-Subcarrier-SpacingMBMS                                ProtocolIE-ID
231 id-SubframeAllocationExtended                            ProtocolIE-ID
232 id-MCCHrelatedBCCH-ExtConfigPerMBSFNArea-Item            ProtocolIE-ID
233 id-MCCHrelatedBCCH-ExtConfigPerMBSFNArea                 ProtocolIE-ID
234 id-SubframeAllocationFurtherExtension                    ProtocolIE-ID
235 id-AdditionalConfigParameters                            ProtocolIE-ID
237 #.REGISTER
239 #M2AP-PROTOCOL-IES
240 MCE-MBMS-M2AP-ID                                      N m2ap.ies id-MCE-MBMS-M2AP-ID
241 ENB-MBMS-M2AP-ID                                      N m2ap.ies id-ENB-MBMS-M2AP-ID
242 TMGI                                                  N m2ap.ies id-TMGI
243 MBMS-Session-ID                                       N m2ap.ies id-MBMS-Session-ID
244 MBMS-Service-Area                                     N m2ap.ies id-MBMS-Service-Area
245 TNL-Information                                       N m2ap.ies id-TNL-Information
246 CriticalityDiagnostics                                N m2ap.ies id-CriticalityDiagnostics
247 Cause                                                 N m2ap.ies id-Cause
248 MBSFN-Area-Configuration-List                         N m2ap.ies id-MBSFN-Area-Configuration-List
249 PMCH-Configuration-List                               N m2ap.ies id-PMCH-Configuration-List
250 PMCH-Configuration-Item                               N m2ap.ies id-PMCH-Configuration-Item
251 GlobalENB-ID                                          N m2ap.ies id-GlobalENB-ID
252 ENBname                                               N m2ap.ies id-ENBname
253 ENB-MBMS-Configuration-data-List                      N m2ap.ies id-ENB-MBMS-Configuration-data-List
254 ENB-MBMS-Configuration-data-Item                      N m2ap.ies id-ENB-MBMS-Configuration-data-Item
255 GlobalMCE-ID                                          N m2ap.ies id-GlobalMCE-ID
256 MCEname                                               N m2ap.ies id-MCEname
257 MCCHrelatedBCCH-ConfigPerMBSFNArea                    N m2ap.ies id-MCCHrelatedBCCH-ConfigPerMBSFNArea
258 MCCHrelatedBCCH-ConfigPerMBSFNArea-Item               N m2ap.ies id-MCCHrelatedBCCH-ConfigPerMBSFNArea-Item
259 TimeToWait                                            N m2ap.ies id-TimeToWait
260 MBSFN-Subframe-ConfigurationList                      N m2ap.ies id-MBSFN-Subframe-Configuration-List
261 MBSFN-Subframe-Configuration                          N m2ap.ies id-MBSFN-Subframe-Configuration-Item
262 Common-Subframe-Allocation-Period                     N m2ap.ies id-Common-Subframe-Allocation-Period
263 MCCH-Update-Time                                      N m2ap.ies id-MCCH-Update-Time
264 ENB-MBMS-Configuration-data-List-ConfigUpdate         N m2ap.ies id-ENB-MBMS-Configuration-data-List-ConfigUpdate
265 ENB-MBMS-Configuration-data-ConfigUpdate-Item         N m2ap.ies id-ENB-MBMS-Configuration-data-ConfigUpdate-Item
266 MBMS-Service-associatedLogicalM2-ConnectionItem       N m2ap.ies id-MBMS-Service-associatedLogicalM2-ConnectionItem
267 MBSFN-Area-ID                                         N m2ap.ies id-MBSFN-Area-ID
268 ResetType                                             N m2ap.ies id-ResetType
269 MBMS-Service-associatedLogicalM2-ConnectionListResAck N m2ap.ies id-MBMS-Service-associatedLogicalM2-ConnectionListResAck
270 MBMS-Counting-Request-Session                         N m2ap.ies id-MBMS-Counting-Request-Session
271 MBMS-Counting-Request-SessionIE                       N m2ap.ies id-MBMS-Counting-Request-Session-Item
272 MBMS-Counting-Result-List                             N m2ap.ies id-MBMS-Counting-Result-List
273 MBMS-Counting-Result                                  N m2ap.ies id-MBMS-Counting-Result-Item
274 TNL-Information                                       N m2ap.ies id-Alternative-TNL-Information
275 Overload-Status-Per-PMCH-List                         N m2ap.ies id-Overload-Status-Per-PMCH-List
276 PMCH-Overload-Status                                  N m2ap.ies id-PMCH-Overload-Status
277 Active-MBMS-Session-List                              N m2ap.ies id-Active-MBMS-Session-List
278 MBMS-Suspension-Notification-List                     N m2ap.ies id-MBMS-Suspension-Notification-List
279 MBMS-Suspension-Notification-Item                     N m2ap.ies id-MBMS-Suspension-Notification-Item
280 SC-PTM-Information                                    N m2ap.ies id-SC-PTM-Information
281 MCCHrelatedBCCH-ExtConfigPerMBSFNArea-Item            N m2ap.ies id-MCCHrelatedBCCH-ExtConfigPerMBSFNArea-Item
282 MCCHrelatedBCCH-ExtConfigPerMBSFNArea                 N m2ap.ies id-MCCHrelatedBCCH-ExtConfigPerMBSFNArea
284 #M2AP-PROTOCOL-EXTENSION
285 Modulation-Coding-Scheme2                             N m2ap.extension id-Modulation-Coding-Scheme2
286 MCH-Scheduling-PeriodExtended                         N m2ap.extension id-MCH-Scheduling-PeriodExtended
287 Repetition-PeriodExtended                             N m2ap.extension id-Repetition-PeriodExtended
288 Modification-PeriodExtended                           N m2ap.extension id-Modification-PeriodExtended
289 MCH-Scheduling-PeriodExtended2                        N m2ap.extension id-MCH-Scheduling-PeriodExtended2
290 SubframeAllocationExtended                            N m2ap.extension id-SubframeAllocationExtended
291 Subcarrier-SpacingMBMS                                N m2ap.extension id-Subcarrier-SpacingMBMS
292 SubframeAllocationFurtherExtension                    N m2ap.extension id-SubframeAllocationFurtherExtension
293 AdditionalConfigParameters                            N m2ap.extension id-AdditionalConfigParameters
295 #M2AP-ELEMENTARY-PROCEDURE
296 SessionStartRequest               N m2ap.proc.imsg id-sessionStart
297 SessionStartResponse              N m2ap.proc.sout id-sessionStart
298 SessionStartFailure               N m2ap.proc.uout id-sessionStart
299 SessionStopRequest                N m2ap.proc.imsg id-sessionStop
300 SessionStopResponse               N m2ap.proc.sout id-sessionStop
301 SessionUpdateRequest              N m2ap.proc.imsg id-sessionUpdate
302 SessionUpdateResponse             N m2ap.proc.sout id-sessionUpdate
303 SessionUpdateFailure              N m2ap.proc.uout id-sessionUpdate
304 MbmsSchedulingInformation         N m2ap.proc.imsg id-mbmsSchedulingInformation
305 MbmsSchedulingInformationResponse N m2ap.proc.sout id-mbmsSchedulingInformation
306 M2SetupRequest                    N m2ap.proc.imsg id-m2Setup
307 M2SetupResponse                   N m2ap.proc.sout id-m2Setup
308 M2SetupFailure                    N m2ap.proc.uout id-m2Setup
309 ENBConfigurationUpdate            N m2ap.proc.imsg id-eNBConfigurationUpdate
310 ENBConfigurationUpdateAcknowledge N m2ap.proc.sout id-eNBConfigurationUpdate
311 ENBConfigurationUpdateFailure     N m2ap.proc.uout id-eNBConfigurationUpdate
312 MCEConfigurationUpdate            N m2ap.proc.imsg id-mCEConfigurationUpdate
313 MCEConfigurationUpdateAcknowledge N m2ap.proc.sout id-mCEConfigurationUpdate
314 MCEConfigurationUpdateFailure     N m2ap.proc.uout id-mCEConfigurationUpdate
315 ErrorIndication                   N m2ap.proc.imsg id-errorIndication
316 Reset                             N m2ap.proc.imsg id-reset
317 ResetAcknowledge                  N m2ap.proc.sout id-reset
318 PrivateMessage                    N m2ap.proc.imsg id-privateMessage
319 MbmsServiceCountingRequest        N m2ap.proc.imsg id-mbmsServiceCounting
320 MbmsServiceCountingResponse       N m2ap.proc.sout id-mbmsServiceCounting
321 MbmsServiceCountingFailure        N m2ap.proc.uout id-mbmsServiceCounting
322 MbmsServiceCountingResultsReport  N m2ap.proc.imsg id-mbmsServiceCountingResultsReport
323 MbmsOverloadNotification          N m2ap.proc.imsg id-mbmsOverloadNotification
325 #.END