2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-RC-IEs"
4 * found in "e2sm-rc-2.0.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
8 #include "E2SM-RC-ControlHeader-Format1.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_ric_ControlDecision_constr_5 CC_NOTUSED = {
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 */
22 static const asn_INTEGER_enum_map_t asn_MAP_ric_ControlDecision_value2enum_5[] = {
25 /* This list is extensible */
27 static const unsigned int asn_MAP_ric_ControlDecision_enum2value_5[] = {
30 /* This list is extensible */
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 */
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))
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 */
61 asn_TYPE_member_t asn_MBR_E2SM_RC_ControlHeader_Format1_1[] = {
62 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader_Format1, ueID),
63 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
64 +1, /* EXPLICIT tag at current level */
68 0, 0, /* No default value */
71 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader_Format1, ric_Style_Type),
72 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
73 -1, /* IMPLICIT tag at current level */
74 &asn_DEF_RIC_Style_Type,
77 0, 0, /* No default value */
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,
86 0, 0, /* No default value */
87 "ric-ControlAction-ID"
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,
95 0, 0, /* No default value */
99 static const int asn_MAP_E2SM_RC_ControlHeader_Format1_oms_1[] = { 3 };
100 static const ber_tlv_tag_t asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1[] = {
101 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
103 static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_ControlHeader_Format1_tag2el_1[] = {
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 */
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,
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 */
118 asn_TYPE_descriptor_t asn_DEF_E2SM_RC_ControlHeader_Format1 = {
119 "E2SM-RC-ControlHeader-Format1",
120 "E2SM-RC-ControlHeader-Format1",
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,
130 4, /* Elements count */
131 &asn_SPC_E2SM_RC_ControlHeader_Format1_specs_1 /* Additional specs */