2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1157-SNMP"
4 * found in "RFC1157-SNMP.asn1"
5 * `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
10 asn_TYPE_member_t asn_MBR_VarBind_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct VarBind, name),
12 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
17 0, 0, /* No default value */
20 { ATF_NOFLAGS, 0, offsetof(struct VarBind, value),
21 -1 /* Ambiguous tag (CHOICE?) */,
23 &asn_DEF_ObjectSyntax,
26 0, 0, /* No default value */
30 static const ber_tlv_tag_t asn_DEF_VarBind_tags_1[] = {
31 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
33 static const asn_TYPE_tag2member_t asn_MAP_VarBind_tag2el_1[] = {
34 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* number */
35 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* string */
36 { (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)), 1, 0, 0 }, /* empty */
37 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 1 }, /* name */
38 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 1, -1, 0 }, /* object */
39 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 1, 0, 0 }, /* internet */
40 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 1, 0, 0 }, /* counter */
41 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 1, 0, 0 }, /* gauge */
42 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 1, 0, 0 }, /* ticks */
43 { (ASN_TAG_CLASS_APPLICATION | (4 << 2)), 1, 0, 0 } /* arbitrary */
45 asn_SEQUENCE_specifics_t asn_SPC_VarBind_specs_1 = {
46 sizeof(struct VarBind),
47 offsetof(struct VarBind, _asn_ctx),
48 asn_MAP_VarBind_tag2el_1,
49 10, /* Count of tags in the map */
50 0, 0, 0, /* Optional elements (not needed) */
51 -1, /* First extension addition */
53 asn_TYPE_descriptor_t asn_DEF_VarBind = {
57 asn_DEF_VarBind_tags_1,
58 sizeof(asn_DEF_VarBind_tags_1)
59 /sizeof(asn_DEF_VarBind_tags_1[0]), /* 1 */
60 asn_DEF_VarBind_tags_1, /* Same as above */
61 sizeof(asn_DEF_VarBind_tags_1)
62 /sizeof(asn_DEF_VarBind_tags_1[0]), /* 1 */
63 { 0, 0, SEQUENCE_constraint },
65 2, /* Elements count */
66 &asn_SPC_VarBind_specs_1 /* Additional specs */