SVC address support for rmr stubs.
[ric-plt/submgr.git] / 3rdparty / libe2ap / ServedCells.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6  */
7
8 #include "ServedCells.h"
9
10 #include "Neighbour-Information.h"
11 #include "ProtocolExtensionContainer.h"
12 static asn_per_constraints_t asn_PER_type_ServedCells_constr_1 CC_NOTUSED = {
13         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
14         { APC_CONSTRAINED,       8,  8,  1,  256 }      /* (SIZE(1..256)) */,
15         0, 0    /* No PER value map */
16 };
17 static asn_TYPE_member_t asn_MBR_Member_2[] = {
18         { ATF_NOFLAGS, 0, offsetof(struct ServedCells__Member, servedCellInfo),
19                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20                 -1,     /* IMPLICIT tag at current level */
21                 &asn_DEF_ServedCell_Information,
22                 0,
23                 { 0, 0, 0 },
24                 0, 0, /* No default value */
25                 "servedCellInfo"
26                 },
27         { ATF_POINTER, 2, offsetof(struct ServedCells__Member, neighbour_Info),
28                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
29                 -1,     /* IMPLICIT tag at current level */
30                 &asn_DEF_Neighbour_Information,
31                 0,
32                 { 0, 0, 0 },
33                 0, 0, /* No default value */
34                 "neighbour-Info"
35                 },
36         { ATF_POINTER, 1, offsetof(struct ServedCells__Member, iE_Extensions),
37                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
38                 -1,     /* IMPLICIT tag at current level */
39                 &asn_DEF_ProtocolExtensionContainer_8858P64,
40                 0,
41                 { 0, 0, 0 },
42                 0, 0, /* No default value */
43                 "iE-Extensions"
44                 },
45 };
46 static const int asn_MAP_Member_oms_2[] = { 1, 2 };
47 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
48         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
49 };
50 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
51     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* servedCellInfo */
52     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* neighbour-Info */
53     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
54 };
55 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
56         sizeof(struct ServedCells__Member),
57         offsetof(struct ServedCells__Member, _asn_ctx),
58         asn_MAP_Member_tag2el_2,
59         3,      /* Count of tags in the map */
60         asn_MAP_Member_oms_2,   /* Optional members */
61         2, 0,   /* Root/Additions */
62         3,      /* First extension addition */
63 };
64 static /* Use -fall-defs-global to expose */
65 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
66         "SEQUENCE",
67         "SEQUENCE",
68         &asn_OP_SEQUENCE,
69         asn_DEF_Member_tags_2,
70         sizeof(asn_DEF_Member_tags_2)
71                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
72         asn_DEF_Member_tags_2,  /* Same as above */
73         sizeof(asn_DEF_Member_tags_2)
74                 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
75         { 0, 0, SEQUENCE_constraint },
76         asn_MBR_Member_2,
77         3,      /* Elements count */
78         &asn_SPC_Member_specs_2 /* Additional specs */
79 };
80
81 static asn_TYPE_member_t asn_MBR_ServedCells_1[] = {
82         { ATF_POINTER, 0, 0,
83                 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
84                 0,
85                 &asn_DEF_Member_2,
86                 0,
87                 { 0, 0, 0 },
88                 0, 0, /* No default value */
89                 ""
90                 },
91 };
92 static const ber_tlv_tag_t asn_DEF_ServedCells_tags_1[] = {
93         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
94 };
95 static asn_SET_OF_specifics_t asn_SPC_ServedCells_specs_1 = {
96         sizeof(struct ServedCells),
97         offsetof(struct ServedCells, _asn_ctx),
98         0,      /* XER encoding is XMLDelimitedItemList */
99 };
100 asn_TYPE_descriptor_t asn_DEF_ServedCells = {
101         "ServedCells",
102         "ServedCells",
103         &asn_OP_SEQUENCE_OF,
104         asn_DEF_ServedCells_tags_1,
105         sizeof(asn_DEF_ServedCells_tags_1)
106                 /sizeof(asn_DEF_ServedCells_tags_1[0]), /* 1 */
107         asn_DEF_ServedCells_tags_1,     /* Same as above */
108         sizeof(asn_DEF_ServedCells_tags_1)
109                 /sizeof(asn_DEF_ServedCells_tags_1[0]), /* 1 */
110         { 0, &asn_PER_type_ServedCells_constr_1, SEQUENCE_OF_constraint },
111         asn_MBR_ServedCells_1,
112         1,      /* Single element */
113         &asn_SPC_ServedCells_specs_1    /* Additional specs */
114 };
115