2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1155-SMI"
4 * found in "RFC1155-SMI.asn1"
5 * `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
8 #include "ApplicationSyntax.h"
10 static asn_TYPE_member_t asn_MBR_ApplicationSyntax_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.address),
12 -1 /* Ambiguous tag (CHOICE?) */,
14 &asn_DEF_NetworkAddress,
15 0, /* Defer constraints checking to the member type */
16 0, /* PER is not compiled, use -gen-PER */
20 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.counter),
21 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
24 0, /* Defer constraints checking to the member type */
25 0, /* PER is not compiled, use -gen-PER */
29 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.gauge),
30 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
33 0, /* Defer constraints checking to the member type */
34 0, /* PER is not compiled, use -gen-PER */
38 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.ticks),
39 (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
42 0, /* Defer constraints checking to the member type */
43 0, /* PER is not compiled, use -gen-PER */
47 { ATF_NOFLAGS, 0, offsetof(struct ApplicationSyntax, choice.arbitrary),
48 (ASN_TAG_CLASS_APPLICATION | (4 << 2)),
51 0, /* Defer constraints checking to the member type */
52 0, /* PER is not compiled, use -gen-PER */
57 static const asn_TYPE_tag2member_t asn_MAP_ApplicationSyntax_tag2el_1[] = {
58 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 }, /* internet */
59 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* counter */
60 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 2, 0, 0 }, /* gauge */
61 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 3, 0, 0 }, /* ticks */
62 { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 4, 0, 0 } /* arbitrary */
64 static asn_CHOICE_specifics_t asn_SPC_ApplicationSyntax_specs_1 = {
65 sizeof(struct ApplicationSyntax),
66 offsetof(struct ApplicationSyntax, _asn_ctx),
67 offsetof(struct ApplicationSyntax, present),
68 sizeof(((struct ApplicationSyntax *)0)->present),
69 asn_MAP_ApplicationSyntax_tag2el_1,
70 5, /* Count of tags in the map */
72 -1 /* Extensions start */
74 asn_TYPE_descriptor_t asn_DEF_ApplicationSyntax = {
84 0, 0, /* No PER support, use "-gen-PER" to enable */
86 0, /* No effective tags (pointer) */
87 0, /* No effective tags (count) */
88 0, /* No tags (pointer) */
89 0, /* No tags (count) */
90 0, /* No PER visible constraints */
91 asn_MBR_ApplicationSyntax_1,
92 5, /* Elements count */
93 &asn_SPC_ApplicationSyntax_specs_1 /* Additional specs */