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 "ObjectSyntax.h"
10 static asn_TYPE_member_t asn_MBR_ObjectSyntax_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.simple),
12 -1 /* Ambiguous tag (CHOICE?) */,
14 &asn_DEF_SimpleSyntax,
15 0, /* Defer constraints checking to the member type */
16 0, /* PER is not compiled, use -gen-PER */
20 { ATF_NOFLAGS, 0, offsetof(struct ObjectSyntax, choice.application_wide),
21 -1 /* Ambiguous tag (CHOICE?) */,
23 &asn_DEF_ApplicationSyntax,
24 0, /* Defer constraints checking to the member type */
25 0, /* PER is not compiled, use -gen-PER */
30 static const asn_TYPE_tag2member_t asn_MAP_ObjectSyntax_tag2el_1[] = {
31 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* number */
32 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 }, /* string */
33 { (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)), 0, 0, 0 }, /* empty */
34 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 0 }, /* object */
35 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 1, 0, 0 }, /* internet */
36 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* counter */
37 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 1, 0, 0 }, /* gauge */
38 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 1, 0, 0 }, /* ticks */
39 { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 1, 0, 0 } /* arbitrary */
41 static asn_CHOICE_specifics_t asn_SPC_ObjectSyntax_specs_1 = {
42 sizeof(struct ObjectSyntax),
43 offsetof(struct ObjectSyntax, _asn_ctx),
44 offsetof(struct ObjectSyntax, present),
45 sizeof(((struct ObjectSyntax *)0)->present),
46 asn_MAP_ObjectSyntax_tag2el_1,
47 9, /* Count of tags in the map */
49 -1 /* Extensions start */
51 asn_TYPE_descriptor_t asn_DEF_ObjectSyntax = {
61 0, 0, /* No PER support, use "-gen-PER" to enable */
63 0, /* No effective tags (pointer) */
64 0, /* No effective tags (count) */
65 0, /* No tags (pointer) */
66 0, /* No tags (count) */
67 0, /* No PER visible constraints */
68 asn_MBR_ObjectSyntax_1,
69 2, /* Elements count */
70 &asn_SPC_ObjectSyntax_specs_1 /* Additional specs */