naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "E2AP-IEs" |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 4 | * found in "e2ap-v2.asn" |
| 5 | * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example -no-gen-OER` |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 6 | */ |
| 7 | |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 8 | #include "E2nodeComponentConfigurationAck.h" |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 9 | |
| 10 | #include "Cause.h" |
| 11 | /* |
| 12 | * This type is implemented using NativeEnumerated, |
| 13 | * so here we adjust the DEF accordingly. |
| 14 | */ |
| 15 | static asn_per_constraints_t asn_PER_type_updateOutcome_constr_2 CC_NOTUSED = { |
| 16 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
| 17 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 18 | 0, 0 /* No PER value map */ |
| 19 | }; |
| 20 | static const asn_INTEGER_enum_map_t asn_MAP_updateOutcome_value2enum_2[] = { |
| 21 | { 0, 7, "success" }, |
| 22 | { 1, 7, "failure" } |
| 23 | /* This list is extensible */ |
| 24 | }; |
| 25 | static const unsigned int asn_MAP_updateOutcome_enum2value_2[] = { |
| 26 | 1, /* failure(1) */ |
| 27 | 0 /* success(0) */ |
| 28 | /* This list is extensible */ |
| 29 | }; |
| 30 | static const asn_INTEGER_specifics_t asn_SPC_updateOutcome_specs_2 = { |
| 31 | asn_MAP_updateOutcome_value2enum_2, /* "tag" => N; sorted by tag */ |
| 32 | asn_MAP_updateOutcome_enum2value_2, /* N => "tag"; sorted by N */ |
| 33 | 2, /* Number of elements in the maps */ |
| 34 | 3, /* Extensions before this member */ |
| 35 | 1, /* Strict enumeration */ |
| 36 | 0, /* Native long size */ |
| 37 | 0 |
| 38 | }; |
| 39 | static const ber_tlv_tag_t asn_DEF_updateOutcome_tags_2[] = { |
| 40 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 41 | (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) |
| 42 | }; |
| 43 | static /* Use -fall-defs-global to expose */ |
| 44 | asn_TYPE_descriptor_t asn_DEF_updateOutcome_2 = { |
| 45 | "updateOutcome", |
| 46 | "updateOutcome", |
| 47 | &asn_OP_NativeEnumerated, |
| 48 | asn_DEF_updateOutcome_tags_2, |
| 49 | sizeof(asn_DEF_updateOutcome_tags_2) |
| 50 | /sizeof(asn_DEF_updateOutcome_tags_2[0]) - 1, /* 1 */ |
| 51 | asn_DEF_updateOutcome_tags_2, /* Same as above */ |
| 52 | sizeof(asn_DEF_updateOutcome_tags_2) |
| 53 | /sizeof(asn_DEF_updateOutcome_tags_2[0]), /* 2 */ |
| 54 | { 0, &asn_PER_type_updateOutcome_constr_2, NativeEnumerated_constraint }, |
| 55 | 0, 0, /* Defined elsewhere */ |
| 56 | &asn_SPC_updateOutcome_specs_2 /* Additional specs */ |
| 57 | }; |
| 58 | |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 59 | asn_TYPE_member_t asn_MBR_E2nodeComponentConfigurationAck_1[] = { |
| 60 | { ATF_NOFLAGS, 0, offsetof(struct E2nodeComponentConfigurationAck, updateOutcome), |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 61 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 62 | -1, /* IMPLICIT tag at current level */ |
| 63 | &asn_DEF_updateOutcome_2, |
| 64 | 0, |
| 65 | { 0, 0, 0 }, |
| 66 | 0, 0, /* No default value */ |
| 67 | "updateOutcome" |
| 68 | }, |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 69 | { ATF_POINTER, 1, offsetof(struct E2nodeComponentConfigurationAck, failureCause), |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 70 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 71 | +1, /* EXPLICIT tag at current level */ |
| 72 | &asn_DEF_Cause, |
| 73 | 0, |
| 74 | { 0, 0, 0 }, |
| 75 | 0, 0, /* No default value */ |
| 76 | "failureCause" |
| 77 | }, |
| 78 | }; |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 79 | static const int asn_MAP_E2nodeComponentConfigurationAck_oms_1[] = { 1 }; |
| 80 | static const ber_tlv_tag_t asn_DEF_E2nodeComponentConfigurationAck_tags_1[] = { |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 81 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 82 | }; |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 83 | static const asn_TYPE_tag2member_t asn_MAP_E2nodeComponentConfigurationAck_tag2el_1[] = { |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 84 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* updateOutcome */ |
| 85 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* failureCause */ |
| 86 | }; |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 87 | asn_SEQUENCE_specifics_t asn_SPC_E2nodeComponentConfigurationAck_specs_1 = { |
| 88 | sizeof(struct E2nodeComponentConfigurationAck), |
| 89 | offsetof(struct E2nodeComponentConfigurationAck, _asn_ctx), |
| 90 | asn_MAP_E2nodeComponentConfigurationAck_tag2el_1, |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 91 | 2, /* Count of tags in the map */ |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 92 | asn_MAP_E2nodeComponentConfigurationAck_oms_1, /* Optional members */ |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 93 | 1, 0, /* Root/Additions */ |
| 94 | 2, /* First extension addition */ |
| 95 | }; |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 96 | asn_TYPE_descriptor_t asn_DEF_E2nodeComponentConfigurationAck = { |
| 97 | "E2nodeComponentConfigurationAck", |
| 98 | "E2nodeComponentConfigurationAck", |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 99 | &asn_OP_SEQUENCE, |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 100 | asn_DEF_E2nodeComponentConfigurationAck_tags_1, |
| 101 | sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1) |
| 102 | /sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1[0]), /* 1 */ |
| 103 | asn_DEF_E2nodeComponentConfigurationAck_tags_1, /* Same as above */ |
| 104 | sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1) |
| 105 | /sizeof(asn_DEF_E2nodeComponentConfigurationAck_tags_1[0]), /* 1 */ |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 106 | { 0, 0, SEQUENCE_constraint }, |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 107 | asn_MBR_E2nodeComponentConfigurationAck_1, |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 108 | 2, /* Elements count */ |
czichy | 2175dd3 | 2022-05-17 15:24:51 +0300 | [diff] [blame] | 109 | &asn_SPC_E2nodeComponentConfigurationAck_specs_1 /* Additional specs */ |
naman.gupta | b908ba4 | 2021-10-25 16:17:52 +0530 | [diff] [blame] | 110 | }; |
| 111 | |