]> git.stg.codes - stg.git/blob - libs/smux/EgpNeighEntry.c
Fix Boost package name.
[stg.git] / libs / smux / EgpNeighEntry.c
1 /*
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`
6  */
7
8 #include "EgpNeighEntry.h"
9
10 static asn_TYPE_member_t asn_MBR_EgpNeighEntry_1[] = {
11         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighState),
12                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
13                 0,
14                 &asn_DEF_INTEGER,
15                 0,      /* Defer constraints checking to the member type */
16                 0,      /* PER is not compiled, use -gen-PER */
17                 0,
18                 "egpNeighState"
19                 },
20         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighAddr),
21                 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
22                 0,
23                 &asn_DEF_IpAddress,
24                 0,      /* Defer constraints checking to the member type */
25                 0,      /* PER is not compiled, use -gen-PER */
26                 0,
27                 "egpNeighAddr"
28                 },
29         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighAs),
30                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
31                 0,
32                 &asn_DEF_INTEGER,
33                 0,      /* Defer constraints checking to the member type */
34                 0,      /* PER is not compiled, use -gen-PER */
35                 0,
36                 "egpNeighAs"
37                 },
38         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInMsgs),
39                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
40                 0,
41                 &asn_DEF_Counter,
42                 0,      /* Defer constraints checking to the member type */
43                 0,      /* PER is not compiled, use -gen-PER */
44                 0,
45                 "egpNeighInMsgs"
46                 },
47         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInErrs),
48                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
49                 0,
50                 &asn_DEF_Counter,
51                 0,      /* Defer constraints checking to the member type */
52                 0,      /* PER is not compiled, use -gen-PER */
53                 0,
54                 "egpNeighInErrs"
55                 },
56         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutMsgs),
57                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
58                 0,
59                 &asn_DEF_Counter,
60                 0,      /* Defer constraints checking to the member type */
61                 0,      /* PER is not compiled, use -gen-PER */
62                 0,
63                 "egpNeighOutMsgs"
64                 },
65         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutErrs),
66                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
67                 0,
68                 &asn_DEF_Counter,
69                 0,      /* Defer constraints checking to the member type */
70                 0,      /* PER is not compiled, use -gen-PER */
71                 0,
72                 "egpNeighOutErrs"
73                 },
74         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInErrMsgs),
75                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
76                 0,
77                 &asn_DEF_Counter,
78                 0,      /* Defer constraints checking to the member type */
79                 0,      /* PER is not compiled, use -gen-PER */
80                 0,
81                 "egpNeighInErrMsgs"
82                 },
83         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutErrMsgs),
84                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
85                 0,
86                 &asn_DEF_Counter,
87                 0,      /* Defer constraints checking to the member type */
88                 0,      /* PER is not compiled, use -gen-PER */
89                 0,
90                 "egpNeighOutErrMsgs"
91                 },
92         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighStateUps),
93                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
94                 0,
95                 &asn_DEF_Counter,
96                 0,      /* Defer constraints checking to the member type */
97                 0,      /* PER is not compiled, use -gen-PER */
98                 0,
99                 "egpNeighStateUps"
100                 },
101         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighStateDowns),
102                 (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
103                 0,
104                 &asn_DEF_Counter,
105                 0,      /* Defer constraints checking to the member type */
106                 0,      /* PER is not compiled, use -gen-PER */
107                 0,
108                 "egpNeighStateDowns"
109                 },
110         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalHello),
111                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
112                 0,
113                 &asn_DEF_INTEGER,
114                 0,      /* Defer constraints checking to the member type */
115                 0,      /* PER is not compiled, use -gen-PER */
116                 0,
117                 "egpNeighIntervalHello"
118                 },
119         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalPoll),
120                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
121                 0,
122                 &asn_DEF_INTEGER,
123                 0,      /* Defer constraints checking to the member type */
124                 0,      /* PER is not compiled, use -gen-PER */
125                 0,
126                 "egpNeighIntervalPoll"
127                 },
128         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighMode),
129                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
130                 0,
131                 &asn_DEF_INTEGER,
132                 0,      /* Defer constraints checking to the member type */
133                 0,      /* PER is not compiled, use -gen-PER */
134                 0,
135                 "egpNeighMode"
136                 },
137         { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighEventTrigger),
138                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
139                 0,
140                 &asn_DEF_INTEGER,
141                 0,      /* Defer constraints checking to the member type */
142                 0,      /* PER is not compiled, use -gen-PER */
143                 0,
144                 "egpNeighEventTrigger"
145                 },
146 };
147 static const ber_tlv_tag_t asn_DEF_EgpNeighEntry_tags_1[] = {
148         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
149 };
150 static const asn_TYPE_tag2member_t asn_MAP_EgpNeighEntry_tag2el_1[] = {
151     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* egpNeighState */
152     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 4 }, /* egpNeighAs */
153     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 11, -2, 3 }, /* egpNeighIntervalHello */
154     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 12, -3, 2 }, /* egpNeighIntervalPoll */
155     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 13, -4, 1 }, /* egpNeighMode */
156     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 14, -5, 0 }, /* egpNeighEventTrigger */
157     { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 1, 0, 0 }, /* egpNeighAddr */
158     { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 3, 0, 7 }, /* egpNeighInMsgs */
159     { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 4, -1, 6 }, /* egpNeighInErrs */
160     { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 5, -2, 5 }, /* egpNeighOutMsgs */
161     { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 6, -3, 4 }, /* egpNeighOutErrs */
162     { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 7, -4, 3 }, /* egpNeighInErrMsgs */
163     { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 8, -5, 2 }, /* egpNeighOutErrMsgs */
164     { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 9, -6, 1 }, /* egpNeighStateUps */
165     { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 10, -7, 0 } /* egpNeighStateDowns */
166 };
167 static asn_SEQUENCE_specifics_t asn_SPC_EgpNeighEntry_specs_1 = {
168         sizeof(struct EgpNeighEntry),
169         offsetof(struct EgpNeighEntry, _asn_ctx),
170         asn_MAP_EgpNeighEntry_tag2el_1,
171         15,     /* Count of tags in the map */
172         0, 0, 0,        /* Optional elements (not needed) */
173         -1,     /* Start extensions */
174         -1      /* Stop extensions */
175 };
176 asn_TYPE_descriptor_t asn_DEF_EgpNeighEntry = {
177         "EgpNeighEntry",
178         "EgpNeighEntry",
179         SEQUENCE_free,
180         SEQUENCE_print,
181         SEQUENCE_constraint,
182         SEQUENCE_decode_ber,
183         SEQUENCE_encode_der,
184         SEQUENCE_decode_xer,
185         SEQUENCE_encode_xer,
186         0, 0,   /* No PER support, use "-gen-PER" to enable */
187         0,      /* Use generic outmost tag fetcher */
188         asn_DEF_EgpNeighEntry_tags_1,
189         sizeof(asn_DEF_EgpNeighEntry_tags_1)
190                 /sizeof(asn_DEF_EgpNeighEntry_tags_1[0]), /* 1 */
191         asn_DEF_EgpNeighEntry_tags_1,   /* Same as above */
192         sizeof(asn_DEF_EgpNeighEntry_tags_1)
193                 /sizeof(asn_DEF_EgpNeighEntry_tags_1[0]), /* 1 */
194         0,      /* No PER visible constraints */
195         asn_MBR_EgpNeighEntry_1,
196         15,     /* Elements count */
197         &asn_SPC_EgpNeighEntry_specs_1  /* Additional specs */
198 };
199