SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / 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-epd-v03.01.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
6  */
7
8 #include "UnsuccessfulOutcome.h"
9
10 static const long asn_VAL_1_id_RICsubscription = 8;
11 static const long asn_VAL_1_reject = 0;
12 static const long asn_VAL_2_id_RICsubscriptionDelete = 9;
13 static const long asn_VAL_2_reject = 0;
14 static const long asn_VAL_3_id_RICsubscriptionModification = 14;
15 static const long asn_VAL_3_reject = 0;
16 static const long asn_VAL_4_id_RICsubscriptionModificationRequired = 15;
17 static const long asn_VAL_4_reject = 0;
18 static const long asn_VAL_5_id_RICquery = 16;
19 static const long asn_VAL_5_reject = 0;
20 static const long asn_VAL_6_id_RICserviceUpdate = 7;
21 static const long asn_VAL_6_reject = 0;
22 static const long asn_VAL_7_id_RICcontrol = 4;
23 static const long asn_VAL_7_reject = 0;
24 static const long asn_VAL_8_id_E2setup = 1;
25 static const long asn_VAL_8_reject = 0;
26 static const long asn_VAL_9_id_E2nodeConfigurationUpdate = 10;
27 static const long asn_VAL_9_reject = 0;
28 static const long asn_VAL_10_id_E2connectionUpdate = 11;
29 static const long asn_VAL_10_reject = 0;
30 static const long asn_VAL_11_id_Reset = 3;
31 static const long asn_VAL_11_reject = 0;
32 static const long asn_VAL_12_id_E2removal = 13;
33 static const long asn_VAL_12_reject = 0;
34 static const long asn_VAL_13_id_RICindication = 5;
35 static const long asn_VAL_13_ignore = 1;
36 static const long asn_VAL_14_id_RICserviceQuery = 6;
37 static const long asn_VAL_14_ignore = 1;
38 static const long asn_VAL_15_id_ErrorIndication = 2;
39 static const long asn_VAL_15_ignore = 1;
40 static const long asn_VAL_16_id_RICsubscriptionDeleteRequired = 12;
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_RICsubscriptionModificationRequest },
54         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionModificationResponse },
55         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionModificationFailure },
56         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_RICsubscriptionModification },
57         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject },
58         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionModificationRequired },
59         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionModificationConfirm },
60         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionModificationRefuse },
61         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_RICsubscriptionModificationRequired },
62         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject },
63         { "&InitiatingMessage", aioc__type, &asn_DEF_RICQueryRequest },
64         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICQueryResponse },
65         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICQueryFailure },
66         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_RICquery },
67         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject },
68         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate },
69         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge },
70         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure },
71         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_RICserviceUpdate },
72         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject },
73         { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest },
74         { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge },
75         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure },
76         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_RICcontrol },
77         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject },
78         { "&InitiatingMessage", aioc__type, &asn_DEF_E2setupRequest },
79         { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2setupResponse },
80         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2setupFailure },
81         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_E2setup },
82         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_reject },
83         { "&InitiatingMessage", aioc__type, &asn_DEF_E2nodeConfigurationUpdate },
84         { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2nodeConfigurationUpdateAcknowledge },
85         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2nodeConfigurationUpdateFailure },
86         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_E2nodeConfigurationUpdate },
87         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_reject },
88         { "&InitiatingMessage", aioc__type, &asn_DEF_E2connectionUpdate },
89         { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2connectionUpdateAcknowledge },
90         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2connectionUpdateFailure },
91         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_10_id_E2connectionUpdate },
92         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_reject },
93         { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest },
94         { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse },
95         { "&UnsuccessfulOutcome",  },
96         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_Reset },
97         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_reject },
98         { "&InitiatingMessage", aioc__type, &asn_DEF_E2RemovalRequest },
99         { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2RemovalResponse },
100         { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2RemovalFailure },
101         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_12_id_E2removal },
102         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_reject },
103         { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication },
104         { "&SuccessfulOutcome",  },
105         { "&UnsuccessfulOutcome",  },
106         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_13_id_RICindication },
107         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_13_ignore },
108         { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery },
109         { "&SuccessfulOutcome",  },
110         { "&UnsuccessfulOutcome",  },
111         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_14_id_RICserviceQuery },
112         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_14_ignore },
113         { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication },
114         { "&SuccessfulOutcome",  },
115         { "&UnsuccessfulOutcome",  },
116         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_15_id_ErrorIndication },
117         { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_15_ignore },
118         { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequired },
119         { "&SuccessfulOutcome",  },
120         { "&UnsuccessfulOutcome",  },
121         { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_16_id_RICsubscriptionDeleteRequired },
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 >= 0L && value <= 255L)) {
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 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
245 static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
246         { APC_CONSTRAINED,       8,  8,  0,  255 }      /* (0..255) */,
247         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
248         0, 0    /* No PER value map */
249 };
250 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
251 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
252 static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
253         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
254         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
255         0, 0    /* No PER value map */
256 };
257 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
258 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
259 static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
260         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
261         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
262         0, 0    /* No PER value map */
263 };
264 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
265 static asn_TYPE_member_t asn_MBR_value_4[] = {
266         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICsubscriptionFailure),
267                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
268                 0,
269                 &asn_DEF_RICsubscriptionFailure,
270                 0,
271                 {
272 #if !defined(ASN_DISABLE_OER_SUPPORT)
273                         0,
274 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
275 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
276                         0,
277 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
278                         0
279                 },
280                 0, 0, /* No default value */
281                 "RICsubscriptionFailure"
282                 },
283         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICsubscriptionDeleteFailure),
284                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
285                 0,
286                 &asn_DEF_RICsubscriptionDeleteFailure,
287                 0,
288                 {
289 #if !defined(ASN_DISABLE_OER_SUPPORT)
290                         0,
291 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
292 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
293                         0,
294 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
295                         0
296                 },
297                 0, 0, /* No default value */
298                 "RICsubscriptionDeleteFailure"
299                 },
300         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICsubscriptionModificationFailure),
301                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
302                 0,
303                 &asn_DEF_RICsubscriptionModificationFailure,
304                 0,
305                 {
306 #if !defined(ASN_DISABLE_OER_SUPPORT)
307                         0,
308 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
309 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
310                         0,
311 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
312                         0
313                 },
314                 0, 0, /* No default value */
315                 "RICsubscriptionModificationFailure"
316                 },
317         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICsubscriptionModificationRefuse),
318                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
319                 0,
320                 &asn_DEF_RICsubscriptionModificationRefuse,
321                 0,
322                 {
323 #if !defined(ASN_DISABLE_OER_SUPPORT)
324                         0,
325 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
326 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
327                         0,
328 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
329                         0
330                 },
331                 0, 0, /* No default value */
332                 "RICsubscriptionModificationRefuse"
333                 },
334         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICQueryFailure),
335                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
336                 0,
337                 &asn_DEF_RICQueryFailure,
338                 0,
339                 {
340 #if !defined(ASN_DISABLE_OER_SUPPORT)
341                         0,
342 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
343 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
344                         0,
345 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
346                         0
347                 },
348                 0, 0, /* No default value */
349                 "RICQueryFailure"
350                 },
351         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICserviceUpdateFailure),
352                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
353                 0,
354                 &asn_DEF_RICserviceUpdateFailure,
355                 0,
356                 {
357 #if !defined(ASN_DISABLE_OER_SUPPORT)
358                         0,
359 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
360 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
361                         0,
362 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
363                         0
364                 },
365                 0, 0, /* No default value */
366                 "RICserviceUpdateFailure"
367                 },
368         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICcontrolFailure),
369                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
370                 0,
371                 &asn_DEF_RICcontrolFailure,
372                 0,
373                 {
374 #if !defined(ASN_DISABLE_OER_SUPPORT)
375                         0,
376 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
377 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
378                         0,
379 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
380                         0
381                 },
382                 0, 0, /* No default value */
383                 "RICcontrolFailure"
384                 },
385         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.E2setupFailure),
386                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
387                 0,
388                 &asn_DEF_E2setupFailure,
389                 0,
390                 {
391 #if !defined(ASN_DISABLE_OER_SUPPORT)
392                         0,
393 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
394 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
395                         0,
396 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
397                         0
398                 },
399                 0, 0, /* No default value */
400                 "E2setupFailure"
401                 },
402         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.E2nodeConfigurationUpdateFailure),
403                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
404                 0,
405                 &asn_DEF_E2nodeConfigurationUpdateFailure,
406                 0,
407                 {
408 #if !defined(ASN_DISABLE_OER_SUPPORT)
409                         0,
410 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
411 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
412                         0,
413 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
414                         0
415                 },
416                 0, 0, /* No default value */
417                 "E2nodeConfigurationUpdateFailure"
418                 },
419         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.E2connectionUpdateFailure),
420                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
421                 0,
422                 &asn_DEF_E2connectionUpdateFailure,
423                 0,
424                 {
425 #if !defined(ASN_DISABLE_OER_SUPPORT)
426                         0,
427 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
428 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
429                         0,
430 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
431                         0
432                 },
433                 0, 0, /* No default value */
434                 "E2connectionUpdateFailure"
435                 },
436         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.E2RemovalFailure),
437                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
438                 0,
439                 &asn_DEF_E2RemovalFailure,
440                 0,
441                 {
442 #if !defined(ASN_DISABLE_OER_SUPPORT)
443                         0,
444 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
445 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
446                         0,
447 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
448                         0
449                 },
450                 0, 0, /* No default value */
451                 "E2RemovalFailure"
452                 },
453 };
454 static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = {
455     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 10 }, /* RICsubscriptionFailure */
456     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 9 }, /* RICsubscriptionDeleteFailure */
457     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 8 }, /* RICsubscriptionModificationFailure */
458     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 7 }, /* RICsubscriptionModificationRefuse */
459     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 6 }, /* RICQueryFailure */
460     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 5 }, /* RICserviceUpdateFailure */
461     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 4 }, /* RICcontrolFailure */
462     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 3 }, /* E2setupFailure */
463     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 2 }, /* E2nodeConfigurationUpdateFailure */
464     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 1 }, /* E2connectionUpdateFailure */
465     { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 0 } /* E2RemovalFailure */
466 };
467 static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = {
468         sizeof(struct UnsuccessfulOutcome__value),
469         offsetof(struct UnsuccessfulOutcome__value, _asn_ctx),
470         offsetof(struct UnsuccessfulOutcome__value, present),
471         sizeof(((struct UnsuccessfulOutcome__value *)0)->present),
472         asn_MAP_value_tag2el_4,
473         11,     /* Count of tags in the map */
474         0, 0,
475         -1      /* Extensions start */
476 };
477 static /* Use -fall-defs-global to expose */
478 asn_TYPE_descriptor_t asn_DEF_value_4 = {
479         "value",
480         "value",
481         &asn_OP_OPEN_TYPE,
482         0,      /* No effective tags (pointer) */
483         0,      /* No effective tags (count) */
484         0,      /* No tags (pointer) */
485         0,      /* No tags (count) */
486         {
487 #if !defined(ASN_DISABLE_OER_SUPPORT)
488                 0,
489 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
490 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
491                 0,
492 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
493                 OPEN_TYPE_constraint
494         },
495         asn_MBR_value_4,
496         11,     /* Elements count */
497         &asn_SPC_value_specs_4  /* Additional specs */
498 };
499
500 asn_TYPE_member_t asn_MBR_UnsuccessfulOutcome_1[] = {
501         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, procedureCode),
502                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
503                 -1,     /* IMPLICIT tag at current level */
504                 &asn_DEF_ProcedureCode,
505                 0,
506                 {
507 #if !defined(ASN_DISABLE_OER_SUPPORT)
508                         0,
509 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
510 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
511                         &asn_PER_memb_procedureCode_constr_2,
512 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
513                         memb_procedureCode_constraint_1
514                 },
515                 0, 0, /* No default value */
516                 "procedureCode"
517                 },
518         { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, criticality),
519                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
520                 -1,     /* IMPLICIT tag at current level */
521                 &asn_DEF_Criticality,
522                 select_UnsuccessfulOutcome_criticality_type,
523                 {
524 #if !defined(ASN_DISABLE_OER_SUPPORT)
525                         0,
526 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
527 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
528                         &asn_PER_memb_criticality_constr_3,
529 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
530                         memb_criticality_constraint_1
531                 },
532                 0, 0, /* No default value */
533                 "criticality"
534                 },
535         { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, value),
536                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
537                 +1,     /* EXPLICIT tag at current level */
538                 &asn_DEF_value_4,
539                 select_UnsuccessfulOutcome_value_type,
540                 {
541 #if !defined(ASN_DISABLE_OER_SUPPORT)
542                         0,
543 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
544 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
545                         &asn_PER_memb_value_constr_4,
546 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
547                         memb_value_constraint_1
548                 },
549                 0, 0, /* No default value */
550                 "value"
551                 },
552 };
553 static const ber_tlv_tag_t asn_DEF_UnsuccessfulOutcome_tags_1[] = {
554         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
555 };
556 static const asn_TYPE_tag2member_t asn_MAP_UnsuccessfulOutcome_tag2el_1[] = {
557     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
558     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */
559     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */
560 };
561 asn_SEQUENCE_specifics_t asn_SPC_UnsuccessfulOutcome_specs_1 = {
562         sizeof(struct UnsuccessfulOutcome),
563         offsetof(struct UnsuccessfulOutcome, _asn_ctx),
564         asn_MAP_UnsuccessfulOutcome_tag2el_1,
565         3,      /* Count of tags in the map */
566         0, 0, 0,        /* Optional elements (not needed) */
567         -1,     /* First extension addition */
568 };
569 asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcome = {
570         "UnsuccessfulOutcome",
571         "UnsuccessfulOutcome",
572         &asn_OP_SEQUENCE,
573         asn_DEF_UnsuccessfulOutcome_tags_1,
574         sizeof(asn_DEF_UnsuccessfulOutcome_tags_1)
575                 /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */
576         asn_DEF_UnsuccessfulOutcome_tags_1,     /* Same as above */
577         sizeof(asn_DEF_UnsuccessfulOutcome_tags_1)
578                 /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */
579         {
580 #if !defined(ASN_DISABLE_OER_SUPPORT)
581                 0,
582 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
583 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
584                 0,
585 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
586                 SEQUENCE_constraint
587         },
588         asn_MBR_UnsuccessfulOutcome_1,
589         3,      /* Elements count */
590         &asn_SPC_UnsuccessfulOutcome_specs_1    /* Additional specs */
591 };
592