2 /*** <<< INCLUDES [T1] >>> ***/
5 #include <constr_SET.h>
7 /*** <<< DEPS [T1] >>> ***/
11 * Method of determining the components presence
14 T1_PR_i, /* Member i is present */
17 /*** <<< TYPE-DECLS [T1] >>> ***/
22 * This type is extensible,
23 * possible extensions are below.
26 /* Presence bitmask: ASN_SET_ISPRESENT(pT1, T1_PR_x) */
27 unsigned int _presence_map
28 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
30 /* Context for parsing across buffer boundaries */
31 asn_struct_ctx_t _asn_ctx;
34 /*** <<< FUNC-DECLS [T1] >>> ***/
36 extern asn_TYPE_descriptor_t asn_DEF_T1;
38 /*** <<< STAT-DEFS [T1] >>> ***/
40 static asn_TYPE_member_t asn_MBR_T1_1[] = {
41 { ATF_NOFLAGS, 0, offsetof(struct T1, i),
42 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
44 .type = &asn_DEF_INTEGER,
46 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
47 0, 0, /* No default value */
51 static const ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
52 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
54 static const asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = {
55 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
57 static const uint8_t asn_MAP_T1_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
61 asn_SET_specifics_t asn_SPC_T1_specs_1 = {
63 offsetof(struct T1, _asn_ctx),
64 offsetof(struct T1, _presence_map),
65 .tag2el = asn_MAP_T1_tag2el_1,
66 .tag2el_count = 1, /* Count of tags in the map */
67 asn_MAP_T1_tag2el_1, /* Same as above */
68 1, /* Count of tags in the CXER map */
69 1, /* Whether extensible */
70 (const unsigned int *)asn_MAP_T1_mmap_1 /* Mandatory elements map */
72 asn_TYPE_descriptor_t asn_DEF_T1 = {
77 sizeof(asn_DEF_T1_tags_1)
78 /sizeof(asn_DEF_T1_tags_1[0]), /* 1 */
79 asn_DEF_T1_tags_1, /* Same as above */
80 sizeof(asn_DEF_T1_tags_1)
81 /sizeof(asn_DEF_T1_tags_1[0]), /* 1 */
82 { 0, 0, SET_constraint },
84 1, /* Elements count */
85 &asn_SPC_T1_specs_1 /* Additional specs */
89 /*** <<< INCLUDES [T2] >>> ***/
92 #include <constr_SET.h>
94 /*** <<< DEPS [T2] >>> ***/
98 * Method of determining the components presence
101 T2_PR_i, /* Member i is present */
104 /*** <<< TYPE-DECLS [T2] >>> ***/
109 * This type is extensible,
110 * possible extensions are below.
113 /* Presence bitmask: ASN_SET_ISPRESENT(pT2, T2_PR_x) */
114 unsigned int _presence_map
115 [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))];
117 /* Context for parsing across buffer boundaries */
118 asn_struct_ctx_t _asn_ctx;
121 /*** <<< FUNC-DECLS [T2] >>> ***/
123 extern asn_TYPE_descriptor_t asn_DEF_T2;
125 /*** <<< STAT-DEFS [T2] >>> ***/
127 static asn_TYPE_member_t asn_MBR_T2_1[] = {
128 { ATF_NOFLAGS, 0, offsetof(struct T2, i),
129 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
131 .type = &asn_DEF_INTEGER,
133 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
134 0, 0, /* No default value */
138 static const ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
139 (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
141 static const asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
142 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
144 static const uint8_t asn_MAP_T2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
148 asn_SET_specifics_t asn_SPC_T2_specs_1 = {
150 offsetof(struct T2, _asn_ctx),
151 offsetof(struct T2, _presence_map),
152 .tag2el = asn_MAP_T2_tag2el_1,
153 .tag2el_count = 1, /* Count of tags in the map */
154 asn_MAP_T2_tag2el_1, /* Same as above */
155 1, /* Count of tags in the CXER map */
156 1, /* Whether extensible */
157 (const unsigned int *)asn_MAP_T2_mmap_1 /* Mandatory elements map */
159 asn_TYPE_descriptor_t asn_DEF_T2 = {
164 sizeof(asn_DEF_T2_tags_1)
165 /sizeof(asn_DEF_T2_tags_1[0]), /* 1 */
166 asn_DEF_T2_tags_1, /* Same as above */
167 sizeof(asn_DEF_T2_tags_1)
168 /sizeof(asn_DEF_T2_tags_1[0]), /* 1 */
169 { 0, 0, SET_constraint },
171 1, /* Elements count */
172 &asn_SPC_T2_specs_1 /* Additional specs */
176 /*** <<< INCLUDES [T3] >>> ***/
179 #include <constr_CHOICE.h>
181 /*** <<< DEPS [T3] >>> ***/
184 T3_PR_NOTHING, /* No components present */
186 /* Extensions may appear below */
190 /*** <<< TYPE-DECLS [T3] >>> ***/
197 * This type is extensible,
198 * possible extensions are below.
202 /* Context for parsing across buffer boundaries */
203 asn_struct_ctx_t _asn_ctx;
206 /*** <<< FUNC-DECLS [T3] >>> ***/
208 extern asn_TYPE_descriptor_t asn_DEF_T3;
210 /*** <<< STAT-DEFS [T3] >>> ***/
212 static asn_TYPE_member_t asn_MBR_T3_1[] = {
213 { ATF_NOFLAGS, 0, offsetof(struct T3, choice.i),
214 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
216 .type = &asn_DEF_INTEGER,
218 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
219 0, 0, /* No default value */
223 static const asn_TYPE_tag2member_t asn_MAP_T3_tag2el_1[] = {
224 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
226 static asn_CHOICE_specifics_t asn_SPC_T3_specs_1 = {
228 offsetof(struct T3, _asn_ctx),
229 offsetof(struct T3, present),
230 sizeof(((struct T3 *)0)->present),
231 .tag2el = asn_MAP_T3_tag2el_1,
232 .tag2el_count = 1, /* Count of tags in the map */
234 .first_extension = 1 /* Extensions start */
236 asn_TYPE_descriptor_t asn_DEF_T3 = {
240 0, /* No effective tags (pointer) */
241 0, /* No effective tags (count) */
242 0, /* No tags (pointer) */
243 0, /* No tags (count) */
244 { 0, 0, CHOICE_constraint },
246 1, /* Elements count */
247 &asn_SPC_T3_specs_1 /* Additional specs */
251 /*** <<< INCLUDES [T4] >>> ***/
254 #include <constr_CHOICE.h>
256 /*** <<< DEPS [T4] >>> ***/
259 T4_PR_NOTHING, /* No components present */
261 /* Extensions may appear below */
265 /*** <<< TYPE-DECLS [T4] >>> ***/
272 * This type is extensible,
273 * possible extensions are below.
277 /* Context for parsing across buffer boundaries */
278 asn_struct_ctx_t _asn_ctx;
281 /*** <<< FUNC-DECLS [T4] >>> ***/
283 extern asn_TYPE_descriptor_t asn_DEF_T4;
285 /*** <<< STAT-DEFS [T4] >>> ***/
287 static asn_TYPE_member_t asn_MBR_T4_1[] = {
288 { ATF_NOFLAGS, 0, offsetof(struct T4, choice.i),
289 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
291 .type = &asn_DEF_INTEGER,
293 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
294 0, 0, /* No default value */
298 static const asn_TYPE_tag2member_t asn_MAP_T4_tag2el_1[] = {
299 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
301 static asn_CHOICE_specifics_t asn_SPC_T4_specs_1 = {
303 offsetof(struct T4, _asn_ctx),
304 offsetof(struct T4, present),
305 sizeof(((struct T4 *)0)->present),
306 .tag2el = asn_MAP_T4_tag2el_1,
307 .tag2el_count = 1, /* Count of tags in the map */
309 .first_extension = 1 /* Extensions start */
311 asn_TYPE_descriptor_t asn_DEF_T4 = {
315 0, /* No effective tags (pointer) */
316 0, /* No effective tags (count) */
317 0, /* No tags (pointer) */
318 0, /* No tags (count) */
319 { 0, 0, CHOICE_constraint },
321 1, /* Elements count */
322 &asn_SPC_T4_specs_1 /* Additional specs */