| 1 |
/* |
| 2 |
* Note: this file originally auto-generated by mib2c using |
| 3 |
* $ |
| 4 |
*/ |
| 5 |
#ifndef SCTPLOOKUPREMPRIMIPADDRTABLE_H |
| 6 |
#define SCTPLOOKUPREMPRIMIPADDRTABLE_H |
| 7 |
|
| 8 |
#include "sctpTables_common.h" |
| 9 |
|
| 10 |
/* |
| 11 |
* function declarations |
| 12 |
*/ |
| 13 |
void init_sctpLookupRemPrimIPAddrTable(void); |
| 14 |
void shutdown_sctpLookupRemPrimIPAddrTable(void); |
| 15 |
void initialize_table_sctpLookupRemPrimIPAddrTable(void); |
| 16 |
void shutdown_table_sctpLookupRemPrimIPAddrTable(void); |
| 17 |
Netsnmp_Node_Handler sctpLookupRemPrimIPAddrTable_handler; |
| 18 |
|
| 19 |
/* |
| 20 |
* column number definitions for table sctpLookupRemPrimIPAddrTable |
| 21 |
*/ |
| 22 |
#define COLUMN_SCTPLOOKUPREMPRIMIPADDRSTARTTIME 1 |
| 23 |
|
| 24 |
/** Typical data structure for a row entry */ |
| 25 |
#define SCTP_LOOKUP_REM_PRIM_IP_ADDR_TABLE_INDEX_SIZE 100 |
| 26 |
struct sctpLookupRemPrimIPAddrTable_entry_s { |
| 27 |
netsnmp_index oid_index; |
| 28 |
oid oid_tmp[SCTP_LOOKUP_REM_PRIM_IP_ADDR_TABLE_INDEX_SIZE]; |
| 29 |
|
| 30 |
/* |
| 31 |
* Index values |
| 32 |
*/ |
| 33 |
u_long sctpAssocRemPrimAddrType; |
| 34 |
char sctpAssocRemPrimAddr[SCTP_IPADDRESS_SIZE]; |
| 35 |
u_long sctpAssocRemPrimAddr_len; |
| 36 |
u_long sctpAssocId; |
| 37 |
|
| 38 |
/* |
| 39 |
* Column values |
| 40 |
*/ |
| 41 |
u_long sctpLookupRemPrimIPAddrStartTime; |
| 42 |
|
| 43 |
int valid; |
| 44 |
}; |
| 45 |
|
| 46 |
sctpLookupRemPrimIPAddrTable_entry * |
| 47 |
sctpLookupRemPrimIPAddrTable_entry_create(void); |
| 48 |
|
| 49 |
int |
| 50 |
sctpLookupRemPrimIPAddrTable_entry_update_index (sctpLookupRemPrimIPAddrTable_entry |
| 51 |
* entry); |
| 52 |
|
| 53 |
void |
| 54 |
sctpLookupRemPrimIPAddrTable_entry_copy(sctpLookupRemPrimIPAddrTable_entry |
| 55 |
* from, |
| 56 |
sctpLookupRemPrimIPAddrTable_entry |
| 57 |
* to); |
| 58 |
|
| 59 |
void |
| 60 |
sctpLookupRemPrimIPAddrTable_entry_free(sctpLookupRemPrimIPAddrTable_entry |
| 61 |
* entry); |
| 62 |
|
| 63 |
void |
| 64 |
sctpLookupRemPrimIPAddrTable_container_clear(netsnmp_container *container); |
| 65 |
|
| 66 |
#endif /* SCTPLOOKUPREMPRIMIPADDRTABLE_H */ |