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 "EgpNeighEntry.h"
12 static asn_TYPE_member_t asn_MBR_EgpNeighEntry_1[] = {
13 { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighState),
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 EgpNeighEntry, egpNeighAddr),
23 (ASN_TAG_CLASS_APPLICATION | (0 << 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 EgpNeighEntry, egpNeighAs),
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 EgpNeighEntry, egpNeighInMsgs),
41 (ASN_TAG_CLASS_APPLICATION | (1 << 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 EgpNeighEntry, egpNeighInErrs),
50 (ASN_TAG_CLASS_APPLICATION | (1 << 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 EgpNeighEntry, egpNeighOutMsgs),
59 (ASN_TAG_CLASS_APPLICATION | (1 << 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 EgpNeighEntry, egpNeighOutErrs),
68 (ASN_TAG_CLASS_APPLICATION | (1 << 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 EgpNeighEntry, egpNeighInErrMsgs),
77 (ASN_TAG_CLASS_APPLICATION | (1 << 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 EgpNeighEntry, egpNeighOutErrMsgs),
86 (ASN_TAG_CLASS_APPLICATION | (1 << 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 EgpNeighEntry, egpNeighStateUps),
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 EgpNeighEntry, egpNeighStateDowns),
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 EgpNeighEntry, egpNeighIntervalHello),
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 */
119 "egpNeighIntervalHello"
121 { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalPoll),
122 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
125 0, /* Defer constraints checking to the member type */
126 0, /* PER is not compiled, use -gen-PER */
128 "egpNeighIntervalPoll"
130 { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighMode),
131 (ASN_TAG_CLASS_UNIVERSAL | (2 << 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 EgpNeighEntry, egpNeighEventTrigger),
140 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
143 0, /* Defer constraints checking to the member type */
144 0, /* PER is not compiled, use -gen-PER */
146 "egpNeighEventTrigger"
149 static ber_tlv_tag_t asn_DEF_EgpNeighEntry_tags_1[] = {
150 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
152 static asn_TYPE_tag2member_t asn_MAP_EgpNeighEntry_tag2el_1[] = {
153 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* egpNeighState at 267 */
154 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 4 }, /* egpNeighAs at 271 */
155 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 11, -2, 3 }, /* egpNeighIntervalHello at 290 */
156 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 12, -3, 2 }, /* egpNeighIntervalPoll at 292 */
157 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 13, -4, 1 }, /* egpNeighMode at 294 */
158 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 14, -5, 0 }, /* egpNeighEventTrigger at 297 */
159 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 1, 0, 0 }, /* egpNeighAddr at 269 */
160 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 3, 0, 7 }, /* egpNeighInMsgs at 273 */
161 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 4, -1, 6 }, /* egpNeighInErrs at 275 */
162 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 5, -2, 5 }, /* egpNeighOutMsgs at 277 */
163 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 6, -3, 4 }, /* egpNeighOutErrs at 279 */
164 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 7, -4, 3 }, /* egpNeighInErrMsgs at 282 */
165 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 8, -5, 2 }, /* egpNeighOutErrMsgs at 284 */
166 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 9, -6, 1 }, /* egpNeighStateUps at 286 */
167 { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 10, -7, 0 } /* egpNeighStateDowns at 288 */
169 static asn_SEQUENCE_specifics_t asn_SPC_EgpNeighEntry_specs_1 = {
170 sizeof(struct EgpNeighEntry),
171 offsetof(struct EgpNeighEntry, _asn_ctx),
172 asn_MAP_EgpNeighEntry_tag2el_1,
173 15, /* Count of tags in the map */
174 0, 0, 0, /* Optional elements (not needed) */
175 -1, /* Start extensions */
176 -1 /* Stop extensions */
178 asn_TYPE_descriptor_t asn_DEF_EgpNeighEntry = {
188 0, 0, /* No PER support, use "-gen-PER" to enable */
189 0, /* Use generic outmost tag fetcher */
190 asn_DEF_EgpNeighEntry_tags_1,
191 sizeof(asn_DEF_EgpNeighEntry_tags_1)
192 /sizeof(asn_DEF_EgpNeighEntry_tags_1[0]), /* 1 */
193 asn_DEF_EgpNeighEntry_tags_1, /* Same as above */
194 sizeof(asn_DEF_EgpNeighEntry_tags_1)
195 /sizeof(asn_DEF_EgpNeighEntry_tags_1[0]), /* 1 */
196 0, /* No PER visible constraints */
197 asn_MBR_EgpNeighEntry_1,
198 15, /* Elements count */
199 &asn_SPC_EgpNeighEntry_specs_1 /* Additional specs */