Debian Codegraph @

agent/mibgroup/sctp-mib/sctpLookupRemIPAddrTable.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * $
4 */
5 #ifndef SCTPLOOKUPREMIPADDRTABLE_H
6 #define SCTPLOOKUPREMIPADDRTABLE_H
7
8 #include "sctpTables_common.h"
9
10 /*
11 * function declarations
12 */
13 void init_sctpLookupRemIPAddrTable(void);
14 void shutdown_sctpLookupRemIPAddrTable(void);
15 void initialize_table_sctpLookupRemIPAddrTable(void);
16 void shutdown_table_sctpLookupRemIPAddrTable(void);
17 Netsnmp_Node_Handler sctpLookupRemIPAddrTable_handler;
18
19 /*
20 * column number definitions for table sctpLookupRemIPAddrTable
21 */
22 #define COLUMN_SCTPLOOKUPREMIPADDRSTARTTIME 1
23
24 /** Typical data structure for a row entry */
25 #define SCTP_LOOKUP_REM_IP_ADDR_TABLE_INDEX_SIZE 100
26 struct sctpLookupRemIPAddrTable_entry_s {
27 netsnmp_index oid_index;
28 oid oid_tmp[SCTP_LOOKUP_REM_IP_ADDR_TABLE_INDEX_SIZE];
29
30 /*
31 * Index values
32 */
33 u_long sctpAssocRemAddrType;
34 char sctpAssocRemAddr[SCTP_IPADDRESS_SIZE];
35 u_long sctpAssocRemAddr_len;
36 u_long sctpAssocId;
37
38 /*
39 * Column values
40 */
41 u_long sctpLookupRemIPAddrStartTime;
42
43 int valid;
44 };
45
46 sctpLookupRemIPAddrTable_entry *
47 sctpLookupRemIPAddrTable_entry_create(void);
48
49 int
50 sctpLookupRemIPAddrTable_entry_update_index(sctpLookupRemIPAddrTable_entry
51 * entry);
52
53 void
54 sctpLookupRemIPAddrTable_entry_copy(sctpLookupRemIPAddrTable_entry * from,
55 sctpLookupRemIPAddrTable_entry * to);
56
57 void
58 sctpLookupRemIPAddrTable_entry_free(sctpLookupRemIPAddrTable_entry *
59 entry);
60
61 void
62 sctpLookupRemIPAddrTable_container_clear(netsnmp_container *container);
63
64 #endif /* SCTPLOOKUPREMIPADDRTABLE_H */