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