Upstreaming version 0.10.7
[ric-plt/submgr.git] / e2ap / lib / Neighbour-Information.c
1 /*
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`
6  */
7
8 #include "Neighbour-Information.h"
9
10 #include "ProtocolExtensionContainer.h"
11 static asn_oer_constraints_t asn_OER_type_Neighbour_Information_constr_1 CC_NOTUSED = {
12         { 0, 0 },
13         -1      /* (SIZE(0..512)) */};
14 asn_per_constraints_t asn_PER_type_Neighbour_Information_constr_1 CC_NOTUSED = {
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         { APC_CONSTRAINED,       10,  10,  0,  512 }    /* (SIZE(0..512)) */,
17         0, 0    /* No PER value map */
18 };
19 static asn_TYPE_member_t asn_MBR_Member_2[] = {
20         { ATF_NOFLAGS, 0, offsetof(struct Neighbour_Information__Member, eCGI),
21                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22                 -1,     /* IMPLICIT tag at current level */
23                 &asn_DEF_ECGI,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "eCGI"
28                 },
29         { ATF_NOFLAGS, 0, offsetof(struct Neighbour_Information__Member, pCI),
30                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31                 -1,     /* IMPLICIT tag at current level */
32                 &asn_DEF_PCI,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "pCI"
37                 },
38         { ATF_NOFLAGS, 0, offsetof(struct Neighbour_Information__Member, eARFCN),
39                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_EARFCN,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "eARFCN"
46                 },
47         { ATF_POINTER, 1, offsetof(struct Neighbour_Information__Member, iE_Extensions),
48                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
49                 -1,     /* IMPLICIT tag at current level */
50                 &asn_DEF_ProtocolExtensionContainer_7683P172,
51                 0,
52                 { 0, 0, 0 },
53                 0, 0, /* No default value */
54                 "iE-Extensions"
55                 },
56 };
57 static const int asn_MAP_Member_oms_2[] = { 3 };
58 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
59         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
60 };
61 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
62     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eCGI */
63     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pCI */
64     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* eARFCN */
65     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
66 };
67 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
68         sizeof(struct Neighbour_Information__Member),
69         offsetof(struct Neighbour_Information__Member, _asn_ctx),
70         asn_MAP_Member_tag2el_2,
71         4,      /* Count of tags in the map */
72         asn_MAP_Member_oms_2,   /* Optional members */
73         1, 0,   /* Root/Additions */
74         4,      /* First extension addition */
75 };
76 static /* Use -fall-defs-global to expose */
77 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
78         "SEQUENCE",
79         "SEQUENCE",
80         &asn_OP_SEQUENCE,
81         asn_DEF_Member_tags_2,
82         sizeof(asn_DEF_Member_tags_2)
83                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
84         asn_DEF_Member_tags_2,  /* Same as above */
85         sizeof(asn_DEF_Member_tags_2)
86                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
87         { 0, 0, SEQUENCE_constraint },
88         asn_MBR_Member_2,
89         4,      /* Elements count */
90         &asn_SPC_Member_specs_2 /* Additional specs */
91 };
92
93 asn_TYPE_member_t asn_MBR_Neighbour_Information_1[] = {
94         { ATF_POINTER, 0, 0,
95                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
96                 0,
97                 &asn_DEF_Member_2,
98                 0,
99                 { 0, 0, 0 },
100                 0, 0, /* No default value */
101                 ""
102                 },
103 };
104 static const ber_tlv_tag_t asn_DEF_Neighbour_Information_tags_1[] = {
105         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
106 };
107 asn_SET_OF_specifics_t asn_SPC_Neighbour_Information_specs_1 = {
108         sizeof(struct Neighbour_Information),
109         offsetof(struct Neighbour_Information, _asn_ctx),
110         0,      /* XER encoding is XMLDelimitedItemList */
111 };
112 asn_TYPE_descriptor_t asn_DEF_Neighbour_Information = {
113         "Neighbour-Information",
114         "Neighbour-Information",
115         &asn_OP_SEQUENCE_OF,
116         asn_DEF_Neighbour_Information_tags_1,
117         sizeof(asn_DEF_Neighbour_Information_tags_1)
118                 /sizeof(asn_DEF_Neighbour_Information_tags_1[0]), /* 1 */
119         asn_DEF_Neighbour_Information_tags_1,   /* Same as above */
120         sizeof(asn_DEF_Neighbour_Information_tags_1)
121                 /sizeof(asn_DEF_Neighbour_Information_tags_1[0]), /* 1 */
122         { &asn_OER_type_Neighbour_Information_constr_1, &asn_PER_type_Neighbour_Information_constr_1, SEQUENCE_OF_constraint },
123         asn_MBR_Neighbour_Information_1,
124         1,      /* Single element */
125         &asn_SPC_Neighbour_Information_specs_1  /* Additional specs */
126 };
127