]> git.stg.codes - stg.git/blob - libs/smux/EgpNeighEntry.c
Remove some old stuff.
[stg.git] / libs / smux / EgpNeighEntry.c
1 /*
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`
6  */
7
8 #include <asn_internal.h>
9
10 #include "EgpNeighEntry.h"
11
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)),
15                 0,
16                 &asn_DEF_INTEGER,
17                 0,      /* Defer constraints checking to the member type */
18                 0,      /* PER is not compiled, use -gen-PER */
19                 0,
20                 "egpNeighState"
21                 },
22         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighAddr),
23                 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
24                 0,
25                 &asn_DEF_IpAddress,
26                 0,      /* Defer constraints checking to the member type */
27                 0,      /* PER is not compiled, use -gen-PER */
28                 0,
29                 "egpNeighAddr"
30                 },
31         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighAs),
32                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
33                 0,
34                 &asn_DEF_INTEGER,
35                 0,      /* Defer constraints checking to the member type */
36                 0,      /* PER is not compiled, use -gen-PER */
37                 0,
38                 "egpNeighAs"
39                 },
40         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInMsgs),
41                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
42                 0,
43                 &asn_DEF_Counter,
44                 0,      /* Defer constraints checking to the member type */
45                 0,      /* PER is not compiled, use -gen-PER */
46                 0,
47                 "egpNeighInMsgs"
48                 },
49         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInErrs),
50                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
51                 0,
52                 &asn_DEF_Counter,
53                 0,      /* Defer constraints checking to the member type */
54                 0,      /* PER is not compiled, use -gen-PER */
55                 0,
56                 "egpNeighInErrs"
57                 },
58         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutMsgs),
59                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
60                 0,
61                 &asn_DEF_Counter,
62                 0,      /* Defer constraints checking to the member type */
63                 0,      /* PER is not compiled, use -gen-PER */
64                 0,
65                 "egpNeighOutMsgs"
66                 },
67         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutErrs),
68                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
69                 0,
70                 &asn_DEF_Counter,
71                 0,      /* Defer constraints checking to the member type */
72                 0,      /* PER is not compiled, use -gen-PER */
73                 0,
74                 "egpNeighOutErrs"
75                 },
76         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInErrMsgs),
77                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
78                 0,
79                 &asn_DEF_Counter,
80                 0,      /* Defer constraints checking to the member type */
81                 0,      /* PER is not compiled, use -gen-PER */
82                 0,
83                 "egpNeighInErrMsgs"
84                 },
85         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutErrMsgs),
86                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
87                 0,
88                 &asn_DEF_Counter,
89                 0,      /* Defer constraints checking to the member type */
90                 0,      /* PER is not compiled, use -gen-PER */
91                 0,
92                 "egpNeighOutErrMsgs"
93                 },
94         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighStateUps),
95                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
96                 0,
97                 &asn_DEF_Counter,
98                 0,      /* Defer constraints checking to the member type */
99                 0,      /* PER is not compiled, use -gen-PER */
100                 0,
101                 "egpNeighStateUps"
102                 },
103         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighStateDowns),
104                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
105                 0,
106                 &asn_DEF_Counter,
107                 0,      /* Defer constraints checking to the member type */
108                 0,      /* PER is not compiled, use -gen-PER */
109                 0,
110                 "egpNeighStateDowns"
111                 },
112         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalHello),
113                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
114                 0,
115                 &asn_DEF_INTEGER,
116                 0,      /* Defer constraints checking to the member type */
117                 0,      /* PER is not compiled, use -gen-PER */
118                 0,
119                 "egpNeighIntervalHello"
120                 },
121         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalPoll),
122                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
123                 0,
124                 &asn_DEF_INTEGER,
125                 0,      /* Defer constraints checking to the member type */
126                 0,      /* PER is not compiled, use -gen-PER */
127                 0,
128                 "egpNeighIntervalPoll"
129                 },
130         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighMode),
131                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
132                 0,
133                 &asn_DEF_INTEGER,
134                 0,      /* Defer constraints checking to the member type */
135                 0,      /* PER is not compiled, use -gen-PER */
136                 0,
137                 "egpNeighMode"
138                 },
139         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighEventTrigger),
140                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
141                 0,
142                 &asn_DEF_INTEGER,
143                 0,      /* Defer constraints checking to the member type */
144                 0,      /* PER is not compiled, use -gen-PER */
145                 0,
146                 "egpNeighEventTrigger"
147                 },
148 };
149 static ber_tlv_tag_t asn_DEF_EgpNeighEntry_tags_1[] = {
150         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
151 };
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 */
168 };
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 */
177 };
178 asn_TYPE_descriptor_t asn_DEF_EgpNeighEntry = {
179         "EgpNeighEntry",
180         "EgpNeighEntry",
181         SEQUENCE_free,
182         SEQUENCE_print,
183         SEQUENCE_constraint,
184         SEQUENCE_decode_ber,
185         SEQUENCE_encode_der,
186         SEQUENCE_decode_xer,
187         SEQUENCE_encode_xer,
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 */
200 };
201