Debian Codegraph @

agent/mibgroup/sctp-mib/sctpAssocRemAddrTable.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * $
4 */
5 #ifndef SCTPASSOCREMADDRTABLE_H
6 #define SCTPASSOCREMADDRTABLE_H
7
8 #include "sctpTables_common.h"
9
10 /*
11 * function declarations
12 */
13 void init_sctpAssocRemAddrTable(void);
14 void shutdown_sctpAssocRemAddrTable(void);
15 void initialize_table_sctpAssocRemAddrTable(void);
16 void shutdown_table_sctpAssocRemAddrTable(void);
17 Netsnmp_Node_Handler sctpAssocRemAddrTable_handler;
18
19 /*
20 * column number definitions for table sctpAssocRemAddrTable
21 */
22 #define COLUMN_SCTPASSOCREMADDRTYPE 1
23 #define COLUMN_SCTPASSOCREMADDR 2
24 #define COLUMN_SCTPASSOCREMADDRACTIVE 3
25 #define COLUMN_SCTPASSOCREMADDRHBACTIVE 4
26 #define COLUMN_SCTPASSOCREMADDRRTO 5
27 #define COLUMN_SCTPASSOCREMADDRMAXPATHRTX 6
28 #define COLUMN_SCTPASSOCREMADDRRTX 7
29 #define COLUMN_SCTPASSOCREMADDRSTARTTIME 8
30
31
32 #define SCTP_ASSOC_REM_ADDR_TABLE_INDEX_SIZE 100
33 /** Typical data structure for a row entry */
34 struct sctpAssocRemAddrTable_entry_s {
35 netsnmp_index oid_index;
36 oid oid_tmp[SCTP_ASSOC_REM_ADDR_TABLE_INDEX_SIZE];
37
38 /*
39 * Index values
40 */
41 u_long sctpAssocId;
42 u_long sctpAssocRemAddrType;
43 char sctpAssocRemAddr[SCTP_IPADDRESS_SIZE];
44 u_long sctpAssocRemAddr_len;
45
46 /*
47 * Column values
48 */
49 long sctpAssocRemAddrActive;
50 long sctpAssocRemAddrHBActive;
51 u_long sctpAssocRemAddrRTO;
52 u_long sctpAssocRemAddrMaxPathRtx;
53 u_long sctpAssocRemAddrRtx;
54 u_long sctpAssocRemAddrStartTime;
55
56 int valid;
57 };
58
59 sctpAssocRemAddrTable_entry *sctpAssocRemAddrTable_entry_create(void);
60 int
61 sctpAssocRemAddrTable_entry_update_index(sctpAssocRemAddrTable_entry *
62 entry);
63 void
64 sctpAssocRemAddrTable_entry_copy(sctpAssocRemAddrTable_entry * from,
65 sctpAssocRemAddrTable_entry * to);
66 void
67 sctpAssocRemAddrTable_entry_free(sctpAssocRemAddrTable_entry * entry);
68
69 void
70 sctpAssocRemAddrTable_container_clear(netsnmp_container *container);
71
72 #endif /* SCTPASSOCREMADDRTABLE_H */