| 1 |
/* |
| 2 |
* Note: this file originally auto-generated by mib2c using |
| 3 |
* version : 1.17 $ of : mfd-data-access.m2c,v $ |
| 4 |
* |
| 5 |
* $Id$ |
| 6 |
*/ |
| 7 |
#ifndef IPCIDRROUTETABLE_DATA_ACCESS_H |
| 8 |
#define IPCIDRROUTETABLE_DATA_ACCESS_H |
| 9 |
|
| 10 |
#ifdef __cplusplus |
| 11 |
extern "C" { |
| 12 |
#endif |
| 13 |
|
| 14 |
|
| 15 |
/* |
| 16 |
********************************************************************* |
| 17 |
* function declarations |
| 18 |
*/ |
| 19 |
|
| 20 |
/* |
| 21 |
********************************************************************* |
| 22 |
* Table declarations |
| 23 |
*/ |
| 24 |
/********************************************************************** |
| 25 |
********************************************************************** |
| 26 |
*** |
| 27 |
*** Table ipCidrRouteTable |
| 28 |
*** |
| 29 |
********************************************************************** |
| 30 |
**********************************************************************/ |
| 31 |
/* |
| 32 |
* IP-FORWARD-MIB::ipCidrRouteTable is subid 4 of ipForward. |
| 33 |
* Its status is Deprecated. |
| 34 |
* OID: .1.3.6.1.2.1.4.24.4, length: 9 |
| 35 |
*/ |
| 36 |
|
| 37 |
|
| 38 |
int |
| 39 |
ipCidrRouteTable_init_data(ipCidrRouteTable_registration * |
| 40 |
ipCidrRouteTable_reg); |
| 41 |
|
| 42 |
|
| 43 |
/* |
| 44 |
* TODO:180:o: Review ipCidrRouteTable cache timeout. |
| 45 |
* The number of seconds before the cache times out |
| 46 |
*/ |
| 47 |
#define IPCIDRROUTETABLE_CACHE_TIMEOUT 60 |
| 48 |
|
| 49 |
void ipCidrRouteTable_container_init(netsnmp_container |
| 50 |
**container_ptr_ptr, |
| 51 |
netsnmp_cache * cache); |
| 52 |
void ipCidrRouteTable_container_shutdown(netsnmp_container |
| 53 |
*container_ptr); |
| 54 |
|
| 55 |
int ipCidrRouteTable_container_load(netsnmp_container |
| 56 |
*container); |
| 57 |
void ipCidrRouteTable_container_free(netsnmp_container |
| 58 |
*container); |
| 59 |
|
| 60 |
int ipCidrRouteTable_cache_load(netsnmp_container |
| 61 |
*container); |
| 62 |
void ipCidrRouteTable_cache_free(netsnmp_container |
| 63 |
*container); |
| 64 |
|
| 65 |
int ipCidrRouteTable_row_prep(ipCidrRouteTable_rowreq_ctx * |
| 66 |
rowreq_ctx); |
| 67 |
|
| 68 |
int |
| 69 |
ipCidrRouteTable_validate_index(ipCidrRouteTable_registration * |
| 70 |
ipCidrRouteTable_reg, |
| 71 |
ipCidrRouteTable_rowreq_ctx * |
| 72 |
rowreq_ctx); |
| 73 |
int ipCidrRouteDest_check_index(ipCidrRouteTable_rowreq_ctx * rowreq_ctx); /* internal */ |
| 74 |
int ipCidrRouteMask_check_index(ipCidrRouteTable_rowreq_ctx * rowreq_ctx); /* internal */ |
| 75 |
int ipCidrRouteTos_check_index(ipCidrRouteTable_rowreq_ctx * rowreq_ctx); /* internal */ |
| 76 |
int ipCidrRouteNextHop_check_index(ipCidrRouteTable_rowreq_ctx * rowreq_ctx); /* internal */ |
| 77 |
|
| 78 |
|
| 79 |
#ifdef __cplusplus |
| 80 |
} |
| 81 |
#endif |
| 82 |
#endif /* IPCIDRROUTETABLE_DATA_ACCESS_H */ |