2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1213-MIB"
4 * found in "RFC1213-MIB.asn1"
5 * `asn1c -S/mnt/data/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)),
15 0, /* Defer constraints checking to the member type */
16 0, /* PER is not compiled, use -gen-PER */
20 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifDescr),
21 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
23 &asn_DEF_DisplayString,
24 0, /* Defer constraints checking to the member type */
25 0, /* PER is not compiled, use -gen-PER */
29 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifType),
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 IfEntry, ifMtu),
39 (ASN_TAG_CLASS_UNIVERSAL | (2 << 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 IfEntry, ifSpeed),
48 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
51 0, /* Defer constraints checking to the member type */
52 0, /* PER is not compiled, use -gen-PER */
56 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifPhysAddress),
57 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
60 0, /* Defer constraints checking to the member type */
61 0, /* PER is not compiled, use -gen-PER */
65 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifAdminStatus),
66 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
69 0, /* Defer constraints checking to the member type */
70 0, /* PER is not compiled, use -gen-PER */
74 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOperStatus),
75 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
78 0, /* Defer constraints checking to the member type */
79 0, /* PER is not compiled, use -gen-PER */
83 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifLastChange),
84 (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
87 0, /* Defer constraints checking to the member type */
88 0, /* PER is not compiled, use -gen-PER */
92 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInOctets),
93 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
96 0, /* Defer constraints checking to the member type */
97 0, /* PER is not compiled, use -gen-PER */
101 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUcastPkts),
102 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
105 0, /* Defer constraints checking to the member type */
106 0, /* PER is not compiled, use -gen-PER */
110 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInNUcastPkts),
111 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
114 0, /* Defer constraints checking to the member type */
115 0, /* PER is not compiled, use -gen-PER */
119 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInDiscards),
120 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
123 0, /* Defer constraints checking to the member type */
124 0, /* PER is not compiled, use -gen-PER */
128 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInErrors),
129 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
132 0, /* Defer constraints checking to the member type */
133 0, /* PER is not compiled, use -gen-PER */
137 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUnknownProtos),
138 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
141 0, /* Defer constraints checking to the member type */
142 0, /* PER is not compiled, use -gen-PER */
146 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutOctets),
147 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
150 0, /* Defer constraints checking to the member type */
151 0, /* PER is not compiled, use -gen-PER */
155 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutUcastPkts),
156 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
159 0, /* Defer constraints checking to the member type */
160 0, /* PER is not compiled, use -gen-PER */
164 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutNUcastPkts),
165 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
168 0, /* Defer constraints checking to the member type */
169 0, /* PER is not compiled, use -gen-PER */
173 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutDiscards),
174 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
177 0, /* Defer constraints checking to the member type */
178 0, /* PER is not compiled, use -gen-PER */
182 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutErrors),
183 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
186 0, /* Defer constraints checking to the member type */
187 0, /* PER is not compiled, use -gen-PER */
191 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutQLen),
192 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
195 0, /* Defer constraints checking to the member type */
196 0, /* PER is not compiled, use -gen-PER */
200 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpecific),
201 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
203 &asn_DEF_OBJECT_IDENTIFIER,
204 0, /* Defer constraints checking to the member type */
205 0, /* PER is not compiled, use -gen-PER */
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, /* Start extensions */
244 -1 /* Stop extensions */
246 asn_TYPE_descriptor_t asn_DEF_IfEntry = {
256 0, 0, /* No PER support, use "-gen-PER" to enable */
257 0, /* Use generic outmost tag fetcher */
258 asn_DEF_IfEntry_tags_1,
259 sizeof(asn_DEF_IfEntry_tags_1)
260 /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
261 asn_DEF_IfEntry_tags_1, /* Same as above */
262 sizeof(asn_DEF_IfEntry_tags_1)
263 /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
264 0, /* No PER visible constraints */
266 22, /* Elements count */
267 &asn_SPC_IfEntry_specs_1 /* Additional specs */