2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
\r
3 * From ASN.1 module "X2AP-PDU-Contents"
\r
4 * found in "../../asn_defs/asn1/x2ap-modified-15-05.asn"
\r
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
\r
8 #include "E-RABs-SubjectToSgNBCounterCheck-Item.h"
\r
10 #include "ProtocolExtensionContainer.h"
\r
12 uL_Count_3_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
\r
13 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
\r
16 ASN__CTFAIL(app_key, td, sptr,
\r
17 "%s: value not given (%s:%d)",
\r
18 td->name, __FILE__, __LINE__);
\r
23 /* Constraint check succeeded */
\r
28 * This type is implemented using NativeInteger,
\r
29 * so here we adjust the DEF accordingly.
\r
32 dL_Count_4_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
\r
33 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
\r
36 ASN__CTFAIL(app_key, td, sptr,
\r
37 "%s: value not given (%s:%d)",
\r
38 td->name, __FILE__, __LINE__);
\r
43 /* Constraint check succeeded */
\r
48 * This type is implemented using NativeInteger,
\r
49 * so here we adjust the DEF accordingly.
\r
52 memb_uL_Count_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
\r
53 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
\r
56 ASN__CTFAIL(app_key, td, sptr,
\r
57 "%s: value not given (%s:%d)",
\r
58 td->name, __FILE__, __LINE__);
\r
63 /* Constraint check succeeded */
\r
68 memb_dL_Count_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
\r
69 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
\r
72 ASN__CTFAIL(app_key, td, sptr,
\r
73 "%s: value not given (%s:%d)",
\r
74 td->name, __FILE__, __LINE__);
\r
79 /* Constraint check succeeded */
\r
83 static asn_per_constraints_t asn_PER_type_uL_Count_constr_3 CC_NOTUSED = {
\r
84 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
\r
85 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
\r
86 0, 0 /* No PER value map */
\r
88 static asn_per_constraints_t asn_PER_type_dL_Count_constr_4 CC_NOTUSED = {
\r
89 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
\r
90 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
\r
91 0, 0 /* No PER value map */
\r
93 static asn_per_constraints_t asn_PER_memb_uL_Count_constr_3 CC_NOTUSED = {
\r
94 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
\r
95 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
\r
96 0, 0 /* No PER value map */
\r
98 static asn_per_constraints_t asn_PER_memb_dL_Count_constr_4 CC_NOTUSED = {
\r
99 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */,
\r
100 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
\r
101 0, 0 /* No PER value map */
\r
103 static const asn_INTEGER_specifics_t asn_SPC_uL_Count_specs_3 = {
\r
105 0, /* Native long size */
\r
106 1 /* Unsigned representation */
\r
108 static const ber_tlv_tag_t asn_DEF_uL_Count_tags_3[] = {
\r
109 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
\r
110 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
\r
112 static /* Use -fall-defs-global to expose */
\r
113 asn_TYPE_descriptor_t asn_DEF_uL_Count_3 = {
\r
116 &asn_OP_NativeInteger,
\r
117 asn_DEF_uL_Count_tags_3,
\r
118 sizeof(asn_DEF_uL_Count_tags_3)
\r
119 /sizeof(asn_DEF_uL_Count_tags_3[0]) - 1, /* 1 */
\r
120 asn_DEF_uL_Count_tags_3, /* Same as above */
\r
121 sizeof(asn_DEF_uL_Count_tags_3)
\r
122 /sizeof(asn_DEF_uL_Count_tags_3[0]), /* 2 */
\r
123 { 0, &asn_PER_type_uL_Count_constr_3, uL_Count_3_constraint },
\r
124 0, 0, /* No members */
\r
125 &asn_SPC_uL_Count_specs_3 /* Additional specs */
\r
128 static const asn_INTEGER_specifics_t asn_SPC_dL_Count_specs_4 = {
\r
130 0, /* Native long size */
\r
131 1 /* Unsigned representation */
\r
133 static const ber_tlv_tag_t asn_DEF_dL_Count_tags_4[] = {
\r
134 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
\r
135 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
\r
137 static /* Use -fall-defs-global to expose */
\r
138 asn_TYPE_descriptor_t asn_DEF_dL_Count_4 = {
\r
141 &asn_OP_NativeInteger,
\r
142 asn_DEF_dL_Count_tags_4,
\r
143 sizeof(asn_DEF_dL_Count_tags_4)
\r
144 /sizeof(asn_DEF_dL_Count_tags_4[0]) - 1, /* 1 */
\r
145 asn_DEF_dL_Count_tags_4, /* Same as above */
\r
146 sizeof(asn_DEF_dL_Count_tags_4)
\r
147 /sizeof(asn_DEF_dL_Count_tags_4[0]), /* 2 */
\r
148 { 0, &asn_PER_type_dL_Count_constr_4, dL_Count_4_constraint },
\r
149 0, 0, /* No members */
\r
150 &asn_SPC_dL_Count_specs_4 /* Additional specs */
\r
153 static asn_TYPE_member_t asn_MBR_E_RABs_SubjectToSgNBCounterCheck_Item_1[] = {
\r
154 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_SubjectToSgNBCounterCheck_Item, e_RAB_ID),
\r
155 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
\r
156 -1, /* IMPLICIT tag at current level */
\r
160 0, 0, /* No default value */
\r
163 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_SubjectToSgNBCounterCheck_Item, uL_Count),
\r
164 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
\r
165 -1, /* IMPLICIT tag at current level */
\r
166 &asn_DEF_uL_Count_3,
\r
168 { 0, &asn_PER_memb_uL_Count_constr_3, memb_uL_Count_constraint_1 },
\r
169 0, 0, /* No default value */
\r
172 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_SubjectToSgNBCounterCheck_Item, dL_Count),
\r
173 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
\r
174 -1, /* IMPLICIT tag at current level */
\r
175 &asn_DEF_dL_Count_4,
\r
177 { 0, &asn_PER_memb_dL_Count_constr_4, memb_dL_Count_constraint_1 },
\r
178 0, 0, /* No default value */
\r
181 { ATF_POINTER, 1, offsetof(struct E_RABs_SubjectToSgNBCounterCheck_Item, iE_Extensions),
\r
182 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
\r
183 -1, /* IMPLICIT tag at current level */
\r
184 &asn_DEF_ProtocolExtensionContainer_8231P86,
\r
187 0, 0, /* No default value */
\r
191 static const int asn_MAP_E_RABs_SubjectToSgNBCounterCheck_Item_oms_1[] = { 3 };
\r
192 static const ber_tlv_tag_t asn_DEF_E_RABs_SubjectToSgNBCounterCheck_Item_tags_1[] = {
\r
193 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
\r
195 static const asn_TYPE_tag2member_t asn_MAP_E_RABs_SubjectToSgNBCounterCheck_Item_tag2el_1[] = {
\r
196 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */
\r
197 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uL-Count */
\r
198 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dL-Count */
\r
199 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
\r
201 static asn_SEQUENCE_specifics_t asn_SPC_E_RABs_SubjectToSgNBCounterCheck_Item_specs_1 = {
\r
202 sizeof(struct E_RABs_SubjectToSgNBCounterCheck_Item),
\r
203 offsetof(struct E_RABs_SubjectToSgNBCounterCheck_Item, _asn_ctx),
\r
204 asn_MAP_E_RABs_SubjectToSgNBCounterCheck_Item_tag2el_1,
\r
205 4, /* Count of tags in the map */
\r
206 asn_MAP_E_RABs_SubjectToSgNBCounterCheck_Item_oms_1, /* Optional members */
\r
207 1, 0, /* Root/Additions */
\r
208 4, /* First extension addition */
\r
210 asn_TYPE_descriptor_t asn_DEF_E_RABs_SubjectToSgNBCounterCheck_Item = {
\r
211 "E-RABs-SubjectToSgNBCounterCheck-Item",
\r
212 "E-RABs-SubjectToSgNBCounterCheck-Item",
\r
214 asn_DEF_E_RABs_SubjectToSgNBCounterCheck_Item_tags_1,
\r
215 sizeof(asn_DEF_E_RABs_SubjectToSgNBCounterCheck_Item_tags_1)
\r
216 /sizeof(asn_DEF_E_RABs_SubjectToSgNBCounterCheck_Item_tags_1[0]), /* 1 */
\r
217 asn_DEF_E_RABs_SubjectToSgNBCounterCheck_Item_tags_1, /* Same as above */
\r
218 sizeof(asn_DEF_E_RABs_SubjectToSgNBCounterCheck_Item_tags_1)
\r
219 /sizeof(asn_DEF_E_RABs_SubjectToSgNBCounterCheck_Item_tags_1[0]), /* 1 */
\r
220 { 0, 0, SEQUENCE_constraint },
\r
221 asn_MBR_E_RABs_SubjectToSgNBCounterCheck_Item_1,
\r
222 4, /* Elements count */
\r
223 &asn_SPC_E_RABs_SubjectToSgNBCounterCheck_Item_specs_1 /* Additional specs */
\r