2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "SMUX"
5 * `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
10 static asn_oer_constraints_t asn_OER_type_SMUX_PDUs_constr_1 CC_NOTUSED = {
13 static asn_per_constraints_t asn_PER_type_SMUX_PDUs_constr_1 CC_NOTUSED = {
14 { APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
18 static asn_TYPE_member_t asn_MBR_SMUX_PDUs_1[] = {
19 { ATF_NOFLAGS, 0, offsetof(struct SMUX_PDUs, choice.open),
20 -1 /* Ambiguous tag (CHOICE?) */,
25 0, 0, /* No default value */
28 { ATF_NOFLAGS, 0, offsetof(struct SMUX_PDUs, choice.close),
29 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
34 0, 0, /* No default value */
37 { ATF_NOFLAGS, 0, offsetof(struct SMUX_PDUs, choice.registerRequest),
38 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
43 0, 0, /* No default value */
46 { ATF_NOFLAGS, 0, offsetof(struct SMUX_PDUs, choice.registerResponse),
47 (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
52 0, 0, /* No default value */
55 { ATF_NOFLAGS, 0, offsetof(struct SMUX_PDUs, choice.pdus),
56 -1 /* Ambiguous tag (CHOICE?) */,
61 0, 0, /* No default value */
64 { ATF_NOFLAGS, 0, offsetof(struct SMUX_PDUs, choice.commitOrRollback),
65 (ASN_TAG_CLASS_APPLICATION | (4 << 2)),
70 0, 0, /* No default value */
74 static const unsigned asn_MAP_SMUX_PDUs_to_canonical_1[] = { 0, 1, 2, 3, 5, 4 };
75 static const unsigned asn_MAP_SMUX_PDUs_from_canonical_1[] = { 0, 1, 2, 3, 5, 4 };
76 static const asn_TYPE_tag2member_t asn_MAP_SMUX_PDUs_tag2el_1[] = {
77 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 }, /* simple */
78 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* close */
79 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 2, 0, 0 }, /* registerRequest */
80 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 3, 0, 0 }, /* registerResponse */
81 { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 5, 0, 0 }, /* commitOrRollback */
82 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 4, 0, 0 }, /* get-request */
83 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 4, 0, 0 }, /* get-next-request */
84 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 4, 0, 0 }, /* get-response */
85 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 4, 0, 0 }, /* set-request */
86 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* trap */
88 static asn_CHOICE_specifics_t asn_SPC_SMUX_PDUs_specs_1 = {
89 sizeof(struct SMUX_PDUs),
90 offsetof(struct SMUX_PDUs, _asn_ctx),
91 offsetof(struct SMUX_PDUs, present),
92 sizeof(((struct SMUX_PDUs *)0)->present),
93 asn_MAP_SMUX_PDUs_tag2el_1,
94 10, /* Count of tags in the map */
95 asn_MAP_SMUX_PDUs_to_canonical_1,
96 asn_MAP_SMUX_PDUs_from_canonical_1,
97 -1 /* Extensions start */
99 asn_TYPE_descriptor_t asn_DEF_SMUX_PDUs = {
103 0, /* No effective tags (pointer) */
104 0, /* No effective tags (count) */
105 0, /* No tags (pointer) */
106 0, /* No tags (count) */
107 { &asn_OER_type_SMUX_PDUs_constr_1, &asn_PER_type_SMUX_PDUs_constr_1, CHOICE_constraint },
109 6, /* Elements count */
110 &asn_SPC_SMUX_PDUs_specs_1 /* Additional specs */