📄 ipv6interfacetable.h
字号:
/* * Note: this file originally auto-generated by mib2c using * version : 1.48 $ of : mfd-top.m2c,v $ * * $Id: ipv6InterfaceTable.h 15205 2006-09-14 17:15:32Z rstory $ */#ifndef IPV6INTERFACETABLE_H#define IPV6INTERFACETABLE_H#ifdef __cplusplusextern "C" {#endif/** @addtogroup misc misc: Miscellaneous routines * * @{ */#include <net-snmp/library/asn1.h>#include <net-snmp/data_access/interface.h>#include "if-mib/ifTable/ifTable.h" /* * other required module components */ /* *INDENT-OFF* */config_require(if-mib/ifTable/ifTable)config_require(ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_interface)config_require(ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_data_access) /* *INDENT-ON* */ /* * OID, column number and enum definions for ipv6InterfaceTable */#include "ipv6InterfaceTable_constants.h" /* ********************************************************************* * function declarations */ void init_ipv6InterfaceTable(void); void shutdown_ipv6InterfaceTable(void); /* ********************************************************************* * Table declarations *//********************************************************************** ********************************************************************** *** *** Table ipv6InterfaceTable *** ********************************************************************** **********************************************************************/ /* * IP-MIB::ipv6InterfaceTable is subid 30 of ip. * Its status is Current. * OID: .1.3.6.1.2.1.4.30, length: 8 * * we share data structures (data too, in fact) with ifTable */ typedef ifTable_registration ipv6InterfaceTable_registration; typedef ifTable_data ipv6InterfaceTable_data; typedef ifTable_undo_data ipv6InterfaceTable_undo_data; typedef ifTable_mib_index ipv6InterfaceTable_mib_index; typedef ifTable_rowreq_ctx ipv6InterfaceTable_rowreq_ctx; /* * ipv6InterfaceReasmMaxSize(2)/UNSIGNED32/ASN_UNSIGNED/u_long(u_long)//l/A/w/e/R/d/h */#define ipv6InterfaceReasmMaxSize ifentry->reasm_max_v6 /* * ipv6InterfaceIdentifier(3)/Ipv6AddressIfIdentifierTC/ASN_OCTET_STR/char(char)//L/A/w/e/R/d/H */#define ipv6InterfaceIdentifier ifentry->v6_if_id#define ipv6InterfaceIdentifier_len ifentry->v6_if_id_len /* * ipv6InterfaceEnableStatus(5)/INTEGER/ASN_INTEGER/long(u_long)//l/A/W/E/r/d/h */#define ipv6InterfaceEnableStatus ifentry->admin_status /* * ipv6InterfaceReachableTime(6)/UNSIGNED32/ASN_UNSIGNED/u_long(u_long)//l/A/w/e/r/d/h */#define ipv6InterfaceReachableTime ifentry->reachable_time /* * ipv6InterfaceRetransmitTime(7)/UNSIGNED32/ASN_UNSIGNED/u_long(u_long)//l/A/w/e/r/d/h */#define ipv6InterfaceRetransmitTime ifentry->retransmit_v6 /* * ipv6InterfaceForwarding(8)/INTEGER/ASN_INTEGER/long(u_long)//l/A/W/E/r/d/h */#define ipv6InterfaceForwarding ifentry->forwarding_v6 /* ********************************************************************* * function prototypes */ int ipv6InterfaceTable_pre_request(ipv6InterfaceTable_registration * user_context); int ipv6InterfaceTable_post_request(ipv6InterfaceTable_registration * user_context, int rc); int ipv6InterfaceTable_rowreq_ctx_init(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx, void *user_init_ctx); void ipv6InterfaceTable_rowreq_ctx_cleanup(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx); int ipv6InterfaceTable_commit(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx); ipv6InterfaceTable_rowreq_ctx * ipv6InterfaceTable_row_find_by_mib_index (ipv6InterfaceTable_mib_index * mib_idx); extern oid ipv6InterfaceTable_oid[]; extern int ipv6InterfaceTable_oid_size;#include "ipv6InterfaceTable_interface.h"#include "ipv6InterfaceTable_data_access.h" /* ********************************************************************* * GET function declarations */ /* ********************************************************************* * GET Table declarations *//********************************************************************** ********************************************************************** *** *** Table ipv6InterfaceTable *** ********************************************************************** **********************************************************************/ /* * IP-MIB::ipv6InterfaceTable is subid 30 of ip. * Its status is Current. * OID: .1.3.6.1.2.1.4.30, length: 8 */ /* * indexes */ int ipv6InterfaceReasmMaxSize_get(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx, u_long * ipv6InterfaceReasmMaxSize_val_ptr); int ipv6InterfaceIdentifier_get(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx, char **ipv6InterfaceIdentifier_val_ptr_ptr, size_t * ipv6InterfaceIdentifier_val_ptr_len_ptr); int ipv6InterfaceEnableStatus_get(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx, u_long * ipv6InterfaceEnableStatus_val_ptr); int ipv6InterfaceReachableTime_get(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx, u_long * ipv6InterfaceReachableTime_val_ptr); int ipv6InterfaceRetransmitTime_get(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx, u_long * ipv6InterfaceRetransmitTime_val_ptr); int ipv6InterfaceForwarding_get(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx, u_long * ipv6InterfaceForwarding_val_ptr); int ipv6InterfaceTable_indexes_set_tbl_idx(ipv6InterfaceTable_mib_index * tbl_idx, long ipv6InterfaceIfIndex_val); int ipv6InterfaceTable_indexes_set(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx, long ipv6InterfaceIfIndex_val); /* ********************************************************************* * SET function declarations */ /* ********************************************************************* * SET Table declarations *//********************************************************************** ********************************************************************** *** *** Table ipv6InterfaceTable *** ********************************************************************** **********************************************************************/ /* * IP-MIB::ipv6InterfaceTable is subid 30 of ip. * Its status is Current. * OID: .1.3.6.1.2.1.4.30, length: 8 */ int ipv6InterfaceTable_undo_setup(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx); int ipv6InterfaceTable_undo_cleanup(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx); int ipv6InterfaceTable_undo(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx); int ipv6InterfaceTable_commit(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx); int ipv6InterfaceTable_undo_commit(ipv6InterfaceTable_rowreq_ctx * rowreq_ctx); int
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -