2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1157-SNMP"
4 * found in "RFC1157-SNMP.asn1"
5 * `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
10 static asn_TYPE_member_t asn_MBR_PDU_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct PDU, request_id),
12 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
15 0, /* Defer constraints checking to the member type */
16 0, /* PER is not compiled, use -gen-PER */
20 { ATF_NOFLAGS, 0, offsetof(struct PDU, error_status),
21 (ASN_TAG_CLASS_UNIVERSAL | (2 << 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 PDU, error_index),
30 (ASN_TAG_CLASS_UNIVERSAL | (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 PDU, variable_bindings),
39 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
42 0, /* Defer constraints checking to the member type */
43 0, /* PER is not compiled, use -gen-PER */
48 static const ber_tlv_tag_t asn_DEF_PDU_tags_1[] = {
49 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
51 static const asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = {
52 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 2 }, /* request-id */
53 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 1 }, /* error-status */
54 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -2, 0 }, /* error-index */
55 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 } /* variable-bindings */
57 static asn_SEQUENCE_specifics_t asn_SPC_PDU_specs_1 = {
59 offsetof(struct PDU, _asn_ctx),
61 4, /* Count of tags in the map */
62 0, 0, 0, /* Optional elements (not needed) */
63 -1, /* Start extensions */
64 -1 /* Stop extensions */
66 asn_TYPE_descriptor_t asn_DEF_PDU = {
76 0, 0, /* No PER support, use "-gen-PER" to enable */
77 0, /* Use generic outmost tag fetcher */
79 sizeof(asn_DEF_PDU_tags_1)
80 /sizeof(asn_DEF_PDU_tags_1[0]), /* 1 */
81 asn_DEF_PDU_tags_1, /* Same as above */
82 sizeof(asn_DEF_PDU_tags_1)
83 /sizeof(asn_DEF_PDU_tags_1[0]), /* 1 */
84 0, /* No PER visible constraints */
86 4, /* Elements count */
87 &asn_SPC_PDU_specs_1 /* Additional specs */