rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 3 | * From ASN.1 module "E2SM-RC-IEs" |
| 4 | * found in "e2sm-rc-nov2021.asn" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .` |
| 6 | */ |
| 7 | |
| 8 | #include "E2SM-RC-ControlHeader-Format1.h" |
| 9 | |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 10 | /* |
| 11 | * This type is implemented using NativeEnumerated, |
| 12 | * so here we adjust the DEF accordingly. |
| 13 | */ |
| 14 | static asn_oer_constraints_t asn_OER_type_ric_ControlDecision_constr_5 CC_NOTUSED = { |
| 15 | { 0, 0 }, |
| 16 | -1}; |
| 17 | static asn_per_constraints_t asn_PER_type_ric_ControlDecision_constr_5 CC_NOTUSED = { |
| 18 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
| 19 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 20 | 0, 0 /* No PER value map */ |
| 21 | }; |
| 22 | static const asn_INTEGER_enum_map_t asn_MAP_ric_ControlDecision_value2enum_5[] = { |
| 23 | { 0, 6, "accept" }, |
| 24 | { 1, 6, "reject" } |
| 25 | /* This list is extensible */ |
| 26 | }; |
| 27 | static const unsigned int asn_MAP_ric_ControlDecision_enum2value_5[] = { |
| 28 | 0, /* accept(0) */ |
| 29 | 1 /* reject(1) */ |
| 30 | /* This list is extensible */ |
| 31 | }; |
| 32 | static const asn_INTEGER_specifics_t asn_SPC_ric_ControlDecision_specs_5 = { |
| 33 | asn_MAP_ric_ControlDecision_value2enum_5, /* "tag" => N; sorted by tag */ |
| 34 | asn_MAP_ric_ControlDecision_enum2value_5, /* N => "tag"; sorted by N */ |
| 35 | 2, /* Number of elements in the maps */ |
| 36 | 3, /* Extensions before this member */ |
| 37 | 1, /* Strict enumeration */ |
| 38 | 0, /* Native long size */ |
| 39 | 0 |
| 40 | }; |
| 41 | static const ber_tlv_tag_t asn_DEF_ric_ControlDecision_tags_5[] = { |
| 42 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 43 | (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) |
| 44 | }; |
| 45 | static /* Use -fall-defs-global to expose */ |
| 46 | asn_TYPE_descriptor_t asn_DEF_ric_ControlDecision_5 = { |
| 47 | "ric-ControlDecision", |
| 48 | "ric-ControlDecision", |
| 49 | &asn_OP_NativeEnumerated, |
| 50 | asn_DEF_ric_ControlDecision_tags_5, |
| 51 | sizeof(asn_DEF_ric_ControlDecision_tags_5) |
| 52 | /sizeof(asn_DEF_ric_ControlDecision_tags_5[0]) - 1, /* 1 */ |
| 53 | asn_DEF_ric_ControlDecision_tags_5, /* Same as above */ |
| 54 | sizeof(asn_DEF_ric_ControlDecision_tags_5) |
| 55 | /sizeof(asn_DEF_ric_ControlDecision_tags_5[0]), /* 2 */ |
| 56 | { &asn_OER_type_ric_ControlDecision_constr_5, &asn_PER_type_ric_ControlDecision_constr_5, NativeEnumerated_constraint }, |
| 57 | 0, 0, /* Defined elsewhere */ |
| 58 | &asn_SPC_ric_ControlDecision_specs_5 /* Additional specs */ |
| 59 | }; |
| 60 | |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 61 | asn_TYPE_member_t asn_MBR_E2SM_RC_ControlHeader_Format1_1[] = { |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 62 | { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader_Format1, ueID), |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 63 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 64 | +1, /* EXPLICIT tag at current level */ |
| 65 | &asn_DEF_UEID, |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 66 | 0, |
| 67 | { 0, 0, 0 }, |
| 68 | 0, 0, /* No default value */ |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 69 | "ueID" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 70 | }, |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 71 | { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader_Format1, ric_Style_Type), |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 72 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 73 | -1, /* IMPLICIT tag at current level */ |
| 74 | &asn_DEF_RIC_Style_Type, |
| 75 | 0, |
| 76 | { 0, 0, 0 }, |
| 77 | 0, 0, /* No default value */ |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 78 | "ric-Style-Type" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 79 | }, |
| 80 | { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader_Format1, ric_ControlAction_ID), |
| 81 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 82 | -1, /* IMPLICIT tag at current level */ |
| 83 | &asn_DEF_RIC_ControlAction_ID, |
| 84 | 0, |
| 85 | { 0, 0, 0 }, |
| 86 | 0, 0, /* No default value */ |
| 87 | "ric-ControlAction-ID" |
| 88 | }, |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 89 | { ATF_POINTER, 1, offsetof(struct E2SM_RC_ControlHeader_Format1, ric_ControlDecision), |
| 90 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 91 | -1, /* IMPLICIT tag at current level */ |
| 92 | &asn_DEF_ric_ControlDecision_5, |
| 93 | 0, |
| 94 | { 0, 0, 0 }, |
| 95 | 0, 0, /* No default value */ |
| 96 | "ric-ControlDecision" |
| 97 | }, |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 98 | }; |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 99 | static const int asn_MAP_E2SM_RC_ControlHeader_Format1_oms_1[] = { 3 }; |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 100 | static const ber_tlv_tag_t asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1[] = { |
| 101 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 102 | }; |
| 103 | static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_ControlHeader_Format1_tag2el_1[] = { |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 104 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ueID */ |
| 105 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ric-Style-Type */ |
| 106 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ric-ControlAction-ID */ |
| 107 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ric-ControlDecision */ |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 108 | }; |
| 109 | asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_ControlHeader_Format1_specs_1 = { |
| 110 | sizeof(struct E2SM_RC_ControlHeader_Format1), |
| 111 | offsetof(struct E2SM_RC_ControlHeader_Format1, _asn_ctx), |
| 112 | asn_MAP_E2SM_RC_ControlHeader_Format1_tag2el_1, |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 113 | 4, /* Count of tags in the map */ |
| 114 | asn_MAP_E2SM_RC_ControlHeader_Format1_oms_1, /* Optional members */ |
| 115 | 1, 0, /* Root/Additions */ |
| 116 | 4, /* First extension addition */ |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 117 | }; |
| 118 | asn_TYPE_descriptor_t asn_DEF_E2SM_RC_ControlHeader_Format1 = { |
| 119 | "E2SM-RC-ControlHeader-Format1", |
| 120 | "E2SM-RC-ControlHeader-Format1", |
| 121 | &asn_OP_SEQUENCE, |
| 122 | asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1, |
| 123 | sizeof(asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1) |
| 124 | /sizeof(asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1[0]), /* 1 */ |
| 125 | asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1, /* Same as above */ |
| 126 | sizeof(asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1) |
| 127 | /sizeof(asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1[0]), /* 1 */ |
| 128 | { 0, 0, SEQUENCE_constraint }, |
| 129 | asn_MBR_E2SM_RC_ControlHeader_Format1_1, |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 130 | 4, /* Elements count */ |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 131 | &asn_SPC_E2SM_RC_ControlHeader_Format1_specs_1 /* Additional specs */ |
| 132 | }; |
| 133 | |