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>
10 #include "IpRouteEntry.h"
12 static asn_TYPE_member_t asn_MBR_IpRouteEntry_1[] = {
13 { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteDest),
14 (ASN_TAG_CLASS_APPLICATION | (0 << 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 IpRouteEntry, ipRouteIfIndex),
23 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
26 0, /* Defer constraints checking to the member type */
27 0, /* PER is not compiled, use -gen-PER */
31 { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric1),
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 IpRouteEntry, ipRouteMetric2),
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 IpRouteEntry, ipRouteMetric3),
50 (ASN_TAG_CLASS_UNIVERSAL | (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 IpRouteEntry, ipRouteMetric4),
59 (ASN_TAG_CLASS_UNIVERSAL | (2 << 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 IpRouteEntry, ipRouteNextHop),
68 (ASN_TAG_CLASS_APPLICATION | (0 << 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 IpRouteEntry, ipRouteType),
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 IpRouteEntry, ipRouteProto),
86 (ASN_TAG_CLASS_UNIVERSAL | (2 << 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 IpRouteEntry, ipRouteAge),
95 (ASN_TAG_CLASS_UNIVERSAL | (2 << 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 IpRouteEntry, ipRouteMask),
104 (ASN_TAG_CLASS_APPLICATION | (0 << 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 IpRouteEntry, ipRouteMetric5),
113 (ASN_TAG_CLASS_UNIVERSAL | (2 << 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 IpRouteEntry, ipRouteInfo),
122 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
124 &asn_DEF_OBJECT_IDENTIFIER,
125 0, /* Defer constraints checking to the member type */
126 0, /* PER is not compiled, use -gen-PER */
131 static ber_tlv_tag_t asn_DEF_IpRouteEntry_tags_1[] = {
132 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
134 static asn_TYPE_tag2member_t asn_MAP_IpRouteEntry_tag2el_1[] = {
135 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 8 }, /* ipRouteIfIndex at 192 */
136 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 7 }, /* ipRouteMetric1 at 194 */
137 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -2, 6 }, /* ipRouteMetric2 at 196 */
138 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 4, -3, 5 }, /* ipRouteMetric3 at 198 */
139 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 5, -4, 4 }, /* ipRouteMetric4 at 200 */
140 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 7, -5, 3 }, /* ipRouteType at 204 */
141 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 8, -6, 2 }, /* ipRouteProto at 206 */
142 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 9, -7, 1 }, /* ipRouteAge at 208 */
143 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 11, -8, 0 }, /* ipRouteMetric5 at 212 */
144 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 12, 0, 0 }, /* ipRouteInfo at 215 */
145 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 2 }, /* ipRouteDest at 190 */
146 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 6, -1, 1 }, /* ipRouteNextHop at 202 */
147 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 10, -2, 0 } /* ipRouteMask at 210 */
149 static asn_SEQUENCE_specifics_t asn_SPC_IpRouteEntry_specs_1 = {
150 sizeof(struct IpRouteEntry),
151 offsetof(struct IpRouteEntry, _asn_ctx),
152 asn_MAP_IpRouteEntry_tag2el_1,
153 13, /* Count of tags in the map */
154 0, 0, 0, /* Optional elements (not needed) */
155 -1, /* Start extensions */
156 -1 /* Stop extensions */
158 asn_TYPE_descriptor_t asn_DEF_IpRouteEntry = {
168 0, 0, /* No PER support, use "-gen-PER" to enable */
169 0, /* Use generic outmost tag fetcher */
170 asn_DEF_IpRouteEntry_tags_1,
171 sizeof(asn_DEF_IpRouteEntry_tags_1)
172 /sizeof(asn_DEF_IpRouteEntry_tags_1[0]), /* 1 */
173 asn_DEF_IpRouteEntry_tags_1, /* Same as above */
174 sizeof(asn_DEF_IpRouteEntry_tags_1)
175 /sizeof(asn_DEF_IpRouteEntry_tags_1[0]), /* 1 */
176 0, /* No PER visible constraints */
177 asn_MBR_IpRouteEntry_1,
178 13, /* Elements count */
179 &asn_SPC_IpRouteEntry_specs_1 /* Additional specs */