Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / UnsuccessfulOutcome.c
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /*
18  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19  * platform project (RICP).
20  */
21
22
23
24 /*
25  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26  * From ASN.1 module "E2AP-PDU-Descriptions"
27  *      found in "../../asnFiles/e2ap-v031.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #include "UnsuccessfulOutcome.h"
32
33 static const long asn_VAL_1_id_ricSubscription = 201;
34 static const long asn_VAL_1_reject = 0;
35 static const long asn_VAL_2_id_ricSubscriptionDelete = 202;
36 static const long asn_VAL_2_reject = 0;
37 static const long asn_VAL_3_id_ricServiceUpdate = 203;
38 static const long asn_VAL_3_reject = 0;
39 static const long asn_VAL_4_id_ricControl = 204;
40 static const long asn_VAL_4_reject = 0;
41 static const long asn_VAL_5_id_x2Setup = 6;
42 static const long asn_VAL_5_reject = 0;
43 static const long asn_VAL_6_id_endcX2Setup = 36;
44 static const long asn_VAL_6_reject = 0;
45 static const long asn_VAL_7_id_resourceStatusReportingInitiation = 9;
46 static const long asn_VAL_7_reject = 0;
47 static const long asn_VAL_8_id_eNBConfigurationUpdate = 8;
48 static const long asn_VAL_8_reject = 0;
49 static const long asn_VAL_9_id_endcConfigurationUpdate = 37;
50 static const long asn_VAL_9_reject = 0;
51 static const long asn_VAL_10_id_reset = 7;
52 static const long asn_VAL_10_reject = 0;
53 static const long asn_VAL_11_id_ricIndication = 205;
54 static const long asn_VAL_11_ignore = 1;
55 static const long asn_VAL_12_id_ricServiceQuery = 206;
56 static const long asn_VAL_12_ignore = 1;
57 static const long asn_VAL_13_id_loadIndication = 2;
58 static const long asn_VAL_13_ignore = 1;
59 static const long asn_VAL_14_id_gNBStatusIndication = 45;
60 static const long asn_VAL_14_ignore = 1;
61 static const long asn_VAL_15_id_resourceStatusReporting = 10;
62 static const long asn_VAL_15_ignore = 1;
63 static const long asn_VAL_16_id_errorIndication = 3;
64 static const long asn_VAL_16_ignore = 1;
65 static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = {
66         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest },
67         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse },
68         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionFailure },
69         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_1_id_ricSubscription },
70         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject },
71         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequest },
72         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteResponse },
73         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure },
74         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_ricSubscriptionDelete },
75         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject },
76         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate },
77         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge },
78         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure },
79         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_ricServiceUpdate },
80         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject },
81         { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest },
82         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge },
83         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure },
84         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_ricControl },
85         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject },
86         { "&InitiatingMessage", aioc__type, &asn_DEF_X2SetupRequest },
87         { "&SuccessfulOutcome", aioc__type, &asn_DEF_X2SetupResponse },
88         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_X2SetupFailure },
89         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_x2Setup },
90         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject },
91         { "&InitiatingMessage", aioc__type, &asn_DEF_ENDCX2SetupRequest },
92         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENDCX2SetupResponse },
93         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENDCX2SetupFailure },
94         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_endcX2Setup },
95         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject },
96         { "&InitiatingMessage", aioc__type, &asn_DEF_ResourceStatusRequest },
97         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResourceStatusResponse },
98         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ResourceStatusFailure },
99         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_resourceStatusReportingInitiation },
100         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject },
101         { "&InitiatingMessage", aioc__type, &asn_DEF_ENBConfigurationUpdate },
102         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENBConfigurationUpdateAcknowledge },
103         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENBConfigurationUpdateFailure },
104         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_eNBConfigurationUpdate },
105         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_reject },
106         { "&InitiatingMessage", aioc__type, &asn_DEF_ENDCConfigurationUpdate },
107         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ENDCConfigurationUpdateAcknowledge },
108         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_ENDCConfigurationUpdateFailure },
109         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_endcConfigurationUpdate },
110         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_reject },
111         { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest },
112         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse },
113         { "&UnsuccessfulOutcome",  },
114         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_10_id_reset },
115         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_reject },
116         { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication },
117         { "&SuccessfulOutcome",  },
118         { "&UnsuccessfulOutcome",  },
119         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_ricIndication },
120         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_ignore },
121         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery },
122         { "&SuccessfulOutcome",  },
123         { "&UnsuccessfulOutcome",  },
124         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_12_id_ricServiceQuery },
125         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_ignore },
126         { "&InitiatingMessage", aioc__type, &asn_DEF_LoadInformation },
127         { "&SuccessfulOutcome",  },
128         { "&UnsuccessfulOutcome",  },
129         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_13_id_loadIndication },
130         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_13_ignore },
131         { "&InitiatingMessage", aioc__type, &asn_DEF_GNBStatusIndication },
132         { "&SuccessfulOutcome",  },
133         { "&UnsuccessfulOutcome",  },
134         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_14_id_gNBStatusIndication },
135         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_14_ignore },
136         { "&InitiatingMessage", aioc__type, &asn_DEF_ResourceStatusUpdate },
137         { "&SuccessfulOutcome",  },
138         { "&UnsuccessfulOutcome",  },
139         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_15_id_resourceStatusReporting },
140         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_15_ignore },
141         { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication },
142         { "&SuccessfulOutcome",  },
143         { "&UnsuccessfulOutcome",  },
144         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_16_id_errorIndication },
145         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_16_ignore }
146 };
147 static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = {
148         { 16, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows }
149 };
150 static int
151 memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
152                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
153         long value;
154         
155         if(!sptr) {
156                 ASN__CTFAIL(app_key, td, sptr,
157                         "%s: value not given (%s:%d)",
158                         td->name, __FILE__, __LINE__);
159                 return -1;
160         }
161         
162         value = *(const long *)sptr;
163         
164         if((value >= 0 && value <= 255)) {
165                 /* Constraint check succeeded */
166                 return 0;
167         } else {
168                 ASN__CTFAIL(app_key, td, sptr,
169                         "%s: constraint failed (%s:%d)",
170                         td->name, __FILE__, __LINE__);
171                 return -1;
172         }
173 }
174
175 static asn_type_selector_result_t
176 select_UnsuccessfulOutcome_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
177         asn_type_selector_result_t result = {0, 0};
178         const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1;
179         size_t constraining_column = 3; /* &procedureCode */
180         size_t for_column = 4; /* &criticality */
181         size_t row, presence_index = 0;
182         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct UnsuccessfulOutcome, procedureCode));
183         
184         for(row=0; row < itable->rows_count; row++) {
185             const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column];
186             const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column];
187         
188             if(type_cell->cell_kind == aioc__undefined)
189                 continue;
190         
191             presence_index++;
192             if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
193                 result.type_descriptor = type_cell->type_descriptor;
194                 result.presence_index = presence_index;
195                 break;
196             }
197         }
198         
199         return result;
200 }
201
202 static int
203 memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
204                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
205         
206         if(!sptr) {
207                 ASN__CTFAIL(app_key, td, sptr,
208                         "%s: value not given (%s:%d)",
209                         td->name, __FILE__, __LINE__);
210                 return -1;
211         }
212         
213         
214         if(1 /* No applicable constraints whatsoever */) {
215                 /* Nothing is here. See below */
216         }
217         
218         return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
219 }
220
221 static asn_type_selector_result_t
222 select_UnsuccessfulOutcome_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
223         asn_type_selector_result_t result = {0, 0};
224         const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1;
225         size_t constraining_column = 3; /* &procedureCode */
226         size_t for_column = 2; /* &UnsuccessfulOutcome */
227         size_t row, presence_index = 0;
228         const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct UnsuccessfulOutcome, procedureCode));
229         
230         for(row=0; row < itable->rows_count; row++) {
231             const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column];
232             const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column];
233         
234             if(type_cell->cell_kind == aioc__undefined)
235                 continue;
236         
237             presence_index++;
238             if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
239                 result.type_descriptor = type_cell->type_descriptor;
240                 result.presence_index = presence_index;
241                 break;
242             }
243         }
244         
245         return result;
246 }
247
248 static int
249 memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
250                         asn_app_constraint_failed_f *ctfailcb, void *app_key) {
251         
252         if(!sptr) {
253                 ASN__CTFAIL(app_key, td, sptr,
254                         "%s: value not given (%s:%d)",
255                         td->name, __FILE__, __LINE__);
256                 return -1;
257         }
258         
259         
260         if(1 /* No applicable constraints whatsoever */) {
261                 /* Nothing is here. See below */
262         }
263         
264         return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
265 }
266
267 static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
268         { APC_CONSTRAINED,       8,  8,  0,  255 }      /* (0..255) */,
269         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
270         0, 0    /* No PER value map */
271 };
272 static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
273         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
274         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
275         0, 0    /* No PER value map */
276 };
277 static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
278         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
279         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
280         0, 0    /* No PER value map */
281 };
282 static asn_TYPE_member_t asn_MBR_value_4[] = {
283         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICsubscriptionFailure),
284                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
285                 0,
286                 &asn_DEF_RICsubscriptionFailure,
287                 0,
288                 { 0, 0, 0 },
289                 0, 0, /* No default value */
290                 "RICsubscriptionFailure"
291                 },
292         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICsubscriptionDeleteFailure),
293                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
294                 0,
295                 &asn_DEF_RICsubscriptionDeleteFailure,
296                 0,
297                 { 0, 0, 0 },
298                 0, 0, /* No default value */
299                 "RICsubscriptionDeleteFailure"
300                 },
301         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICserviceUpdateFailure),
302                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
303                 0,
304                 &asn_DEF_RICserviceUpdateFailure,
305                 0,
306                 { 0, 0, 0 },
307                 0, 0, /* No default value */
308                 "RICserviceUpdateFailure"
309                 },
310         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICcontrolFailure),
311                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
312                 0,
313                 &asn_DEF_RICcontrolFailure,
314                 0,
315                 { 0, 0, 0 },
316                 0, 0, /* No default value */
317                 "RICcontrolFailure"
318                 },
319         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.X2SetupFailure),
320                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
321                 0,
322                 &asn_DEF_X2SetupFailure,
323                 0,
324                 { 0, 0, 0 },
325                 0, 0, /* No default value */
326                 "X2SetupFailure"
327                 },
328         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.ENDCX2SetupFailure),
329                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
330                 0,
331                 &asn_DEF_ENDCX2SetupFailure,
332                 0,
333                 { 0, 0, 0 },
334                 0, 0, /* No default value */
335                 "ENDCX2SetupFailure"
336                 },
337         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.ResourceStatusFailure),
338                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
339                 0,
340                 &asn_DEF_ResourceStatusFailure,
341                 0,
342                 { 0, 0, 0 },
343                 0, 0, /* No default value */
344                 "ResourceStatusFailure"
345                 },
346         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.ENBConfigurationUpdateFailure),
347                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
348                 0,
349                 &asn_DEF_ENBConfigurationUpdateFailure,
350                 0,
351                 { 0, 0, 0 },
352                 0, 0, /* No default value */
353                 "ENBConfigurationUpdateFailure"
354                 },
355         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.ENDCConfigurationUpdateFailure),
356                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
357                 0,
358                 &asn_DEF_ENDCConfigurationUpdateFailure,
359                 0,
360                 { 0, 0, 0 },
361                 0, 0, /* No default value */
362                 "ENDCConfigurationUpdateFailure"
363                 },
364 };
365 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
366     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 8 }, /* RICsubscriptionFailure */
367     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 7 }, /* RICsubscriptionDeleteFailure */
368     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 6 }, /* RICserviceUpdateFailure */
369     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 5 }, /* RICcontrolFailure */
370     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 4 }, /* X2SetupFailure */
371     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 3 }, /* ENDCX2SetupFailure */
372     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 2 }, /* ResourceStatusFailure */
373     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 1 }, /* ENBConfigurationUpdateFailure */
374     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 0 } /* ENDCConfigurationUpdateFailure */
375 };
376 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
377         sizeof(struct UnsuccessfulOutcome__value),
378         offsetof(struct UnsuccessfulOutcome__value, _asn_ctx),
379         offsetof(struct UnsuccessfulOutcome__value, present),
380         sizeof(((struct UnsuccessfulOutcome__value *)0)->present),
381         asn_MAP_value_tag2el_4,
382         9,      /* Count of tags in the map */
383         0, 0,
384         -1      /* Extensions start */
385 };
386 static /* Use -fall-defs-global to expose */
387 asn_TYPE_descriptor_t asn_DEF_value_4 = {
388         "value",
389         "value",
390         &asn_OP_OPEN_TYPE,
391         0,      /* No effective tags (pointer) */
392         0,      /* No effective tags (count) */
393         0,      /* No tags (pointer) */
394         0,      /* No tags (count) */
395         { 0, 0, OPEN_TYPE_constraint },
396         asn_MBR_value_4,
397         9,      /* Elements count */
398         &asn_SPC_value_specs_4  /* Additional specs */
399 };
400
401 asn_TYPE_member_t asn_MBR_UnsuccessfulOutcome_1[] = {
402         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, procedureCode),
403                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
404                 -1,     /* IMPLICIT tag at current level */
405                 &asn_DEF_ProcedureCode,
406                 0,
407                 { 0, &asn_PER_memb_procedureCode_constr_2,  memb_procedureCode_constraint_1 },
408                 0, 0, /* No default value */
409                 "procedureCode"
410                 },
411         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, criticality),
412                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
413                 -1,     /* IMPLICIT tag at current level */
414                 &asn_DEF_Criticality,
415                 select_UnsuccessfulOutcome_criticality_type,
416                 { 0, &asn_PER_memb_criticality_constr_3,  memb_criticality_constraint_1 },
417                 0, 0, /* No default value */
418                 "criticality"
419                 },
420         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, value),
421                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
422                 +1,     /* EXPLICIT tag at current level */
423                 &asn_DEF_value_4,
424                 select_UnsuccessfulOutcome_value_type,
425                 { 0, &asn_PER_memb_value_constr_4,  memb_value_constraint_1 },
426                 0, 0, /* No default value */
427                 "value"
428                 },
429 };
430 static const ber_tlv_tag_t asn_DEF_UnsuccessfulOutcome_tags_1[] = {
431         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
432 };
433 static const asn_TYPE_tag2member_t asn_MAP_UnsuccessfulOutcome_tag2el_1[] = {
434     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
435     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
436     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
437 };
438 asn_SEQUENCE_specifics_t asn_SPC_UnsuccessfulOutcome_specs_1 = {
439         sizeof(struct UnsuccessfulOutcome),
440         offsetof(struct UnsuccessfulOutcome, _asn_ctx),
441         asn_MAP_UnsuccessfulOutcome_tag2el_1,
442         3,      /* Count of tags in the map */
443         0, 0, 0,        /* Optional elements (not needed) */
444         -1,     /* First extension addition */
445 };
446 asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcome = {
447         "UnsuccessfulOutcome",
448         "UnsuccessfulOutcome",
449         &asn_OP_SEQUENCE,
450         asn_DEF_UnsuccessfulOutcome_tags_1,
451         sizeof(asn_DEF_UnsuccessfulOutcome_tags_1)
452                 /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */
453         asn_DEF_UnsuccessfulOutcome_tags_1,     /* Same as above */
454         sizeof(asn_DEF_UnsuccessfulOutcome_tags_1)
455                 /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */
456         { 0, 0, SEQUENCE_constraint },
457         asn_MBR_UnsuccessfulOutcome_1,
458         3,      /* Elements count */
459         &asn_SPC_UnsuccessfulOutcome_specs_1    /* Additional specs */
460 };
461