diff options
author | Hideki Yamane <henrich@debian.org> | 2014-03-30 19:38:48 +0900 |
---|---|---|
committer | Hideki Yamane <henrich@debian.org> | 2014-03-30 19:38:48 +0900 |
commit | 7769a9595c3da9a35f31b42451b1f6c3ed4004fa (patch) | |
tree | 009bf8fd68af6bb1129e07dd8c1ed205010d81f8 /agent/mibgroup/sctp-mib/sctpLookupRemHostNameTable.h | |
parent | 2e7891b0311204e0ecd5dc4a4334df01f3a6a1b4 (diff) | |
download | pkg-net-snmp-7769a9595c3da9a35f31b42451b1f6c3ed4004fa.tar.gz |
Imported Upstream version 5.7.2~dfsg
Diffstat (limited to 'agent/mibgroup/sctp-mib/sctpLookupRemHostNameTable.h')
-rw-r--r-- | agent/mibgroup/sctp-mib/sctpLookupRemHostNameTable.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/agent/mibgroup/sctp-mib/sctpLookupRemHostNameTable.h b/agent/mibgroup/sctp-mib/sctpLookupRemHostNameTable.h new file mode 100644 index 0000000..5bd3c48 --- /dev/null +++ b/agent/mibgroup/sctp-mib/sctpLookupRemHostNameTable.h @@ -0,0 +1,65 @@ +/* + * Note: this file originally auto-generated by mib2c using + * $ + */ +#ifndef SCTPLOOKUPREMHOSTNAMETABLE_H +#define SCTPLOOKUPREMHOSTNAMETABLE_H + +#include "sctpTables_common.h" + +/* + * function declarations + */ +void init_sctpLookupRemHostNameTable(void); +void shutdown_sctpLookupRemHostNameTable(void); +void initialize_table_sctpLookupRemHostNameTable(void); +void shutdown_table_sctpLookupRemHostNameTable(void); +Netsnmp_Node_Handler sctpLookupRemHostNameTable_handler; + +/* + * column number definitions for table sctpLookupRemHostNameTable + */ +#define COLUMN_SCTPLOOKUPREMHOSTNAMESTARTTIME 1 + +#define SCTP_LOOKUP_REM_HOST_NAME_TABLE_INDEX_SIZE 270 +/** Typical data structure for a row entry */ +struct sctpLookupRemHostNameTable_entry_s { + netsnmp_index oid_index; + oid oid_tmp[SCTP_LOOKUP_REM_HOST_NAME_TABLE_INDEX_SIZE]; + + /* + * Index values + */ + char sctpAssocRemHostName[SCTP_HOSTNAME_SIZE]; + u_long sctpAssocRemHostName_len; + u_long sctpAssocId; + + /* + * Column values + */ + u_long sctpLookupRemHostNameStartTime; + + int valid; +}; + +sctpLookupRemHostNameTable_entry* +sctpLookupRemHostNameTable_entry_create(void); + +int +sctpLookupRemHostNameTable_entry_update_index(sctpLookupRemHostNameTable_entry * + entry); + +void +sctpLookupRemHostNameTable_entry_copy(sctpLookupRemHostNameTable_entry * + from, + sctpLookupRemHostNameTable_entry * + to); + +void +sctpLookupRemHostNameTable_entry_free(sctpLookupRemHostNameTable_entry * + entry); + +void +sctpLookupRemHostNameTable_container_clear(netsnmp_container *container); + +#endif /* SCTPLOOKUPREMHOSTNAMETABLE_H */ |