2 * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1155-SMI"
4 * found in "RFC1155-SMI.asn1"
5 * `asn1c -fskeletons-copy`
8 #include <asn_internal.h>
10 #include "ApplicationSyntax.h"
12 static asn_TYPE_member_t asn_MBR_ApplicationSyntax_1[] = {
13 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.address),
14 -1 /* Ambiguous tag (CHOICE?) */,
16 &asn_DEF_NetworkAddress,
17 0, /* Defer constraints checking to the member type */
18 0, /* PER is not compiled, use -gen-PER */
22 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.counter),
23 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
26 0, /* Defer constraints checking to the member type */
27 0, /* PER is not compiled, use -gen-PER */
31 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.gauge),
32 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
35 0, /* Defer constraints checking to the member type */
36 0, /* PER is not compiled, use -gen-PER */
40 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.ticks),
41 (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
44 0, /* Defer constraints checking to the member type */
45 0, /* PER is not compiled, use -gen-PER */
49 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.arbitrary),
50 (ASN_TAG_CLASS_APPLICATION | (4 << 2)),
53 0, /* Defer constraints checking to the member type */
54 0, /* PER is not compiled, use -gen-PER */
59 static asn_TYPE_tag2member_t asn_MAP_ApplicationSyntax_tag2el_1[] = {
60 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 }, /* internet at 113 */
61 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* counter at 91 */
62 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 2, 0, 0 }, /* gauge at 94 */
63 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 3, 0, 0 }, /* ticks at 97 */
64 { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 4, 0, 0 } /* arbitrary at 104 */
66 static asn_CHOICE_specifics_t asn_SPC_ApplicationSyntax_specs_1 = {
67 sizeof(struct ApplicationSyntax),
68 offsetof(struct ApplicationSyntax, _asn_ctx),
69 offsetof(struct ApplicationSyntax, present),
70 sizeof(((struct ApplicationSyntax *)0)->present),
71 asn_MAP_ApplicationSyntax_tag2el_1,
72 5, /* Count of tags in the map */
74 -1 /* Extensions start */
76 asn_TYPE_descriptor_t asn_DEF_ApplicationSyntax = {
86 0, 0, /* No PER support, use "-gen-PER" to enable */
88 0, /* No effective tags (pointer) */
89 0, /* No effective tags (count) */
90 0, /* No tags (pointer) */
91 0, /* No tags (count) */
92 0, /* No PER visible constraints */
93 asn_MBR_ApplicationSyntax_1,
94 5, /* Elements count */
95 &asn_SPC_ApplicationSyntax_specs_1 /* Additional specs */