blob: eb408fb17d293a73f4f5c9ce527f690e84c18658 [file] [log] [blame]
Lev Walkin5bbff1e2004-06-28 21:13:22 +00001
Lev Walkinb47ddce2004-08-11 05:25:47 +00002/*** <<< INCLUDES [T] >>> ***/
Lev Walkin5bbff1e2004-06-28 21:13:22 +00003
Lev Walkin5bbff1e2004-06-28 21:13:22 +00004#include <NULL.h>
Lev Walkinb47ddce2004-08-11 05:25:47 +00005#include <constr_CHOICE.h>
Lev Walkin5bbff1e2004-06-28 21:13:22 +00006#include <constr_SEQUENCE.h>
7
Lev Walkinb47ddce2004-08-11 05:25:47 +00008/*** <<< DEPS [T] >>> ***/
9
Lev Walkin2e3055d2004-08-20 13:36:32 +000010typedef enum b_PR {
11 b_PR_NOTHING, /* No components present */
12 b_PR_c,
13 b_PR_d,
14 b_PR_e,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +000015 b_PR_h
Lev Walkin2e3055d2004-08-20 13:36:32 +000016} b_PR;
17typedef enum e_PR {
18 e_PR_NOTHING, /* No components present */
19 e_PR_f,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +000020 e_PR_g
Lev Walkin2e3055d2004-08-20 13:36:32 +000021} e_PR;
22typedef enum h_PR {
23 h_PR_NOTHING, /* No components present */
24 h_PR_i,
Lev Walkin9f5bb3a2006-08-18 01:46:46 +000025 h_PR_j
Lev Walkin2e3055d2004-08-20 13:36:32 +000026} h_PR;
Lev Walkin5bbff1e2004-06-28 21:13:22 +000027
28/*** <<< TYPE-DECLS [T] >>> ***/
29
Lev Walkin5bbff1e2004-06-28 21:13:22 +000030typedef struct T {
31 NULL_t a;
32 struct b {
Lev Walkin64399722004-08-11 07:17:22 +000033 b_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +000034 union T__b_u {
Lev Walkin5bbff1e2004-06-28 21:13:22 +000035 NULL_t c;
36 NULL_t d;
37 struct e {
Lev Walkin64399722004-08-11 07:17:22 +000038 e_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +000039 union T__b__e_u {
Lev Walkin5bbff1e2004-06-28 21:13:22 +000040 NULL_t f;
41 NULL_t g;
42 } choice;
43
44 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000045 asn_struct_ctx_t _asn_ctx;
Lev Walkin5bbff1e2004-06-28 21:13:22 +000046 } e;
47 struct h {
Lev Walkin64399722004-08-11 07:17:22 +000048 h_PR present;
Lev Walkin0f5d74c2005-08-14 15:03:31 +000049 union T__b__h_u {
Lev Walkin5bbff1e2004-06-28 21:13:22 +000050 NULL_t i;
51 NULL_t j;
52 } choice;
53
54 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000055 asn_struct_ctx_t _asn_ctx;
Lev Walkin5bbff1e2004-06-28 21:13:22 +000056 } h;
57 } choice;
58
59 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000060 asn_struct_ctx_t _asn_ctx;
Lev Walkin5bbff1e2004-06-28 21:13:22 +000061 } b;
62
63 /* Context for parsing across buffer boundaries */
Lev Walkindfae9752004-09-29 13:19:37 +000064 asn_struct_ctx_t _asn_ctx;
Lev Walkin5bbff1e2004-06-28 21:13:22 +000065} T_t;
66
Lev Walkinc8285712005-03-04 22:18:20 +000067/*** <<< FUNC-DECLS [T] >>> ***/
68
69extern asn_TYPE_descriptor_t asn_DEF_T;
70
Lev Walkin5bbff1e2004-06-28 21:13:22 +000071/*** <<< STAT-DEFS [T] >>> ***/
72
Lev Walkine8318b82005-03-06 09:29:03 +000073static asn_TYPE_member_t asn_MBR_e_6[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +000074 { ATF_NOFLAGS, 0, offsetof(struct e, choice.f),
Lev Walkin2e3055d2004-08-20 13:36:32 +000075 .tag = (ASN_TAG_CLASS_PRIVATE | (7 << 2)),
76 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000077 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -070078 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +000079 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040080 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000081 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
82 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +000083 .name = "f"
Lev Walkin5bbff1e2004-06-28 21:13:22 +000084 },
Lev Walkincc93b0f2004-09-10 09:18:20 +000085 { ATF_NOFLAGS, 0, offsetof(struct e, choice.g),
Lev Walkin2e3055d2004-08-20 13:36:32 +000086 .tag = (ASN_TAG_CLASS_PRIVATE | (8 << 2)),
87 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +000088 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -070089 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +000090 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +040091 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +000092 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
93 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +000094 .name = "g"
95 },
96};
Lev Walkina7591b52014-10-12 18:37:35 -070097static const asn_TYPE_tag2member_t asn_MAP_e_tag2el_6[] = {
Lev Walkin4062b012013-10-11 14:29:38 -070098 { (ASN_TAG_CLASS_PRIVATE | (7 << 2)), 0, 0, 0 }, /* f */
99 { (ASN_TAG_CLASS_PRIVATE | (8 << 2)), 1, 0, 0 } /* g */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000100};
Lev Walkin59b176e2005-11-26 11:25:14 +0000101static asn_CHOICE_specifics_t asn_SPC_e_specs_6 = {
Lev Walkin2e3055d2004-08-20 13:36:32 +0000102 sizeof(struct e),
Lev Walkindfae9752004-09-29 13:19:37 +0000103 offsetof(struct e, _asn_ctx),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000104 offsetof(struct e, present),
105 sizeof(((struct e *)0)->present),
Lev Walkine3917082017-08-23 10:29:38 -0700106 .tag2el = asn_MAP_e_tag2el_6,
107 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000108 .canonical_order = 0,
109 .ext_start = -1 /* Extensions start */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000110};
Lev Walkind04430c2004-09-07 06:44:29 +0000111static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000112asn_TYPE_descriptor_t asn_DEF_e_6 = {
Lev Walkin2e3055d2004-08-20 13:36:32 +0000113 "e",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000114 "e",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800115 &asn_OP_CHOICE,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000116 CHOICE_constraint,
Lev Walkin188ed2c2004-09-13 08:31:01 +0000117 0, /* No effective tags (pointer) */
118 0, /* No effective tags (count) */
119 0, /* No tags (pointer) */
120 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400121 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000122 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000123 asn_MBR_e_6,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000124 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000125 &asn_SPC_e_specs_6 /* Additional specs */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000126};
127
Lev Walkine8318b82005-03-06 09:29:03 +0000128static asn_TYPE_member_t asn_MBR_h_9[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000129 { ATF_NOFLAGS, 0, offsetof(struct h, choice.i),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000130 .tag = (ASN_TAG_CLASS_PRIVATE | (1 << 2)),
131 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000132 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -0700133 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000134 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400135 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000136 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
137 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000138 .name = "i"
139 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000140 { ATF_NOFLAGS, 0, offsetof(struct h, choice.j),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000141 .tag = (ASN_TAG_CLASS_PRIVATE | (2 << 2)),
142 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000143 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -0700144 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000145 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400146 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000147 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
148 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000149 .name = "j"
150 },
151};
Lev Walkina7591b52014-10-12 18:37:35 -0700152static const asn_TYPE_tag2member_t asn_MAP_h_tag2el_9[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700153 { (ASN_TAG_CLASS_PRIVATE | (1 << 2)), 0, 0, 0 }, /* i */
154 { (ASN_TAG_CLASS_PRIVATE | (2 << 2)), 1, 0, 0 } /* j */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000155};
Lev Walkin59b176e2005-11-26 11:25:14 +0000156static asn_CHOICE_specifics_t asn_SPC_h_specs_9 = {
Lev Walkin2e3055d2004-08-20 13:36:32 +0000157 sizeof(struct h),
Lev Walkindfae9752004-09-29 13:19:37 +0000158 offsetof(struct h, _asn_ctx),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000159 offsetof(struct h, present),
160 sizeof(((struct h *)0)->present),
Lev Walkine3917082017-08-23 10:29:38 -0700161 .tag2el = asn_MAP_h_tag2el_9,
162 .tag2el_count = 2, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000163 .canonical_order = 0,
164 .ext_start = -1 /* Extensions start */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000165};
Lev Walkind04430c2004-09-07 06:44:29 +0000166static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000167asn_TYPE_descriptor_t asn_DEF_h_9 = {
Lev Walkin2e3055d2004-08-20 13:36:32 +0000168 "h",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000169 "h",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800170 &asn_OP_CHOICE,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000171 CHOICE_constraint,
Lev Walkin188ed2c2004-09-13 08:31:01 +0000172 0, /* No effective tags (pointer) */
173 0, /* No effective tags (count) */
174 0, /* No tags (pointer) */
175 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400176 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000177 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000178 asn_MBR_h_9,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000179 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000180 &asn_SPC_h_specs_9 /* Additional specs */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000181};
182
Lev Walkine8318b82005-03-06 09:29:03 +0000183static asn_TYPE_member_t asn_MBR_b_3[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000184 { ATF_NOFLAGS, 0, offsetof(struct b, choice.c),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000185 .tag = (ASN_TAG_CLASS_PRIVATE | (5 << 2)),
186 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000187 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -0700188 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000189 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400190 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000191 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
192 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000193 .name = "c"
194 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000195 { ATF_NOFLAGS, 0, offsetof(struct b, choice.d),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000196 .tag = (ASN_TAG_CLASS_PRIVATE | (6 << 2)),
197 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000198 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -0700199 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000200 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400201 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000202 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
203 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000204 .name = "d"
205 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000206 { ATF_NOFLAGS, 0, offsetof(struct b, choice.e),
Lev Walkinb9189732004-09-10 09:37:12 +0000207 .tag = -1 /* Ambiguous tag (CHOICE?) */,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000208 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000209 .type = &asn_DEF_e_6,
Lev Walkin67a30122017-08-10 05:48:54 -0700210 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000211 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400212 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000213 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
214 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000215 .name = "e"
216 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000217 { ATF_NOFLAGS, 0, offsetof(struct b, choice.h),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000218 .tag = (ASN_TAG_CLASS_PRIVATE | (9 << 2)),
219 .tag_mode = +1, /* EXPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000220 .type = &asn_DEF_h_9,
Lev Walkin67a30122017-08-10 05:48:54 -0700221 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000222 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400223 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000224 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
225 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000226 .name = "h"
227 },
228};
Lev Walkina7591b52014-10-12 18:37:35 -0700229static const asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700230 { (ASN_TAG_CLASS_PRIVATE | (5 << 2)), 0, 0, 0 }, /* c */
231 { (ASN_TAG_CLASS_PRIVATE | (6 << 2)), 1, 0, 0 }, /* d */
232 { (ASN_TAG_CLASS_PRIVATE | (7 << 2)), 2, 0, 0 }, /* f */
233 { (ASN_TAG_CLASS_PRIVATE | (8 << 2)), 2, 0, 0 }, /* g */
234 { (ASN_TAG_CLASS_PRIVATE | (9 << 2)), 3, 0, 0 } /* h */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000235};
Lev Walkin59b176e2005-11-26 11:25:14 +0000236static asn_CHOICE_specifics_t asn_SPC_b_specs_3 = {
Lev Walkin2e3055d2004-08-20 13:36:32 +0000237 sizeof(struct b),
Lev Walkindfae9752004-09-29 13:19:37 +0000238 offsetof(struct b, _asn_ctx),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000239 offsetof(struct b, present),
240 sizeof(((struct b *)0)->present),
Lev Walkine3917082017-08-23 10:29:38 -0700241 .tag2el = asn_MAP_b_tag2el_3,
242 .tag2el_count = 5, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000243 .canonical_order = 0,
244 .ext_start = -1 /* Extensions start */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000245};
Lev Walkind04430c2004-09-07 06:44:29 +0000246static /* Use -fall-defs-global to expose */
Lev Walkine8318b82005-03-06 09:29:03 +0000247asn_TYPE_descriptor_t asn_DEF_b_3 = {
Lev Walkin2e3055d2004-08-20 13:36:32 +0000248 "b",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000249 "b",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800250 &asn_OP_CHOICE,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000251 CHOICE_constraint,
Lev Walkin188ed2c2004-09-13 08:31:01 +0000252 0, /* No effective tags (pointer) */
253 0, /* No effective tags (count) */
254 0, /* No tags (pointer) */
255 0, /* No tags (count) */
Lev Walkinb33425f2017-07-14 14:59:52 +0400256 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000257 0, /* No PER visible constraints */
Lev Walkine8318b82005-03-06 09:29:03 +0000258 asn_MBR_b_3,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000259 4, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000260 &asn_SPC_b_specs_3 /* Additional specs */
Lev Walkin2e3055d2004-08-20 13:36:32 +0000261};
262
Lev Walkine0272aa2005-03-04 11:26:08 +0000263static asn_TYPE_member_t asn_MBR_T_1[] = {
Lev Walkincc93b0f2004-09-10 09:18:20 +0000264 { ATF_NOFLAGS, 0, offsetof(struct T, a),
Lev Walkin2e3055d2004-08-20 13:36:32 +0000265 .tag = (ASN_TAG_CLASS_PRIVATE | (2 << 2)),
266 .tag_mode = -1, /* IMPLICIT tag at current level */
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000267 .type = &asn_DEF_NULL,
Lev Walkin67a30122017-08-10 05:48:54 -0700268 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000269 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400270 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000271 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
272 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000273 .name = "a"
274 },
Lev Walkincc93b0f2004-09-10 09:18:20 +0000275 { ATF_NOFLAGS, 0, offsetof(struct T, b),
Lev Walkinb9189732004-09-10 09:37:12 +0000276 .tag = -1 /* Ambiguous tag (CHOICE?) */,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000277 .tag_mode = 0,
Lev Walkinae7bf3f2005-08-29 10:31:14 +0000278 .type = &asn_DEF_b_3,
Lev Walkin67a30122017-08-10 05:48:54 -0700279 .type_selector = 0,
Lev Walkinba58e1b2005-01-17 12:20:19 +0000280 .memb_constraints = 0, /* Defer constraints checking to the member type */
Lev Walkinb33425f2017-07-14 14:59:52 +0400281 .oer_constraints = 0, /* OER is not compiled, use -gen-OER */
Lev Walkin59b176e2005-11-26 11:25:14 +0000282 .per_constraints = 0, /* PER is not compiled, use -gen-PER */
283 .default_value = 0,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000284 .name = "b"
Lev Walkin5bbff1e2004-06-28 21:13:22 +0000285 },
286};
Lev Walkina7591b52014-10-12 18:37:35 -0700287static const ber_tlv_tag_t asn_DEF_T_tags_1[] = {
Lev Walkin188ed2c2004-09-13 08:31:01 +0000288 (ASN_TAG_CLASS_PRIVATE | (1 << 2)),
289 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
Lev Walkin5bbff1e2004-06-28 21:13:22 +0000290};
Lev Walkina7591b52014-10-12 18:37:35 -0700291static const asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
Lev Walkin4062b012013-10-11 14:29:38 -0700292 { (ASN_TAG_CLASS_PRIVATE | (2 << 2)), 0, 0, 0 }, /* a */
293 { (ASN_TAG_CLASS_PRIVATE | (5 << 2)), 1, 0, 0 }, /* c */
294 { (ASN_TAG_CLASS_PRIVATE | (6 << 2)), 1, 0, 0 }, /* d */
295 { (ASN_TAG_CLASS_PRIVATE | (7 << 2)), 1, 0, 0 }, /* f */
296 { (ASN_TAG_CLASS_PRIVATE | (8 << 2)), 1, 0, 0 }, /* g */
297 { (ASN_TAG_CLASS_PRIVATE | (9 << 2)), 1, 0, 0 } /* h */
Lev Walkin5bbff1e2004-06-28 21:13:22 +0000298};
Lev Walkin59b176e2005-11-26 11:25:14 +0000299static asn_SEQUENCE_specifics_t asn_SPC_T_specs_1 = {
Lev Walkin5bbff1e2004-06-28 21:13:22 +0000300 sizeof(struct T),
Lev Walkindfae9752004-09-29 13:19:37 +0000301 offsetof(struct T, _asn_ctx),
Lev Walkine3917082017-08-23 10:29:38 -0700302 .tag2el = asn_MAP_T_tag2el_1,
303 .tag2el_count = 6, /* Count of tags in the map */
Lev Walkin59b176e2005-11-26 11:25:14 +0000304 0, 0, 0, /* Optional elements (not needed) */
Lev Walkin5bbff1e2004-06-28 21:13:22 +0000305 -1, /* Start extensions */
306 -1 /* Stop extensions */
307};
Lev Walkindfae9752004-09-29 13:19:37 +0000308asn_TYPE_descriptor_t asn_DEF_T = {
Lev Walkin5bbff1e2004-06-28 21:13:22 +0000309 "T",
Lev Walkindc06f6b2004-10-20 15:50:55 +0000310 "T",
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +0800311 &asn_OP_SEQUENCE,
Lev Walkin5bbff1e2004-06-28 21:13:22 +0000312 SEQUENCE_constraint,
Lev Walkin59b176e2005-11-26 11:25:14 +0000313 asn_DEF_T_tags_1,
314 sizeof(asn_DEF_T_tags_1)
315 /sizeof(asn_DEF_T_tags_1[0]) - 1, /* 1 */
316 asn_DEF_T_tags_1, /* Same as above */
317 sizeof(asn_DEF_T_tags_1)
318 /sizeof(asn_DEF_T_tags_1[0]), /* 2 */
Lev Walkinb33425f2017-07-14 14:59:52 +0400319 0, /* No OER visible constraints */
Lev Walkin59b176e2005-11-26 11:25:14 +0000320 0, /* No PER visible constraints */
Lev Walkine0272aa2005-03-04 11:26:08 +0000321 asn_MBR_T_1,
Lev Walkin2e3055d2004-08-20 13:36:32 +0000322 2, /* Elements count */
Lev Walkin59b176e2005-11-26 11:25:14 +0000323 &asn_SPC_T_specs_1 /* Additional specs */
Lev Walkin5bbff1e2004-06-28 21:13:22 +0000324};
325