2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "X2AP-15-4-0.asn1"
5 * `asn1c -D ./asn1_n1 -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
8 #include "CoMPInformationItem.h"
10 #include "ProtocolExtensionContainer.h"
11 static asn_oer_constraints_t asn_OER_type_CoMPInformationItem_constr_1 CC_NOTUSED = {
13 -1 /* (SIZE(1..256)) */};
14 asn_per_constraints_t asn_PER_type_CoMPInformationItem_constr_1 CC_NOTUSED = {
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 { APC_CONSTRAINED, 8, 8, 1, 256 } /* (SIZE(1..256)) */,
17 0, 0 /* No PER value map */
19 static asn_TYPE_member_t asn_MBR_Member_2[] = {
20 { ATF_NOFLAGS, 0, offsetof(struct CoMPInformationItem__Member, coMPHypothesisSet),
21 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_CoMPHypothesisSet,
26 0, 0, /* No default value */
29 { ATF_NOFLAGS, 0, offsetof(struct CoMPInformationItem__Member, benefitMetric),
30 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_BenefitMetric,
35 0, 0, /* No default value */
38 { ATF_POINTER, 1, offsetof(struct CoMPInformationItem__Member, iE_Extensions),
39 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_ProtocolExtensionContainer_7683P119,
44 0, 0, /* No default value */
48 static const int asn_MAP_Member_oms_2[] = { 2 };
49 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
50 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
52 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
53 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* coMPHypothesisSet */
54 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* benefitMetric */
55 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
57 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
58 sizeof(struct CoMPInformationItem__Member),
59 offsetof(struct CoMPInformationItem__Member, _asn_ctx),
60 asn_MAP_Member_tag2el_2,
61 3, /* Count of tags in the map */
62 asn_MAP_Member_oms_2, /* Optional members */
63 1, 0, /* Root/Additions */
64 3, /* First extension addition */
66 static /* Use -fall-defs-global to expose */
67 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
71 asn_DEF_Member_tags_2,
72 sizeof(asn_DEF_Member_tags_2)
73 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
74 asn_DEF_Member_tags_2, /* Same as above */
75 sizeof(asn_DEF_Member_tags_2)
76 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
77 { 0, 0, SEQUENCE_constraint },
79 3, /* Elements count */
80 &asn_SPC_Member_specs_2 /* Additional specs */
83 asn_TYPE_member_t asn_MBR_CoMPInformationItem_1[] = {
85 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
90 0, 0, /* No default value */
94 static const ber_tlv_tag_t asn_DEF_CoMPInformationItem_tags_1[] = {
95 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
97 asn_SET_OF_specifics_t asn_SPC_CoMPInformationItem_specs_1 = {
98 sizeof(struct CoMPInformationItem),
99 offsetof(struct CoMPInformationItem, _asn_ctx),
100 0, /* XER encoding is XMLDelimitedItemList */
102 asn_TYPE_descriptor_t asn_DEF_CoMPInformationItem = {
103 "CoMPInformationItem",
104 "CoMPInformationItem",
106 asn_DEF_CoMPInformationItem_tags_1,
107 sizeof(asn_DEF_CoMPInformationItem_tags_1)
108 /sizeof(asn_DEF_CoMPInformationItem_tags_1[0]), /* 1 */
109 asn_DEF_CoMPInformationItem_tags_1, /* Same as above */
110 sizeof(asn_DEF_CoMPInformationItem_tags_1)
111 /sizeof(asn_DEF_CoMPInformationItem_tags_1[0]), /* 1 */
112 { &asn_OER_type_CoMPInformationItem_constr_1, &asn_PER_type_CoMPInformationItem_constr_1, SEQUENCE_OF_constraint },
113 asn_MBR_CoMPInformationItem_1,
114 1, /* Single element */
115 &asn_SPC_CoMPInformationItem_specs_1 /* Additional specs */