2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1213-MIB"
4 * found in "RFC1213-MIB.asn1"
5 * `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
10 static asn_TYPE_member_t asn_MBR_IfEntry_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifIndex),
12 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
17 0, 0, /* No default value */
20 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifDescr),
21 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
23 &asn_DEF_DisplayString,
26 0, 0, /* No default value */
29 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifType),
30 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
35 0, 0, /* No default value */
38 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifMtu),
39 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
44 0, 0, /* No default value */
47 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpeed),
48 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
53 0, 0, /* No default value */
56 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifPhysAddress),
57 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
62 0, 0, /* No default value */
65 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifAdminStatus),
66 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
71 0, 0, /* No default value */
74 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOperStatus),
75 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
80 0, 0, /* No default value */
83 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifLastChange),
84 (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
89 0, 0, /* No default value */
92 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInOctets),
93 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
98 0, 0, /* No default value */
101 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUcastPkts),
102 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
107 0, 0, /* No default value */
110 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInNUcastPkts),
111 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
116 0, 0, /* No default value */
119 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInDiscards),
120 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
125 0, 0, /* No default value */
128 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInErrors),
129 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
134 0, 0, /* No default value */
137 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUnknownProtos),
138 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
143 0, 0, /* No default value */
146 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutOctets),
147 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
152 0, 0, /* No default value */
155 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutUcastPkts),
156 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
161 0, 0, /* No default value */
164 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutNUcastPkts),
165 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
170 0, 0, /* No default value */
173 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutDiscards),
174 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
179 0, 0, /* No default value */
182 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutErrors),
183 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
188 0, 0, /* No default value */
191 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutQLen),
192 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
197 0, 0, /* No default value */
200 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpecific),
201 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
203 &asn_DEF_OBJECT_IDENTIFIER,
206 0, 0, /* No default value */
210 static const ber_tlv_tag_t asn_DEF_IfEntry_tags_1[] = {
211 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
213 static const asn_TYPE_tag2member_t asn_MAP_IfEntry_tag2el_1[] = {
214 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* ifIndex */
215 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 3 }, /* ifType */
216 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -2, 2 }, /* ifMtu */
217 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 1 }, /* ifAdminStatus */
218 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 0 }, /* ifOperStatus */
219 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 1 }, /* ifDescr */
220 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 5, -1, 0 }, /* ifPhysAddress */
221 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 21, 0, 0 }, /* ifSpecific */
222 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 9, 0, 10 }, /* ifInOctets */
223 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 10, -1, 9 }, /* ifInUcastPkts */
224 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 11, -2, 8 }, /* ifInNUcastPkts */
225 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 12, -3, 7 }, /* ifInDiscards */
226 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 13, -4, 6 }, /* ifInErrors */
227 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 14, -5, 5 }, /* ifInUnknownProtos */
228 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 15, -6, 4 }, /* ifOutOctets */
229 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 16, -7, 3 }, /* ifOutUcastPkts */
230 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 17, -8, 2 }, /* ifOutNUcastPkts */
231 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 18, -9, 1 }, /* ifOutDiscards */
232 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 19, -10, 0 }, /* ifOutErrors */
233 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 4, 0, 1 }, /* ifSpeed */
234 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 20, -1, 0 }, /* ifOutQLen */
235 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 8, 0, 0 } /* ifLastChange */
237 static asn_SEQUENCE_specifics_t asn_SPC_IfEntry_specs_1 = {
238 sizeof(struct IfEntry),
239 offsetof(struct IfEntry, _asn_ctx),
240 asn_MAP_IfEntry_tag2el_1,
241 22, /* Count of tags in the map */
242 0, 0, 0, /* Optional elements (not needed) */
243 -1, /* First extension addition */
245 asn_TYPE_descriptor_t asn_DEF_IfEntry = {
249 asn_DEF_IfEntry_tags_1,
250 sizeof(asn_DEF_IfEntry_tags_1)
251 /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
252 asn_DEF_IfEntry_tags_1, /* Same as above */
253 sizeof(asn_DEF_IfEntry_tags_1)
254 /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
255 { 0, 0, SEQUENCE_constraint },
257 22, /* Elements count */
258 &asn_SPC_IfEntry_specs_1 /* Additional specs */