Harry Tran | 1f1098a | 2020-03-10 10:40:10 -0400 | [diff] [blame] | 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 "SuccessfulOutcome.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_SuccessfulOutcome_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 SuccessfulOutcome, 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_SuccessfulOutcome_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 = 1; /* &SuccessfulOutcome */ |
| 222 | size_t row, presence_index = 0; |
| 223 | const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct SuccessfulOutcome, 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 SuccessfulOutcome__value, choice.RICsubscriptionResponse), |
| 279 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 280 | 0, |
| 281 | &asn_DEF_RICsubscriptionResponse, |
| 282 | 0, |
| 283 | { 0, 0, 0 }, |
| 284 | 0, 0, /* No default value */ |
| 285 | "RICsubscriptionResponse" |
| 286 | }, |
| 287 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICsubscriptionDeleteResponse), |
| 288 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 289 | 0, |
| 290 | &asn_DEF_RICsubscriptionDeleteResponse, |
| 291 | 0, |
| 292 | { 0, 0, 0 }, |
| 293 | 0, 0, /* No default value */ |
| 294 | "RICsubscriptionDeleteResponse" |
| 295 | }, |
| 296 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICserviceUpdateAcknowledge), |
| 297 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 298 | 0, |
| 299 | &asn_DEF_RICserviceUpdateAcknowledge, |
| 300 | 0, |
| 301 | { 0, 0, 0 }, |
| 302 | 0, 0, /* No default value */ |
| 303 | "RICserviceUpdateAcknowledge" |
| 304 | }, |
| 305 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICcontrolAcknowledge), |
| 306 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 307 | 0, |
| 308 | &asn_DEF_RICcontrolAcknowledge, |
| 309 | 0, |
| 310 | { 0, 0, 0 }, |
| 311 | 0, 0, /* No default value */ |
| 312 | "RICcontrolAcknowledge" |
| 313 | }, |
| 314 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.X2SetupResponse), |
| 315 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 316 | 0, |
| 317 | &asn_DEF_X2SetupResponse, |
| 318 | 0, |
| 319 | { 0, 0, 0 }, |
| 320 | 0, 0, /* No default value */ |
| 321 | "X2SetupResponse" |
| 322 | }, |
| 323 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.ENDCX2SetupResponse), |
| 324 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 325 | 0, |
| 326 | &asn_DEF_ENDCX2SetupResponse, |
| 327 | 0, |
| 328 | { 0, 0, 0 }, |
| 329 | 0, 0, /* No default value */ |
| 330 | "ENDCX2SetupResponse" |
| 331 | }, |
| 332 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.ResourceStatusResponse), |
| 333 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 334 | 0, |
| 335 | &asn_DEF_ResourceStatusResponse, |
| 336 | 0, |
| 337 | { 0, 0, 0 }, |
| 338 | 0, 0, /* No default value */ |
| 339 | "ResourceStatusResponse" |
| 340 | }, |
| 341 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.ENBConfigurationUpdateAcknowledge), |
| 342 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 343 | 0, |
| 344 | &asn_DEF_ENBConfigurationUpdateAcknowledge, |
| 345 | 0, |
| 346 | { 0, 0, 0 }, |
| 347 | 0, 0, /* No default value */ |
| 348 | "ENBConfigurationUpdateAcknowledge" |
| 349 | }, |
| 350 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.ENDCConfigurationUpdateAcknowledge), |
| 351 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 352 | 0, |
| 353 | &asn_DEF_ENDCConfigurationUpdateAcknowledge, |
| 354 | 0, |
| 355 | { 0, 0, 0 }, |
| 356 | 0, 0, /* No default value */ |
| 357 | "ENDCConfigurationUpdateAcknowledge" |
| 358 | }, |
| 359 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.ResetResponse), |
| 360 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 361 | 0, |
| 362 | &asn_DEF_ResetResponse, |
| 363 | 0, |
| 364 | { 0, 0, 0 }, |
| 365 | 0, 0, /* No default value */ |
| 366 | "ResetResponse" |
| 367 | }, |
| 368 | }; |
| 369 | static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { |
| 370 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 9 }, /* RICsubscriptionResponse */ |
| 371 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 8 }, /* RICsubscriptionDeleteResponse */ |
| 372 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 7 }, /* RICserviceUpdateAcknowledge */ |
| 373 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 6 }, /* RICcontrolAcknowledge */ |
| 374 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 5 }, /* X2SetupResponse */ |
| 375 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 4 }, /* ENDCX2SetupResponse */ |
| 376 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 3 }, /* ResourceStatusResponse */ |
| 377 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 2 }, /* ENBConfigurationUpdateAcknowledge */ |
| 378 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 1 }, /* ENDCConfigurationUpdateAcknowledge */ |
| 379 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 0 } /* ResetResponse */ |
| 380 | }; |
| 381 | static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { |
| 382 | sizeof(struct SuccessfulOutcome__value), |
| 383 | offsetof(struct SuccessfulOutcome__value, _asn_ctx), |
| 384 | offsetof(struct SuccessfulOutcome__value, present), |
| 385 | sizeof(((struct SuccessfulOutcome__value *)0)->present), |
| 386 | asn_MAP_value_tag2el_4, |
| 387 | 10, /* Count of tags in the map */ |
| 388 | 0, 0, |
| 389 | -1 /* Extensions start */ |
| 390 | }; |
| 391 | static /* Use -fall-defs-global to expose */ |
| 392 | asn_TYPE_descriptor_t asn_DEF_value_4 = { |
| 393 | "value", |
| 394 | "value", |
| 395 | &asn_OP_OPEN_TYPE, |
| 396 | 0, /* No effective tags (pointer) */ |
| 397 | 0, /* No effective tags (count) */ |
| 398 | 0, /* No tags (pointer) */ |
| 399 | 0, /* No tags (count) */ |
| 400 | { 0, 0, OPEN_TYPE_constraint }, |
| 401 | asn_MBR_value_4, |
| 402 | 10, /* Elements count */ |
| 403 | &asn_SPC_value_specs_4 /* Additional specs */ |
| 404 | }; |
| 405 | |
| 406 | asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[] = { |
| 407 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, procedureCode), |
| 408 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 409 | -1, /* IMPLICIT tag at current level */ |
| 410 | &asn_DEF_ProcedureCode, |
| 411 | 0, |
| 412 | { 0, &asn_PER_memb_procedureCode_constr_2, memb_procedureCode_constraint_1 }, |
| 413 | 0, 0, /* No default value */ |
| 414 | "procedureCode" |
| 415 | }, |
| 416 | { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, criticality), |
| 417 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 418 | -1, /* IMPLICIT tag at current level */ |
| 419 | &asn_DEF_Criticality, |
| 420 | select_SuccessfulOutcome_criticality_type, |
| 421 | { 0, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 }, |
| 422 | 0, 0, /* No default value */ |
| 423 | "criticality" |
| 424 | }, |
| 425 | { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, value), |
| 426 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 427 | +1, /* EXPLICIT tag at current level */ |
| 428 | &asn_DEF_value_4, |
| 429 | select_SuccessfulOutcome_value_type, |
| 430 | { 0, &asn_PER_memb_value_constr_4, memb_value_constraint_1 }, |
| 431 | 0, 0, /* No default value */ |
| 432 | "value" |
| 433 | }, |
| 434 | }; |
| 435 | static const ber_tlv_tag_t asn_DEF_SuccessfulOutcome_tags_1[] = { |
| 436 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 437 | }; |
| 438 | static const asn_TYPE_tag2member_t asn_MAP_SuccessfulOutcome_tag2el_1[] = { |
| 439 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */ |
| 440 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ |
| 441 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ |
| 442 | }; |
| 443 | asn_SEQUENCE_specifics_t asn_SPC_SuccessfulOutcome_specs_1 = { |
| 444 | sizeof(struct SuccessfulOutcome), |
| 445 | offsetof(struct SuccessfulOutcome, _asn_ctx), |
| 446 | asn_MAP_SuccessfulOutcome_tag2el_1, |
| 447 | 3, /* Count of tags in the map */ |
| 448 | 0, 0, 0, /* Optional elements (not needed) */ |
| 449 | -1, /* First extension addition */ |
| 450 | }; |
| 451 | asn_TYPE_descriptor_t asn_DEF_SuccessfulOutcome = { |
| 452 | "SuccessfulOutcome", |
| 453 | "SuccessfulOutcome", |
| 454 | &asn_OP_SEQUENCE, |
| 455 | asn_DEF_SuccessfulOutcome_tags_1, |
| 456 | sizeof(asn_DEF_SuccessfulOutcome_tags_1) |
| 457 | /sizeof(asn_DEF_SuccessfulOutcome_tags_1[0]), /* 1 */ |
| 458 | asn_DEF_SuccessfulOutcome_tags_1, /* Same as above */ |
| 459 | sizeof(asn_DEF_SuccessfulOutcome_tags_1) |
| 460 | /sizeof(asn_DEF_SuccessfulOutcome_tags_1[0]), /* 1 */ |
| 461 | { 0, 0, SEQUENCE_constraint }, |
| 462 | asn_MBR_SuccessfulOutcome_1, |
| 463 | 3, /* Elements count */ |
| 464 | &asn_SPC_SuccessfulOutcome_specs_1 /* Additional specs */ |
| 465 | }; |
| 466 | |