| 1 |
/* |
| 2 |
* Note: this file originally auto-generated by mib2c using |
| 3 |
* $ |
| 4 |
*/ |
| 5 |
#ifndef SCTPASSOCLOCALADDRTABLE_H |
| 6 |
#define SCTPASSOCLOCALADDRTABLE_H |
| 7 |
|
| 8 |
#include "sctpTables_common.h" |
| 9 |
|
| 10 |
/* |
| 11 |
* function declarations |
| 12 |
*/ |
| 13 |
void init_sctpAssocLocalAddrTable(void); |
| 14 |
void shutdown_sctpAssocLocalAddrTable(void); |
| 15 |
void initialize_table_sctpAssocLocalAddrTable(void); |
| 16 |
void shutdown_table_sctpAssocLocalAddrTable(void); |
| 17 |
Netsnmp_Node_Handler sctpAssocLocalAddrTable_handler; |
| 18 |
|
| 19 |
/* |
| 20 |
* column number definitions for table sctpAssocLocalAddrTable |
| 21 |
*/ |
| 22 |
#define COLUMN_SCTPASSOCLOCALADDRTYPE 1 |
| 23 |
#define COLUMN_SCTPASSOCLOCALADDR 2 |
| 24 |
#define COLUMN_SCTPASSOCLOCALADDRSTARTTIME 3 |
| 25 |
|
| 26 |
#define SCTP_ASSOC_LOCAL_ADDR_TABLE_INDEX_SIZE 100 |
| 27 |
/** Typical data structure for a row entry */ |
| 28 |
struct sctpAssocLocalAddrTable_entry_s { |
| 29 |
netsnmp_index oid_index; |
| 30 |
oid oid_tmp[SCTP_ASSOC_LOCAL_ADDR_TABLE_INDEX_SIZE]; |
| 31 |
|
| 32 |
/* |
| 33 |
* Index values |
| 34 |
*/ |
| 35 |
u_long sctpAssocId; |
| 36 |
u_long sctpAssocLocalAddrType; |
| 37 |
char sctpAssocLocalAddr[SCTP_IPADDRESS_SIZE]; |
| 38 |
u_long sctpAssocLocalAddr_len; |
| 39 |
|
| 40 |
/* |
| 41 |
* Column values |
| 42 |
*/ |
| 43 |
u_long sctpAssocLocalAddrStartTime; |
| 44 |
|
| 45 |
int valid; |
| 46 |
}; |
| 47 |
|
| 48 |
sctpAssocLocalAddrTable_entry *sctpAssocLocalAddrTable_entry_create(void); |
| 49 |
int |
| 50 |
sctpAssocLocalAddrTable_entry_update_index(sctpAssocLocalAddrTable_entry * |
| 51 |
entry); |
| 52 |
void |
| 53 |
sctpAssocLocalAddrTable_entry_copy(sctpAssocLocalAddrTable_entry * from, |
| 54 |
sctpAssocLocalAddrTable_entry * to); |
| 55 |
void |
| 56 |
sctpAssocLocalAddrTable_entry_free(sctpAssocLocalAddrTable_entry * entry); |
| 57 |
|
| 58 |
void sctpAssocLocalAddrTable_container_clear(netsnmp_container |
| 59 |
*container); |
| 60 |
|
| 61 |
#endif /* SCTPASSOCLOCALADDRTABLE_H */ |