summaryrefslogtreecommitdiff
path: root/agent/mibgroup/sctp-mib/sctpLookupRemIPAddrTable.h
blob: e315d6d001883a7c4d869aa5553a44ac565d6979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
 * Note: this file originally auto-generated by mib2c using
 *  $
 */
#ifndef SCTPLOOKUPREMIPADDRTABLE_H
#define SCTPLOOKUPREMIPADDRTABLE_H

#include "sctpTables_common.h"

/*
 * function declarations 
 */
void            init_sctpLookupRemIPAddrTable(void);
void            shutdown_sctpLookupRemIPAddrTable(void);
void            initialize_table_sctpLookupRemIPAddrTable(void);
Netsnmp_Node_Handler sctpLookupRemIPAddrTable_handler;

/*
 * column number definitions for table sctpLookupRemIPAddrTable 
 */
#define COLUMN_SCTPLOOKUPREMIPADDRSTARTTIME		1

/** Typical data structure for a row entry */
#define SCTP_LOOKUP_REM_IP_ADDR_TABLE_INDEX_SIZE 100
struct sctpLookupRemIPAddrTable_entry_s {
    netsnmp_index   oid_index;
    oid             oid_tmp[SCTP_LOOKUP_REM_IP_ADDR_TABLE_INDEX_SIZE];

    /*
     * Index values 
     */
    u_long          sctpAssocRemAddrType;
    char            sctpAssocRemAddr[SCTP_IPADDRESS_SIZE];
    u_long          sctpAssocRemAddr_len;
    u_long          sctpAssocId;

    /*
     * Column values 
     */
    u_long          sctpLookupRemIPAddrStartTime;

    int             valid;
};

sctpLookupRemIPAddrTable_entry *
sctpLookupRemIPAddrTable_entry_create(void);

int
sctpLookupRemIPAddrTable_entry_update_index(sctpLookupRemIPAddrTable_entry
                                            * entry);

void
sctpLookupRemIPAddrTable_entry_copy(sctpLookupRemIPAddrTable_entry * from,
                                    sctpLookupRemIPAddrTable_entry * to);

void
sctpLookupRemIPAddrTable_entry_free(sctpLookupRemIPAddrTable_entry *
                                    entry);

void
sctpLookupRemIPAddrTable_container_clear(netsnmp_container *container);

#endif                          /* SCTPLOOKUPREMIPADDRTABLE_H */