Juha Hyttinen | ff8dccd | 2019-12-10 14:34:07 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "E2AP-PDU-Descriptions" |
| 4 | * found in "Spec/e2_and_x2-combined-and-minimized.asn1" |
| 5 | * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example` |
| 6 | */ |
| 7 | |
| 8 | #include "RICUnsuccessfulOutcome.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_RICUnsuccessfulOutcome_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 RICUnsuccessfulOutcome, 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_RICUnsuccessfulOutcome_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 RICUnsuccessfulOutcome, 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_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = { |
| 245 | { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, |
| 246 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 247 | 0, 0 /* No PER value map */ |
| 248 | }; |
| 249 | static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = { |
| 250 | { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, |
| 251 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 252 | 0, 0 /* No PER value map */ |
| 253 | }; |
| 254 | static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = { |
| 255 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 256 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 257 | 0, 0 /* No PER value map */ |
| 258 | }; |
| 259 | static asn_TYPE_member_t asn_MBR_value_4[] = { |
| 260 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.RICsubscriptionFailure), |
| 261 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 262 | 0, |
| 263 | &asn_DEF_RICsubscriptionFailure, |
| 264 | 0, |
| 265 | { 0, 0, 0 }, |
| 266 | 0, 0, /* No default value */ |
| 267 | "RICsubscriptionFailure" |
| 268 | }, |
| 269 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.RICsubscriptionDeleteFailure), |
| 270 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 271 | 0, |
| 272 | &asn_DEF_RICsubscriptionDeleteFailure, |
| 273 | 0, |
| 274 | { 0, 0, 0 }, |
| 275 | 0, 0, /* No default value */ |
| 276 | "RICsubscriptionDeleteFailure" |
| 277 | }, |
| 278 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.RICserviceUpdateFailure), |
| 279 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 280 | 0, |
| 281 | &asn_DEF_RICserviceUpdateFailure, |
| 282 | 0, |
| 283 | { 0, 0, 0 }, |
| 284 | 0, 0, /* No default value */ |
| 285 | "RICserviceUpdateFailure" |
| 286 | }, |
| 287 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.RICcontrolFailure), |
| 288 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 289 | 0, |
| 290 | &asn_DEF_RICcontrolFailure, |
| 291 | 0, |
| 292 | { 0, 0, 0 }, |
| 293 | 0, 0, /* No default value */ |
| 294 | "RICcontrolFailure" |
| 295 | }, |
| 296 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.X2SetupFailure), |
| 297 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 298 | 0, |
| 299 | &asn_DEF_X2SetupFailure, |
| 300 | 0, |
| 301 | { 0, 0, 0 }, |
| 302 | 0, 0, /* No default value */ |
| 303 | "X2SetupFailure" |
| 304 | }, |
| 305 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.ENDCX2SetupFailure), |
| 306 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 307 | 0, |
| 308 | &asn_DEF_ENDCX2SetupFailure, |
| 309 | 0, |
| 310 | { 0, 0, 0 }, |
| 311 | 0, 0, /* No default value */ |
| 312 | "ENDCX2SetupFailure" |
| 313 | }, |
| 314 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.ResourceStatusFailure), |
| 315 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 316 | 0, |
| 317 | &asn_DEF_ResourceStatusFailure, |
| 318 | 0, |
| 319 | { 0, 0, 0 }, |
| 320 | 0, 0, /* No default value */ |
| 321 | "ResourceStatusFailure" |
| 322 | }, |
| 323 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.ENBConfigurationUpdateFailure), |
| 324 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 325 | 0, |
| 326 | &asn_DEF_ENBConfigurationUpdateFailure, |
| 327 | 0, |
| 328 | { 0, 0, 0 }, |
| 329 | 0, 0, /* No default value */ |
| 330 | "ENBConfigurationUpdateFailure" |
| 331 | }, |
| 332 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome__value, choice.ENDCConfigurationUpdateFailure), |
| 333 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 334 | 0, |
| 335 | &asn_DEF_ENDCConfigurationUpdateFailure, |
| 336 | 0, |
| 337 | { 0, 0, 0 }, |
| 338 | 0, 0, /* No default value */ |
| 339 | "ENDCConfigurationUpdateFailure" |
| 340 | }, |
| 341 | }; |
| 342 | static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { |
| 343 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 8 }, /* RICsubscriptionFailure */ |
| 344 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 7 }, /* RICsubscriptionDeleteFailure */ |
| 345 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 6 }, /* RICserviceUpdateFailure */ |
| 346 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 5 }, /* RICcontrolFailure */ |
| 347 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 4 }, /* X2SetupFailure */ |
| 348 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 3 }, /* ENDCX2SetupFailure */ |
| 349 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 2 }, /* ResourceStatusFailure */ |
| 350 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 1 }, /* ENBConfigurationUpdateFailure */ |
| 351 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 0 } /* ENDCConfigurationUpdateFailure */ |
| 352 | }; |
| 353 | static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { |
| 354 | sizeof(struct RICUnsuccessfulOutcome__value), |
| 355 | offsetof(struct RICUnsuccessfulOutcome__value, _asn_ctx), |
| 356 | offsetof(struct RICUnsuccessfulOutcome__value, present), |
| 357 | sizeof(((struct RICUnsuccessfulOutcome__value *)0)->present), |
| 358 | asn_MAP_value_tag2el_4, |
| 359 | 9, /* Count of tags in the map */ |
| 360 | 0, 0, |
| 361 | -1 /* Extensions start */ |
| 362 | }; |
| 363 | static /* Use -fall-defs-global to expose */ |
| 364 | asn_TYPE_descriptor_t asn_DEF_value_4 = { |
| 365 | "value", |
| 366 | "value", |
| 367 | &asn_OP_OPEN_TYPE, |
| 368 | 0, /* No effective tags (pointer) */ |
| 369 | 0, /* No effective tags (count) */ |
| 370 | 0, /* No tags (pointer) */ |
| 371 | 0, /* No tags (count) */ |
| 372 | { 0, 0, OPEN_TYPE_constraint }, |
| 373 | asn_MBR_value_4, |
| 374 | 9, /* Elements count */ |
| 375 | &asn_SPC_value_specs_4 /* Additional specs */ |
| 376 | }; |
| 377 | |
| 378 | asn_TYPE_member_t asn_MBR_RICUnsuccessfulOutcome_1[] = { |
| 379 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome, procedureCode), |
| 380 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 381 | -1, /* IMPLICIT tag at current level */ |
| 382 | &asn_DEF_ProcedureCode, |
| 383 | 0, |
| 384 | { 0, &asn_PER_memb_procedureCode_constr_2, memb_procedureCode_constraint_1 }, |
| 385 | 0, 0, /* No default value */ |
| 386 | "procedureCode" |
| 387 | }, |
| 388 | { ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome, criticality), |
| 389 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 390 | -1, /* IMPLICIT tag at current level */ |
| 391 | &asn_DEF_Criticality, |
| 392 | select_RICUnsuccessfulOutcome_criticality_type, |
| 393 | { 0, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 }, |
| 394 | 0, 0, /* No default value */ |
| 395 | "criticality" |
| 396 | }, |
| 397 | { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICUnsuccessfulOutcome, value), |
| 398 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 399 | +1, /* EXPLICIT tag at current level */ |
| 400 | &asn_DEF_value_4, |
| 401 | select_RICUnsuccessfulOutcome_value_type, |
| 402 | { 0, &asn_PER_memb_value_constr_4, memb_value_constraint_1 }, |
| 403 | 0, 0, /* No default value */ |
| 404 | "value" |
| 405 | }, |
| 406 | }; |
| 407 | static const ber_tlv_tag_t asn_DEF_RICUnsuccessfulOutcome_tags_1[] = { |
| 408 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 409 | }; |
| 410 | static const asn_TYPE_tag2member_t asn_MAP_RICUnsuccessfulOutcome_tag2el_1[] = { |
| 411 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */ |
| 412 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ |
| 413 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ |
| 414 | }; |
| 415 | asn_SEQUENCE_specifics_t asn_SPC_RICUnsuccessfulOutcome_specs_1 = { |
| 416 | sizeof(struct RICUnsuccessfulOutcome), |
| 417 | offsetof(struct RICUnsuccessfulOutcome, _asn_ctx), |
| 418 | asn_MAP_RICUnsuccessfulOutcome_tag2el_1, |
| 419 | 3, /* Count of tags in the map */ |
| 420 | 0, 0, 0, /* Optional elements (not needed) */ |
| 421 | -1, /* First extension addition */ |
| 422 | }; |
| 423 | asn_TYPE_descriptor_t asn_DEF_RICUnsuccessfulOutcome = { |
| 424 | "RICUnsuccessfulOutcome", |
| 425 | "RICUnsuccessfulOutcome", |
| 426 | &asn_OP_SEQUENCE, |
| 427 | asn_DEF_RICUnsuccessfulOutcome_tags_1, |
| 428 | sizeof(asn_DEF_RICUnsuccessfulOutcome_tags_1) |
| 429 | /sizeof(asn_DEF_RICUnsuccessfulOutcome_tags_1[0]), /* 1 */ |
| 430 | asn_DEF_RICUnsuccessfulOutcome_tags_1, /* Same as above */ |
| 431 | sizeof(asn_DEF_RICUnsuccessfulOutcome_tags_1) |
| 432 | /sizeof(asn_DEF_RICUnsuccessfulOutcome_tags_1[0]), /* 1 */ |
| 433 | { 0, 0, SEQUENCE_constraint }, |
| 434 | asn_MBR_RICUnsuccessfulOutcome_1, |
| 435 | 3, /* Elements count */ |
| 436 | &asn_SPC_RICUnsuccessfulOutcome_specs_1 /* Additional specs */ |
| 437 | }; |
| 438 | |