Debian Codegraph @

agent/mibgroup/ip-mib/ipv6InterfaceTable/ipv6InterfaceTable.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * version : 1.48 $ of : mfd-top.m2c,v $
4 *
5 * $Id$
6 */
7 #ifndef IPV6INTERFACETABLE_H
8 #define IPV6INTERFACETABLE_H
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14
15 /** @addtogroup misc misc: Miscellaneous routines
16 *
17 * @{
18 */
19 #include <net-snmp/library/asn1.h>
20 #include <net-snmp/data_access/interface.h>
21
22 #include "if-mib/ifTable/ifTable.h"
23
24 /*
25 * other required module components
26 */
27 /* *INDENT-OFF* */
28 config_require(if-mib/ifTable/ifTable);
29 config_require(ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_interface);
30 config_require(ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_data_access);
31 /* *INDENT-ON* */
32
33 /*
34 * OID, column number and enum definions for ipv6InterfaceTable
35 */
36 #include "ipv6InterfaceTable_constants.h"
37
38 /*
39 *********************************************************************
40 * function declarations
41 */
42 void initialize_table_ipv6InterfaceTable(void);
43 void init_ipv6InterfaceTable(void);
44 void shutdown_ipv6InterfaceTable(void);
45
46 /*
47 *********************************************************************
48 * Table declarations
49 */
50 /**********************************************************************
51 **********************************************************************
52 ***
53 *** Table ipv6InterfaceTable
54 ***
55 **********************************************************************
56 **********************************************************************/
57 /*
58 * IP-MIB::ipv6InterfaceTable is subid 30 of ip.
59 * Its status is Current.
60 * OID: .1.3.6.1.2.1.4.30, length: 8
61 *
62 * we share data structures (data too, in fact) with ifTable
63 */
64 typedef ifTable_registration ipv6InterfaceTable_registration;
65 typedef ifTable_data ipv6InterfaceTable_data;
66 typedef ifTable_undo_data ipv6InterfaceTable_undo_data;
67 typedef ifTable_mib_index ipv6InterfaceTable_mib_index;
68 typedef ifTable_rowreq_ctx ipv6InterfaceTable_rowreq_ctx;
69
70 /*
71 * ipv6InterfaceReasmMaxSize(2)/UNSIGNED32/ASN_UNSIGNED/u_long(u_long)//l/A/w/e/R/d/h
72 */
73 #define ipv6InterfaceReasmMaxSize ifentry->reasm_max_v6
74
75 /*
76 * ipv6InterfaceIdentifier(3)/Ipv6AddressIfIdentifierTC/ASN_OCTET_STR/char(char)//L/A/w/e/R/d/H
77 */
78
79 #define ipv6InterfaceIdentifier ifentry->v6_if_id
80 #define ipv6InterfaceIdentifier_len ifentry->v6_if_id_len
81
82 /*
83 * ipv6InterfaceEnableStatus(5)/INTEGER/ASN_INTEGER/long(u_long)//l/A/W/E/r/d/h
84 */
85 #define ipv6InterfaceEnableStatus ifentry->admin_status
86
87 /*
88 * ipv6InterfaceReachableTime(6)/UNSIGNED32/ASN_UNSIGNED/u_long(u_long)//l/A/w/e/r/d/h
89 */
90 #define ipv6InterfaceReachableTime ifentry->reachable_time
91
92 /*
93 * ipv6InterfaceRetransmitTime(7)/UNSIGNED32/ASN_UNSIGNED/u_long(u_long)//l/A/w/e/r/d/h
94 */
95 #define ipv6InterfaceRetransmitTime ifentry->retransmit_v6
96
97 /*
98 * ipv6InterfaceForwarding(8)/INTEGER/ASN_INTEGER/long(u_long)//l/A/W/E/r/d/h
99 */
100 #define ipv6InterfaceForwarding ifentry->forwarding_v6
101
102
103 /*
104 *********************************************************************
105 * function prototypes
106 */
107 int
108 ipv6InterfaceTable_pre_request(ipv6InterfaceTable_registration *
109 user_context);
110 int
111 ipv6InterfaceTable_post_request(ipv6InterfaceTable_registration *
112 user_context, int rc);
113
114 int
115 ipv6InterfaceTable_rowreq_ctx_init(ipv6InterfaceTable_rowreq_ctx *
116 rowreq_ctx,
117 void *user_init_ctx);
118 void
119 ipv6InterfaceTable_rowreq_ctx_cleanup(ipv6InterfaceTable_rowreq_ctx
120 * rowreq_ctx);
121
122 ipv6InterfaceTable_rowreq_ctx *ipv6InterfaceTable_row_find_by_mib_index
123 (ipv6InterfaceTable_mib_index * mib_idx);
124
125 extern const oid ipv6InterfaceTable_oid[];
126 extern const int ipv6InterfaceTable_oid_size;
127
128
129 #include "ipv6InterfaceTable_interface.h"
130 #include "ipv6InterfaceTable_data_access.h"
131 /*
132 *********************************************************************
133 * GET function declarations
134 */
135
136 /*
137 *********************************************************************
138 * GET Table declarations
139 */
140 /**********************************************************************
141 **********************************************************************
142 ***
143 *** Table ipv6InterfaceTable
144 ***
145 **********************************************************************
146 **********************************************************************/
147 /*
148 * IP-MIB::ipv6InterfaceTable is subid 30 of ip.
149 * Its status is Current.
150 * OID: .1.3.6.1.2.1.4.30, length: 8
151 */
152 /*
153 * indexes
154 */
155
156 int
157 ipv6InterfaceReasmMaxSize_get(ipv6InterfaceTable_rowreq_ctx *
158 rowreq_ctx,
159 u_long *
160 ipv6InterfaceReasmMaxSize_val_ptr);
161 int
162 ipv6InterfaceIdentifier_get(ipv6InterfaceTable_rowreq_ctx *
163 rowreq_ctx, char
164 **ipv6InterfaceIdentifier_val_ptr_ptr,
165 size_t *
166 ipv6InterfaceIdentifier_val_ptr_len_ptr);
167 int
168 ipv6InterfaceEnableStatus_get(ipv6InterfaceTable_rowreq_ctx *
169 rowreq_ctx,
170 u_long *
171 ipv6InterfaceEnableStatus_val_ptr);
172 int
173 ipv6InterfaceReachableTime_get(ipv6InterfaceTable_rowreq_ctx *
174 rowreq_ctx,
175 u_long *
176 ipv6InterfaceReachableTime_val_ptr);
177 int
178 ipv6InterfaceRetransmitTime_get(ipv6InterfaceTable_rowreq_ctx *
179 rowreq_ctx,
180 u_long *
181 ipv6InterfaceRetransmitTime_val_ptr);
182 int
183 ipv6InterfaceForwarding_get(ipv6InterfaceTable_rowreq_ctx *
184 rowreq_ctx,
185 u_long *
186 ipv6InterfaceForwarding_val_ptr);
187
188
189 int
190 ipv6InterfaceTable_indexes_set_tbl_idx(ipv6InterfaceTable_mib_index
191 * tbl_idx, long
192 ipv6InterfaceIfIndex_val);
193 int
194 ipv6InterfaceTable_indexes_set(ipv6InterfaceTable_rowreq_ctx *
195 rowreq_ctx,
196 long ipv6InterfaceIfIndex_val);
197
198
199
200 /*
201 *********************************************************************
202 * SET function declarations
203 */
204
205 /*
206 *********************************************************************
207 * SET Table declarations
208 */
209 /**********************************************************************
210 **********************************************************************
211 ***
212 *** Table ipv6InterfaceTable
213 ***
214 **********************************************************************
215 **********************************************************************/
216 /*
217 * IP-MIB::ipv6InterfaceTable is subid 30 of ip.
218 * Its status is Current.
219 * OID: .1.3.6.1.2.1.4.30, length: 8
220 */
221
222
223 int
224 ipv6InterfaceTable_undo_setup(ipv6InterfaceTable_rowreq_ctx *
225 rowreq_ctx);
226 int
227 ipv6InterfaceTable_undo_cleanup(ipv6InterfaceTable_rowreq_ctx *
228 rowreq_ctx);
229 int ipv6InterfaceTable_undo(ipv6InterfaceTable_rowreq_ctx *
230 rowreq_ctx);
231 int ipv6InterfaceTable_commit(ipv6InterfaceTable_rowreq_ctx
232 * rowreq_ctx);
233 int
234 ipv6InterfaceTable_undo_commit(ipv6InterfaceTable_rowreq_ctx *
235 rowreq_ctx);
236 int
237 ipv6InterfaceReasmMaxSize_check_value(ipv6InterfaceTable_rowreq_ctx
238 * rowreq_ctx,
239 u_long
240 ipv6InterfaceReasmMaxSize_val);
241 int
242 ipv6InterfaceReasmMaxSize_undo_setup(ipv6InterfaceTable_rowreq_ctx
243 * rowreq_ctx);
244 int
245 ipv6InterfaceReasmMaxSize_set(ipv6InterfaceTable_rowreq_ctx *
246 rowreq_ctx,
247 u_long
248 ipv6InterfaceReasmMaxSize_val);
249 int
250 ipv6InterfaceReasmMaxSize_undo(ipv6InterfaceTable_rowreq_ctx *
251 rowreq_ctx);
252
253 int
254 ipv6InterfaceIdentifier_check_value(ipv6InterfaceTable_rowreq_ctx *
255 rowreq_ctx, char
256 *ipv6InterfaceIdentifier_val_ptr,
257 size_t
258 ipv6InterfaceIdentifier_val_ptr_len);
259 int
260 ipv6InterfaceIdentifier_undo_setup(ipv6InterfaceTable_rowreq_ctx *
261 rowreq_ctx);
262 int
263 ipv6InterfaceIdentifier_set(ipv6InterfaceTable_rowreq_ctx *
264 rowreq_ctx,
265 char *ipv6InterfaceIdentifier_val_ptr,
266 size_t
267 ipv6InterfaceIdentifier_val_ptr_len);
268 int
269 ipv6InterfaceIdentifier_undo(ipv6InterfaceTable_rowreq_ctx *
270 rowreq_ctx);
271
272 int
273 ipv6InterfaceEnableStatus_check_value(ipv6InterfaceTable_rowreq_ctx
274 * rowreq_ctx,
275 u_long
276 ipv6InterfaceEnableStatus_val);
277 int
278 ipv6InterfaceEnableStatus_undo_setup(ipv6InterfaceTable_rowreq_ctx
279 * rowreq_ctx);
280 int
281 ipv6InterfaceEnableStatus_set(ipv6InterfaceTable_rowreq_ctx *
282 rowreq_ctx,
283 u_long
284 ipv6InterfaceEnableStatus_val);
285 int
286 ipv6InterfaceEnableStatus_undo(ipv6InterfaceTable_rowreq_ctx *
287 rowreq_ctx);
288 int
289 ipv6InterfaceReachableTime_check_value
290 (ipv6InterfaceTable_rowreq_ctx * rowreq_ctx,
291 u_long ipv6InterfaceReachableTime_val);
292 int
293 ipv6InterfaceReachableTime_undo_setup(ipv6InterfaceTable_rowreq_ctx
294 * rowreq_ctx);
295 int
296 ipv6InterfaceReachableTime_set(ipv6InterfaceTable_rowreq_ctx *
297 rowreq_ctx,
298 u_long
299 ipv6InterfaceReachableTime_val);
300 int
301 ipv6InterfaceReachableTime_undo(ipv6InterfaceTable_rowreq_ctx *
302 rowreq_ctx);
303 int
304 ipv6InterfaceRetransmitTime_check_value
305 (ipv6InterfaceTable_rowreq_ctx * rowreq_ctx,
306 u_long ipv6InterfaceRetransmitTime_val);
307 int
308 ipv6InterfaceRetransmitTime_undo_setup
309 (ipv6InterfaceTable_rowreq_ctx * rowreq_ctx);
310 int
311 ipv6InterfaceRetransmitTime_set(ipv6InterfaceTable_rowreq_ctx *
312 rowreq_ctx,
313 u_long
314 ipv6InterfaceRetransmitTime_val);
315 int
316 ipv6InterfaceRetransmitTime_undo(ipv6InterfaceTable_rowreq_ctx *
317 rowreq_ctx);
318 int
319 ipv6InterfaceForwarding_check_value(ipv6InterfaceTable_rowreq_ctx *
320 rowreq_ctx,
321 u_long
322 ipv6InterfaceForwarding_val);
323 int
324 ipv6InterfaceForwarding_undo_setup(ipv6InterfaceTable_rowreq_ctx *
325 rowreq_ctx);
326 int
327 ipv6InterfaceForwarding_set(ipv6InterfaceTable_rowreq_ctx *
328 rowreq_ctx,
329 u_long ipv6InterfaceForwarding_val);
330 int
331 ipv6InterfaceForwarding_undo(ipv6InterfaceTable_rowreq_ctx *
332 rowreq_ctx);
333 int
334 ipv6InterfaceTable_check_dependencies(ipv6InterfaceTable_rowreq_ctx
335 * ctx);
336
337
338 /*
339 * DUMMY markers, ignore
340 *
341 * TODO:099:x: *************************************************************
342 * TODO:199:x: *************************************************************
343 * TODO:299:x: *************************************************************
344 * TODO:399:x: *************************************************************
345 * TODO:499:x: *************************************************************
346 */
347
348 #ifdef __cplusplus
349 }
350 #endif
351 #endif /* IPV6INTERFACETABLE_H */
352 /** @} */