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