2 * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3 * From ASN.1 module "RFC1213-MIB"
4 * found in "RFC1213-MIB.asn1"
5 * `asn1c -fskeletons-copy`
8 #include <asn_internal.h>
12 static asn_TYPE_member_t asn_MBR_IfEntry_1[] = {
13 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifIndex),
14 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
17 0, /* Defer constraints checking to the member type */
18 0, /* PER is not compiled, use -gen-PER */
22 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifDescr),
23 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
25 &asn_DEF_DisplayString,
26 0, /* Defer constraints checking to the member type */
27 0, /* PER is not compiled, use -gen-PER */
31 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifType),
32 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
35 0, /* Defer constraints checking to the member type */
36 0, /* PER is not compiled, use -gen-PER */
40 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifMtu),
41 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
44 0, /* Defer constraints checking to the member type */
45 0, /* PER is not compiled, use -gen-PER */
49 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpeed),
50 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
53 0, /* Defer constraints checking to the member type */
54 0, /* PER is not compiled, use -gen-PER */
58 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifPhysAddress),
59 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
62 0, /* Defer constraints checking to the member type */
63 0, /* PER is not compiled, use -gen-PER */
67 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifAdminStatus),
68 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
71 0, /* Defer constraints checking to the member type */
72 0, /* PER is not compiled, use -gen-PER */
76 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOperStatus),
77 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
80 0, /* Defer constraints checking to the member type */
81 0, /* PER is not compiled, use -gen-PER */
85 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifLastChange),
86 (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
89 0, /* Defer constraints checking to the member type */
90 0, /* PER is not compiled, use -gen-PER */
94 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInOctets),
95 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
98 0, /* Defer constraints checking to the member type */
99 0, /* PER is not compiled, use -gen-PER */
103 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUcastPkts),
104 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
107 0, /* Defer constraints checking to the member type */
108 0, /* PER is not compiled, use -gen-PER */
112 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInNUcastPkts),
113 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
116 0, /* Defer constraints checking to the member type */
117 0, /* PER is not compiled, use -gen-PER */
121 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInDiscards),
122 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
125 0, /* Defer constraints checking to the member type */
126 0, /* PER is not compiled, use -gen-PER */
130 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInErrors),
131 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
134 0, /* Defer constraints checking to the member type */
135 0, /* PER is not compiled, use -gen-PER */
139 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUnknownProtos),
140 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
143 0, /* Defer constraints checking to the member type */
144 0, /* PER is not compiled, use -gen-PER */
148 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutOctets),
149 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
152 0, /* Defer constraints checking to the member type */
153 0, /* PER is not compiled, use -gen-PER */
157 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutUcastPkts),
158 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
161 0, /* Defer constraints checking to the member type */
162 0, /* PER is not compiled, use -gen-PER */
166 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutNUcastPkts),
167 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
170 0, /* Defer constraints checking to the member type */
171 0, /* PER is not compiled, use -gen-PER */
175 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutDiscards),
176 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
179 0, /* Defer constraints checking to the member type */
180 0, /* PER is not compiled, use -gen-PER */
184 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutErrors),
185 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
188 0, /* Defer constraints checking to the member type */
189 0, /* PER is not compiled, use -gen-PER */
193 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutQLen),
194 (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
197 0, /* Defer constraints checking to the member type */
198 0, /* PER is not compiled, use -gen-PER */
202 { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpecific),
203 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
205 &asn_DEF_OBJECT_IDENTIFIER,
206 0, /* Defer constraints checking to the member type */
207 0, /* PER is not compiled, use -gen-PER */
212 static ber_tlv_tag_t asn_DEF_IfEntry_tags_1[] = {
213 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
215 static asn_TYPE_tag2member_t asn_MAP_IfEntry_tag2el_1[] = {
216 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 4 }, /* ifIndex at 78 */
217 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 3 }, /* ifType at 83 */
218 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -2, 2 }, /* ifMtu at 85 */
219 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 6, -3, 1 }, /* ifAdminStatus at 91 */
220 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -4, 0 }, /* ifOperStatus at 93 */
221 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 1 }, /* ifDescr at 81 */
222 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 5, -1, 0 }, /* ifPhysAddress at 89 */
223 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 21, 0, 0 }, /* ifSpecific at 121 */
224 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 9, 0, 10 }, /* ifInOctets at 97 */
225 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 10, -1, 9 }, /* ifInUcastPkts at 99 */
226 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 11, -2, 8 }, /* ifInNUcastPkts at 101 */
227 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 12, -3, 7 }, /* ifInDiscards at 103 */
228 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 13, -4, 6 }, /* ifInErrors at 105 */
229 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 14, -5, 5 }, /* ifInUnknownProtos at 107 */
230 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 15, -6, 4 }, /* ifOutOctets at 109 */
231 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 16, -7, 3 }, /* ifOutUcastPkts at 111 */
232 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 17, -8, 2 }, /* ifOutNUcastPkts at 113 */
233 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 18, -9, 1 }, /* ifOutDiscards at 115 */
234 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 19, -10, 0 }, /* ifOutErrors at 117 */
235 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 4, 0, 1 }, /* ifSpeed at 87 */
236 { (ASN_TAG_CLASS_APPLICATION | (2 << 2)), 20, -1, 0 }, /* ifOutQLen at 119 */
237 { (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 8, 0, 0 } /* ifLastChange at 95 */
239 static asn_SEQUENCE_specifics_t asn_SPC_IfEntry_specs_1 = {
240 sizeof(struct IfEntry),
241 offsetof(struct IfEntry, _asn_ctx),
242 asn_MAP_IfEntry_tag2el_1,
243 22, /* Count of tags in the map */
244 0, 0, 0, /* Optional elements (not needed) */
245 -1, /* Start extensions */
246 -1 /* Stop extensions */
248 asn_TYPE_descriptor_t asn_DEF_IfEntry = {
258 0, 0, /* No PER support, use "-gen-PER" to enable */
259 0, /* Use generic outmost tag fetcher */
260 asn_DEF_IfEntry_tags_1,
261 sizeof(asn_DEF_IfEntry_tags_1)
262 /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
263 asn_DEF_IfEntry_tags_1, /* Same as above */
264 sizeof(asn_DEF_IfEntry_tags_1)
265 /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
266 0, /* No PER visible constraints */
268 22, /* Elements count */
269 &asn_SPC_IfEntry_specs_1 /* Additional specs */