/*
* This C file has been generated by smidump 0.4.2-pre1.
* It is intended to be used with the NET-SNMP agent library.
*
* This C file is derived from the RMON2-MIB module.
*
* $Id: rmon2-mib-agt-stub.c 1606 2003-12-01 12:24:15Z strauss $
*/
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include "rmon2-mib.h"
#include <ucd-snmp/asn1.h>
#include <ucd-snmp/snmp.h>
#include <ucd-snmp/snmp_api.h>
#include <ucd-snmp/snmp_impl.h>
#include <ucd-snmp/snmp_vars.h>
/*
* Forward declaration of read methods for groups of scalars and tables:
*/
static unsigned char *
read_etherStats2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_tokenRingMLStats2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_tokenRingPStats2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_historyControl2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_hostControl2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_matrixControl2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_channel2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_filter2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_ringStationControl2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_sourceRoutingStats2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_protocolDir_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_protocolDirEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_protocolDistControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_protocolDistStatsEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_addressMap_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_addressMapControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_addressMapEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_hlHostControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_nlHostEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_hlMatrixControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_nlMatrixSDEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_nlMatrixDSEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_nlMatrixTopNControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_nlMatrixTopNEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_alHostEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_alMatrixSDEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_alMatrixDSEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_alMatrixTopNControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_alMatrixTopNEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_usrHistoryControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_usrHistoryObjectEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_usrHistoryEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_probeConfig_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_serialConfigEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_netConfigEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_trapDestEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
static unsigned char *
read_serialConnectionEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
/*
* Forward declaration of write methods for writable objects:
*/
static int
write_filterProtocolDirDataLocalIndex_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_filterProtocolDirLocalIndex_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDirDescr_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDirAddressMapConfig_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDirHostConfig_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDirMatrixConfig_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDirOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDirStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDistControlDataSource_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDistControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_protocolDistControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_addressMapMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_addressMapControlDataSource_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_addressMapControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_addressMapControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlHostControlDataSource_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlHostControlNlMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlHostControlAlMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlHostControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlHostControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlMatrixControlDataSource_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlMatrixControlNlMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlMatrixControlAlMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlMatrixControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_hlMatrixControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_nlMatrixTopNControlMatrixIndex_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_nlMatrixTopNControlRateBase_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_nlMatrixTopNControlTimeRemaining_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_nlMatrixTopNControlRequestedSize_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_nlMatrixTopNControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_nlMatrixTopNControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_alMatrixTopNControlMatrixIndex_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_alMatrixTopNControlRateBase_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_alMatrixTopNControlTimeRemaining_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_alMatrixTopNControlRequestedSize_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_alMatrixTopNControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_alMatrixTopNControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_usrHistoryControlObjects_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_usrHistoryControlBucketsRequested_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_usrHistoryControlInterval_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_usrHistoryControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_usrHistoryControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_usrHistoryObjectVariable_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_usrHistoryObjectSampleType_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_probeDateTime_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_probeResetControl_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_probeDownloadFile_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_probeDownloadTFTPServer_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_probeDownloadAction_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialMode_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialProtocol_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialTimeout_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialModemInitString_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialModemHangUpString_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialModemConnectResp_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialModemNoConnectResp_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialDialoutTimeout_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_netConfigIPAddress_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_netConfigSubnetMask_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_netConfigStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_netDefaultGateway_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_trapDestCommunity_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_trapDestProtocol_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_trapDestAddress_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_trapDestOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_trapDestStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialConnectDestIpAddress_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialConnectType_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialConnectDialString_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialConnectSwitchConnectSeq_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialConnectSwitchDisconnectSeq_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialConnectSwitchResetSeq_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialConnectOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
static int
write_serialConnectStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
/*
* Definitions of tags that are used internally to read/write
* the selected object type. These tags should be unique.
*/
#define ETHERSTATSDROPPEDFRAMES 1
#define ETHERSTATSCREATETIME 2
static oid etherStats2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 1, 4, 1};
struct variable etherStats2Entry_variables[] = {
{ ETHERSTATSDROPPEDFRAMES, ASN_INTEGER, RONLY, read_etherStats2Entry_stub, 1, {1} },
{ ETHERSTATSCREATETIME, ASN_INTEGER, RONLY, read_etherStats2Entry_stub, 1, {2} },
};
#define TOKENRINGMLSTATSDROPPEDFRAMES 1
#define TOKENRINGMLSTATSCREATETIME 2
static oid tokenRingMLStats2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 1, 5, 1};
struct variable tokenRingMLStats2Entry_variables[] = {
{ TOKENRINGMLSTATSDROPPEDFRAMES, ASN_INTEGER, RONLY, read_tokenRingMLStats2Entry_stub, 1, {1} },
{ TOKENRINGMLSTATSCREATETIME, ASN_INTEGER, RONLY, read_tokenRingMLStats2Entry_stub, 1, {2} },
};
#define TOKENRINGPSTATSDROPPEDFRAMES 1
#define TOKENRINGPSTATSCREATETIME 2
static oid tokenRingPStats2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 1, 6, 1};
struct variable tokenRingPStats2Entry_variables[] = {
{ TOKENRINGPSTATSDROPPEDFRAMES, ASN_INTEGER, RONLY, read_tokenRingPStats2Entry_stub, 1, {1} },
{ TOKENRINGPSTATSCREATETIME, ASN_INTEGER, RONLY, read_tokenRingPStats2Entry_stub, 1, {2} },
};
#define HISTORYCONTROLDROPPEDFRAMES 1
static oid historyControl2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 2, 5, 1};
struct variable historyControl2Entry_variables[] = {
{ HISTORYCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_historyControl2Entry_stub, 1, {1} },
};
#define HOSTCONTROLDROPPEDFRAMES 1
#define HOSTCONTROLCREATETIME 2
static oid hostControl2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 4, 4, 1};
struct variable hostControl2Entry_variables[] = {
{ HOSTCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hostControl2Entry_stub, 1, {1} },
{ HOSTCONTROLCREATETIME, ASN_INTEGER, RONLY, read_hostControl2Entry_stub, 1, {2} },
};
#define MATRIXCONTROLDROPPEDFRAMES 1
#define MATRIXCONTROLCREATETIME 2
static oid matrixControl2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 6, 4, 1};
struct variable matrixControl2Entry_variables[] = {
{ MATRIXCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_matrixControl2Entry_stub, 1, {1} },
{ MATRIXCONTROLCREATETIME, ASN_INTEGER, RONLY, read_matrixControl2Entry_stub, 1, {2} },
};
#define CHANNELDROPPEDFRAMES 1
#define CHANNELCREATETIME 2
static oid channel2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 7, 3, 1};
struct variable channel2Entry_variables[] = {
{ CHANNELDROPPEDFRAMES, ASN_INTEGER, RONLY, read_channel2Entry_stub, 1, {1} },
{ CHANNELCREATETIME, ASN_INTEGER, RONLY, read_channel2Entry_stub, 1, {2} },
};
#define FILTERPROTOCOLDIRDATALOCALINDEX 1
#define FILTERPROTOCOLDIRLOCALINDEX 2
static oid filter2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 7, 4, 1};
struct variable filter2Entry_variables[] = {
{ FILTERPROTOCOLDIRDATALOCALINDEX, ASN_INTEGER, RWRITE, read_filter2Entry_stub, 1, {1} },
{ FILTERPROTOCOLDIRLOCALINDEX, ASN_INTEGER, RWRITE, read_filter2Entry_stub, 1, {2} },
};
#define RINGSTATIONCONTROLDROPPEDFRAMES 1
#define RINGSTATIONCONTROLCREATETIME 2
static oid ringStationControl2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 10, 7, 1};
struct variable ringStationControl2Entry_variables[] = {
{ RINGSTATIONCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_ringStationControl2Entry_stub, 1, {1} },
{ RINGSTATIONCONTROLCREATETIME, ASN_INTEGER, RONLY, read_ringStationControl2Entry_stub, 1, {2} },
};
#define SOURCEROUTINGSTATSDROPPEDFRAMES 1
#define SOURCEROUTINGSTATSCREATETIME 2
static oid sourceRoutingStats2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 10, 8, 1};
struct variable sourceRoutingStats2Entry_variables[] = {
{ SOURCEROUTINGSTATSDROPPEDFRAMES, ASN_INTEGER, RONLY, read_sourceRoutingStats2Entry_stub, 1, {1} },
{ SOURCEROUTINGSTATSCREATETIME, ASN_INTEGER, RONLY, read_sourceRoutingStats2Entry_stub, 1, {2} },
};
#define PROTOCOLDIRLASTCHANGE 1
static oid protocolDir_base[] = {1, 3, 6, 1, 2, 1, 16, 11};
struct variable protocolDir_variables[] = {
{ PROTOCOLDIRLASTCHANGE, ASN_INTEGER, RONLY, read_protocolDir_stub, 1, {1} },
};
#define PROTOCOLDIRLOCALINDEX 3
#define PROTOCOLDIRDESCR 4
#define PROTOCOLDIRTYPE 5
#define PROTOCOLDIRADDRESSMAPCONFIG 6
#define PROTOCOLDIRHOSTCONFIG 7
#define PROTOCOLDIRMATRIXCONFIG 8
#define PROTOCOLDIROWNER 9
#define PROTOCOLDIRSTATUS 10
static oid protocolDirEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 11, 2, 1};
struct variable protocolDirEntry_variables[] = {
{ PROTOCOLDIRLOCALINDEX, ASN_INTEGER, RONLY, read_protocolDirEntry_stub, 1, {3} },
{ PROTOCOLDIRDESCR, ASN_OCTET_STR, RWRITE, read_protocolDirEntry_stub, 1, {4} },
{ PROTOCOLDIRTYPE, ASN_OCTET_STR, RONLY, read_protocolDirEntry_stub, 1, {5} },
{ PROTOCOLDIRADDRESSMAPCONFIG, ASN_INTEGER, RWRITE, read_protocolDirEntry_stub, 1, {6} },
{ PROTOCOLDIRHOSTCONFIG, ASN_INTEGER, RWRITE, read_protocolDirEntry_stub, 1, {7} },
{ PROTOCOLDIRMATRIXCONFIG, ASN_INTEGER, RWRITE, read_protocolDirEntry_stub, 1, {8} },
{ PROTOCOLDIROWNER, ASN_OCTET_STR, RWRITE, read_protocolDirEntry_stub, 1, {9} },
{ PROTOCOLDIRSTATUS, ASN_INTEGER, RWRITE, read_protocolDirEntry_stub, 1, {10} },
};
#define PROTOCOLDISTCONTROLDATASOURCE 2
#define PROTOCOLDISTCONTROLDROPPEDFRAMES 3
#define PROTOCOLDISTCONTROLCREATETIME 4
#define PROTOCOLDISTCONTROLOWNER 5
#define PROTOCOLDISTCONTROLSTATUS 6
static oid protocolDistControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 12, 1, 1};
struct variable protocolDistControlEntry_variables[] = {
{ PROTOCOLDISTCONTROLDATASOURCE, ASN_OBJECT_ID, RWRITE, read_protocolDistControlEntry_stub, 1, {2} },
{ PROTOCOLDISTCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_protocolDistControlEntry_stub, 1, {3} },
{ PROTOCOLDISTCONTROLCREATETIME, ASN_INTEGER, RONLY, read_protocolDistControlEntry_stub, 1, {4} },
{ PROTOCOLDISTCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_protocolDistControlEntry_stub, 1, {5} },
{ PROTOCOLDISTCONTROLSTATUS, ASN_INTEGER, RWRITE, read_protocolDistControlEntry_stub, 1, {6} },
};
#define PROTOCOLDISTSTATSPKTS 1
#define PROTOCOLDISTSTATSOCTETS 2
static oid protocolDistStatsEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 12, 2, 1};
struct variable protocolDistStatsEntry_variables[] = {
{ PROTOCOLDISTSTATSPKTS, ASN_INTEGER, RONLY, read_protocolDistStatsEntry_stub, 1, {1} },
{ PROTOCOLDISTSTATSOCTETS, ASN_INTEGER, RONLY, read_protocolDistStatsEntry_stub, 1, {2} },
};
#define ADDRESSMAPINSERTS 1
#define ADDRESSMAPDELETES 2
#define ADDRESSMAPMAXDESIREDENTRIES 3
static oid addressMap_base[] = {1, 3, 6, 1, 2, 1, 16, 13};
struct variable addressMap_variables[] = {
{ ADDRESSMAPINSERTS, ASN_INTEGER, RONLY, read_addressMap_stub, 1, {1} },
{ ADDRESSMAPDELETES, ASN_INTEGER, RONLY, read_addressMap_stub, 1, {2} },
{ ADDRESSMAPMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_addressMap_stub, 1, {3} },
};
#define ADDRESSMAPCONTROLDATASOURCE 2
#define ADDRESSMAPCONTROLDROPPEDFRAMES 3
#define ADDRESSMAPCONTROLOWNER 4
#define ADDRESSMAPCONTROLSTATUS 5
static oid addressMapControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 13, 4, 1};
struct variable addressMapControlEntry_variables[] = {
{ ADDRESSMAPCONTROLDATASOURCE, ASN_OBJECT_ID, RWRITE, read_addressMapControlEntry_stub, 1, {2} },
{ ADDRESSMAPCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_addressMapControlEntry_stub, 1, {3} },
{ ADDRESSMAPCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_addressMapControlEntry_stub, 1, {4} },
{ ADDRESSMAPCONTROLSTATUS, ASN_INTEGER, RWRITE, read_addressMapControlEntry_stub, 1, {5} },
};
#define ADDRESSMAPPHYSICALADDRESS 4
#define ADDRESSMAPLASTCHANGE 5
static oid addressMapEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 13, 5, 1};
struct variable addressMapEntry_variables[] = {
{ ADDRESSMAPPHYSICALADDRESS, ASN_OCTET_STR, RONLY, read_addressMapEntry_stub, 1, {4} },
{ ADDRESSMAPLASTCHANGE, ASN_INTEGER, RONLY, read_addressMapEntry_stub, 1, {5} },
};
#define HLHOSTCONTROLDATASOURCE 2
#define HLHOSTCONTROLNLDROPPEDFRAMES 3
#define HLHOSTCONTROLNLINSERTS 4
#define HLHOSTCONTROLNLDELETES 5
#define HLHOSTCONTROLNLMAXDESIREDENTRIES 6
#define HLHOSTCONTROLALDROPPEDFRAMES 7
#define HLHOSTCONTROLALINSERTS 8
#define HLHOSTCONTROLALDELETES 9
#define HLHOSTCONTROLALMAXDESIREDENTRIES 10
#define HLHOSTCONTROLOWNER 11
#define HLHOSTCONTROLSTATUS 12
static oid hlHostControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 14, 1, 1};
struct variable hlHostControlEntry_variables[] = {
{ HLHOSTCONTROLDATASOURCE, ASN_OBJECT_ID, RWRITE, read_hlHostControlEntry_stub, 1, {2} },
{ HLHOSTCONTROLNLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {3} },
{ HLHOSTCONTROLNLINSERTS, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {4} },
{ HLHOSTCONTROLNLDELETES, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {5} },
{ HLHOSTCONTROLNLMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_hlHostControlEntry_stub, 1, {6} },
{ HLHOSTCONTROLALDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {7} },
{ HLHOSTCONTROLALINSERTS, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {8} },
{ HLHOSTCONTROLALDELETES, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {9} },
{ HLHOSTCONTROLALMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_hlHostControlEntry_stub, 1, {10} },
{ HLHOSTCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_hlHostControlEntry_stub, 1, {11} },
{ HLHOSTCONTROLSTATUS, ASN_INTEGER, RWRITE, read_hlHostControlEntry_stub, 1, {12} },
};
#define NLHOSTINPKTS 3
#define NLHOSTOUTPKTS 4
#define NLHOSTINOCTETS 5
#define NLHOSTOUTOCTETS 6
#define NLHOSTOUTMACNONUNICASTPKTS 7
#define NLHOSTCREATETIME 8
static oid nlHostEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 14, 2, 1};
struct variable nlHostEntry_variables[] = {
{ NLHOSTINPKTS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {3} },
{ NLHOSTOUTPKTS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {4} },
{ NLHOSTINOCTETS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {5} },
{ NLHOSTOUTOCTETS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {6} },
{ NLHOSTOUTMACNONUNICASTPKTS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {7} },
{ NLHOSTCREATETIME, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {8} },
};
#define HLMATRIXCONTROLDATASOURCE 2
#define HLMATRIXCONTROLNLDROPPEDFRAMES 3
#define HLMATRIXCONTROLNLINSERTS 4
#define HLMATRIXCONTROLNLDELETES 5
#define HLMATRIXCONTROLNLMAXDESIREDENTRIES 6
#define HLMATRIXCONTROLALDROPPEDFRAMES 7
#define HLMATRIXCONTROLALINSERTS 8
#define HLMATRIXCONTROLALDELETES 9
#define HLMATRIXCONTROLALMAXDESIREDENTRIES 10
#define HLMATRIXCONTROLOWNER 11
#define HLMATRIXCONTROLSTATUS 12
static oid hlMatrixControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 1, 1};
struct variable hlMatrixControlEntry_variables[] = {
{ HLMATRIXCONTROLDATASOURCE, ASN_OBJECT_ID, RWRITE, read_hlMatrixControlEntry_stub, 1, {2} },
{ HLMATRIXCONTROLNLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {3} },
{ HLMATRIXCONTROLNLINSERTS, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {4} },
{ HLMATRIXCONTROLNLDELETES, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {5} },
{ HLMATRIXCONTROLNLMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_hlMatrixControlEntry_stub, 1, {6} },
{ HLMATRIXCONTROLALDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {7} },
{ HLMATRIXCONTROLALINSERTS, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {8} },
{ HLMATRIXCONTROLALDELETES, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {9} },
{ HLMATRIXCONTROLALMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_hlMatrixControlEntry_stub, 1, {10} },
{ HLMATRIXCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_hlMatrixControlEntry_stub, 1, {11} },
{ HLMATRIXCONTROLSTATUS, ASN_INTEGER, RWRITE, read_hlMatrixControlEntry_stub, 1, {12} },
};
#define NLMATRIXSDPKTS 4
#define NLMATRIXSDOCTETS 5
#define NLMATRIXSDCREATETIME 6
static oid nlMatrixSDEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 2, 1};
struct variable nlMatrixSDEntry_variables[] = {
{ NLMATRIXSDPKTS, ASN_INTEGER, RONLY, read_nlMatrixSDEntry_stub, 1, {4} },
{ NLMATRIXSDOCTETS, ASN_INTEGER, RONLY, read_nlMatrixSDEntry_stub, 1, {5} },
{ NLMATRIXSDCREATETIME, ASN_INTEGER, RONLY, read_nlMatrixSDEntry_stub, 1, {6} },
};
#define NLMATRIXDSPKTS 4
#define NLMATRIXDSOCTETS 5
#define NLMATRIXDSCREATETIME 6
static oid nlMatrixDSEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 3, 1};
struct variable nlMatrixDSEntry_variables[] = {
{ NLMATRIXDSPKTS, ASN_INTEGER, RONLY, read_nlMatrixDSEntry_stub, 1, {4} },
{ NLMATRIXDSOCTETS, ASN_INTEGER, RONLY, read_nlMatrixDSEntry_stub, 1, {5} },
{ NLMATRIXDSCREATETIME, ASN_INTEGER, RONLY, read_nlMatrixDSEntry_stub, 1, {6} },
};
#define NLMATRIXTOPNCONTROLMATRIXINDEX 2
#define NLMATRIXTOPNCONTROLRATEBASE 3
#define NLMATRIXTOPNCONTROLTIMEREMAINING 4
#define NLMATRIXTOPNCONTROLGENERATEDREPORTS 5
#define NLMATRIXTOPNCONTROLDURATION 6
#define NLMATRIXTOPNCONTROLREQUESTEDSIZE 7
#define NLMATRIXTOPNCONTROLGRANTEDSIZE 8
#define NLMATRIXTOPNCONTROLSTARTTIME 9
#define NLMATRIXTOPNCONTROLOWNER 10
#define NLMATRIXTOPNCONTROLSTATUS 11
static oid nlMatrixTopNControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 4, 1};
struct variable nlMatrixTopNControlEntry_variables[] = {
{ NLMATRIXTOPNCONTROLMATRIXINDEX, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {2} },
{ NLMATRIXTOPNCONTROLRATEBASE, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {3} },
{ NLMATRIXTOPNCONTROLTIMEREMAINING, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {4} },
{ NLMATRIXTOPNCONTROLGENERATEDREPORTS, ASN_INTEGER, RONLY, read_nlMatrixTopNControlEntry_stub, 1, {5} },
{ NLMATRIXTOPNCONTROLDURATION, ASN_INTEGER, RONLY, read_nlMatrixTopNControlEntry_stub, 1, {6} },
{ NLMATRIXTOPNCONTROLREQUESTEDSIZE, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {7} },
{ NLMATRIXTOPNCONTROLGRANTEDSIZE, ASN_INTEGER, RONLY, read_nlMatrixTopNControlEntry_stub, 1, {8} },
{ NLMATRIXTOPNCONTROLSTARTTIME, ASN_INTEGER, RONLY, read_nlMatrixTopNControlEntry_stub, 1, {9} },
{ NLMATRIXTOPNCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {10} },
{ NLMATRIXTOPNCONTROLSTATUS, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {11} },
};
#define NLMATRIXTOPNPROTOCOLDIRLOCALINDEX 2
#define NLMATRIXTOPNSOURCEADDRESS 3
#define NLMATRIXTOPNDESTADDRESS 4
#define NLMATRIXTOPNPKTRATE 5
#define NLMATRIXTOPNREVERSEPKTRATE 6
#define NLMATRIXTOPNOCTETRATE 7
#define NLMATRIXTOPNREVERSEOCTETRATE 8
static oid nlMatrixTopNEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 5, 1};
struct variable nlMatrixTopNEntry_variables[] = {
{ NLMATRIXTOPNPROTOCOLDIRLOCALINDEX, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {2} },
{ NLMATRIXTOPNSOURCEADDRESS, ASN_OCTET_STR, RONLY, read_nlMatrixTopNEntry_stub, 1, {3} },
{ NLMATRIXTOPNDESTADDRESS, ASN_OCTET_STR, RONLY, read_nlMatrixTopNEntry_stub, 1, {4} },
{ NLMATRIXTOPNPKTRATE, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {5} },
{ NLMATRIXTOPNREVERSEPKTRATE, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {6} },
{ NLMATRIXTOPNOCTETRATE, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {7} },
{ NLMATRIXTOPNREVERSEOCTETRATE, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {8} },
};
#define ALHOSTINPKTS 2
#define ALHOSTOUTPKTS 3
#define ALHOSTINOCTETS 4
#define ALHOSTOUTOCTETS 5
#define ALHOSTCREATETIME 6
static oid alHostEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 16, 1, 1};
struct variable alHostEntry_variables[] = {
{ ALHOSTINPKTS, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {2} },
{ ALHOSTOUTPKTS, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {3} },
{ ALHOSTINOCTETS, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {4} },
{ ALHOSTOUTOCTETS, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {5} },
{ ALHOSTCREATETIME, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {6} },
};
#define ALMATRIXSDPKTS 2
#define ALMATRIXSDOCTETS 3
#define ALMATRIXSDCREATETIME 4
static oid alMatrixSDEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 17, 1, 1};
struct variable alMatrixSDEntry_variables[] = {
{ ALMATRIXSDPKTS, ASN_INTEGER, RONLY, read_alMatrixSDEntry_stub, 1, {2} },
{ ALMATRIXSDOCTETS, ASN_INTEGER, RONLY, read_alMatrixSDEntry_stub, 1, {3} },
{ ALMATRIXSDCREATETIME, ASN_INTEGER, RONLY, read_alMatrixSDEntry_stub, 1, {4} },
};
#define ALMATRIXDSPKTS 2
#define ALMATRIXDSOCTETS 3
#define ALMATRIXDSCREATETIME 4
static oid alMatrixDSEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 17, 2, 1};
struct variable alMatrixDSEntry_variables[] = {
{ ALMATRIXDSPKTS, ASN_INTEGER, RONLY, read_alMatrixDSEntry_stub, 1, {2} },
{ ALMATRIXDSOCTETS, ASN_INTEGER, RONLY, read_alMatrixDSEntry_stub, 1, {3} },
{ ALMATRIXDSCREATETIME, ASN_INTEGER, RONLY, read_alMatrixDSEntry_stub, 1, {4} },
};
#define ALMATRIXTOPNCONTROLMATRIXINDEX 2
#define ALMATRIXTOPNCONTROLRATEBASE 3
#define ALMATRIXTOPNCONTROLTIMEREMAINING 4
#define ALMATRIXTOPNCONTROLGENERATEDREPORTS 5
#define ALMATRIXTOPNCONTROLDURATION 6
#define ALMATRIXTOPNCONTROLREQUESTEDSIZE 7
#define ALMATRIXTOPNCONTROLGRANTEDSIZE 8
#define ALMATRIXTOPNCONTROLSTARTTIME 9
#define ALMATRIXTOPNCONTROLOWNER 10
#define ALMATRIXTOPNCONTROLSTATUS 11
static oid alMatrixTopNControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 17, 3, 1};
struct variable alMatrixTopNControlEntry_variables[] = {
{ ALMATRIXTOPNCONTROLMATRIXINDEX, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {2} },
{ ALMATRIXTOPNCONTROLRATEBASE, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {3} },
{ ALMATRIXTOPNCONTROLTIMEREMAINING, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {4} },
{ ALMATRIXTOPNCONTROLGENERATEDREPORTS, ASN_INTEGER, RONLY, read_alMatrixTopNControlEntry_stub, 1, {5} },
{ ALMATRIXTOPNCONTROLDURATION, ASN_INTEGER, RONLY, read_alMatrixTopNControlEntry_stub, 1, {6} },
{ ALMATRIXTOPNCONTROLREQUESTEDSIZE, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {7} },
{ ALMATRIXTOPNCONTROLGRANTEDSIZE, ASN_INTEGER, RONLY, read_alMatrixTopNControlEntry_stub, 1, {8} },
{ ALMATRIXTOPNCONTROLSTARTTIME, ASN_INTEGER, RONLY, read_alMatrixTopNControlEntry_stub, 1, {9} },
{ ALMATRIXTOPNCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {10} },
{ ALMATRIXTOPNCONTROLSTATUS, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {11} },
};
#define ALMATRIXTOPNPROTOCOLDIRLOCALINDEX 2
#define ALMATRIXTOPNSOURCEADDRESS 3
#define ALMATRIXTOPNDESTADDRESS 4
#define ALMATRIXTOPNAPPPROTOCOLDIRLOCALINDEX 5
#define ALMATRIXTOPNPKTRATE 6
#define ALMATRIXTOPNREVERSEPKTRATE 7
#define ALMATRIXTOPNOCTETRATE 8
#define ALMATRIXTOPNREVERSEOCTETRATE 9
static oid alMatrixTopNEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 17, 4, 1};
struct variable alMatrixTopNEntry_variables[] = {
{ ALMATRIXTOPNPROTOCOLDIRLOCALINDEX, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {2} },
{ ALMATRIXTOPNSOURCEADDRESS, ASN_OCTET_STR, RONLY, read_alMatrixTopNEntry_stub, 1, {3} },
{ ALMATRIXTOPNDESTADDRESS, ASN_OCTET_STR, RONLY, read_alMatrixTopNEntry_stub, 1, {4} },
{ ALMATRIXTOPNAPPPROTOCOLDIRLOCALINDEX, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {5} },
{ ALMATRIXTOPNPKTRATE, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {6} },
{ ALMATRIXTOPNREVERSEPKTRATE, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {7} },
{ ALMATRIXTOPNOCTETRATE, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {8} },
{ ALMATRIXTOPNREVERSEOCTETRATE, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {9} },
};
#define USRHISTORYCONTROLOBJECTS 2
#define USRHISTORYCONTROLBUCKETSREQUESTED 3
#define USRHISTORYCONTROLBUCKETSGRANTED 4
#define USRHISTORYCONTROLINTERVAL 5
#define USRHISTORYCONTROLOWNER 6
#define USRHISTORYCONTROLSTATUS 7
static oid usrHistoryControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 18, 1, 1};
struct variable usrHistoryControlEntry_variables[] = {
{ USRHISTORYCONTROLOBJECTS, ASN_INTEGER, RWRITE, read_usrHistoryControlEntry_stub, 1, {2} },
{ USRHISTORYCONTROLBUCKETSREQUESTED, ASN_INTEGER, RWRITE, read_usrHistoryControlEntry_stub, 1, {3} },
{ USRHISTORYCONTROLBUCKETSGRANTED, ASN_INTEGER, RONLY, read_usrHistoryControlEntry_stub, 1, {4} },
{ USRHISTORYCONTROLINTERVAL, ASN_INTEGER, RWRITE, read_usrHistoryControlEntry_stub, 1, {5} },
{ USRHISTORYCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_usrHistoryControlEntry_stub, 1, {6} },
{ USRHISTORYCONTROLSTATUS, ASN_INTEGER, RWRITE, read_usrHistoryControlEntry_stub, 1, {7} },
};
#define USRHISTORYOBJECTVARIABLE 2
#define USRHISTORYOBJECTSAMPLETYPE 3
static oid usrHistoryObjectEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 18, 2, 1};
struct variable usrHistoryObjectEntry_variables[] = {
{ USRHISTORYOBJECTVARIABLE, ASN_OBJECT_ID, RWRITE, read_usrHistoryObjectEntry_stub, 1, {2} },
{ USRHISTORYOBJECTSAMPLETYPE, ASN_INTEGER, RWRITE, read_usrHistoryObjectEntry_stub, 1, {3} },
};
#define USRHISTORYINTERVALSTART 2
#define USRHISTORYINTERVALEND 3
#define USRHISTORYABSVALUE 4
#define USRHISTORYVALSTATUS 5
static oid usrHistoryEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 18, 3, 1};
struct variable usrHistoryEntry_variables[] = {
{ USRHISTORYINTERVALSTART, ASN_INTEGER, RONLY, read_usrHistoryEntry_stub, 1, {2} },
{ USRHISTORYINTERVALEND, ASN_INTEGER, RONLY, read_usrHistoryEntry_stub, 1, {3} },
{ USRHISTORYABSVALUE, ASN_INTEGER, RONLY, read_usrHistoryEntry_stub, 1, {4} },
{ USRHISTORYVALSTATUS, ASN_INTEGER, RONLY, read_usrHistoryEntry_stub, 1, {5} },
};
#define PROBECAPABILITIES 1
#define PROBESOFTWAREREV 2
#define PROBEHARDWAREREV 3
#define PROBEDATETIME 4
#define PROBERESETCONTROL 5
#define PROBEDOWNLOADFILE 6
#define PROBEDOWNLOADTFTPSERVER 7
#define PROBEDOWNLOADACTION 8
#define PROBEDOWNLOADSTATUS 9
#define NETDEFAULTGATEWAY 12
static oid probeConfig_base[] = {1, 3, 6, 1, 2, 1, 16, 19};
struct variable probeConfig_variables[] = {
{ PROBECAPABILITIES, ASN_OCTET_STR, RONLY, read_probeConfig_stub, 1, {1} },
{ PROBESOFTWAREREV, ASN_OCTET_STR, RONLY, read_probeConfig_stub, 1, {2} },
{ PROBEHARDWAREREV, ASN_OCTET_STR, RONLY, read_probeConfig_stub, 1, {3} },
{ PROBEDATETIME, ASN_OCTET_STR, RWRITE, read_probeConfig_stub, 1, {4} },
{ PROBERESETCONTROL, ASN_INTEGER, RWRITE, read_probeConfig_stub, 1, {5} },
{ PROBEDOWNLOADFILE, ASN_OCTET_STR, RWRITE, read_probeConfig_stub, 1, {6} },
{ PROBEDOWNLOADTFTPSERVER, ASN_OCTET_STR, RWRITE, read_probeConfig_stub, 1, {7} },
{ PROBEDOWNLOADACTION, ASN_INTEGER, RWRITE, read_probeConfig_stub, 1, {8} },
{ PROBEDOWNLOADSTATUS, ASN_INTEGER, RONLY, read_probeConfig_stub, 1, {9} },
{ NETDEFAULTGATEWAY, ASN_OCTET_STR, RWRITE, read_probeConfig_stub, 1, {12} },
};
#define SERIALMODE 1
#define SERIALPROTOCOL 2
#define SERIALTIMEOUT 3
#define SERIALMODEMINITSTRING 4
#define SERIALMODEMHANGUPSTRING 5
#define SERIALMODEMCONNECTRESP 6
#define SERIALMODEMNOCONNECTRESP 7
#define SERIALDIALOUTTIMEOUT 8
#define SERIALSTATUS 9
static oid serialConfigEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 19, 10, 1};
struct variable serialConfigEntry_variables[] = {
{ SERIALMODE, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {1} },
{ SERIALPROTOCOL, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {2} },
{ SERIALTIMEOUT, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {3} },
{ SERIALMODEMINITSTRING, ASN_OCTET_STR, RWRITE, read_serialConfigEntry_stub, 1, {4} },
{ SERIALMODEMHANGUPSTRING, ASN_OCTET_STR, RWRITE, read_serialConfigEntry_stub, 1, {5} },
{ SERIALMODEMCONNECTRESP, ASN_OCTET_STR, RWRITE, read_serialConfigEntry_stub, 1, {6} },
{ SERIALMODEMNOCONNECTRESP, ASN_OCTET_STR, RWRITE, read_serialConfigEntry_stub, 1, {7} },
{ SERIALDIALOUTTIMEOUT, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {8} },
{ SERIALSTATUS, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {9} },
};
#define NETCONFIGIPADDRESS 1
#define NETCONFIGSUBNETMASK 2
#define NETCONFIGSTATUS 3
static oid netConfigEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 19, 11, 1};
struct variable netConfigEntry_variables[] = {
{ NETCONFIGIPADDRESS, ASN_OCTET_STR, RWRITE, read_netConfigEntry_stub, 1, {1} },
{ NETCONFIGSUBNETMASK, ASN_OCTET_STR, RWRITE, read_netConfigEntry_stub, 1, {2} },
{ NETCONFIGSTATUS, ASN_INTEGER, RWRITE, read_netConfigEntry_stub, 1, {3} },
};
#define TRAPDESTCOMMUNITY 2
#define TRAPDESTPROTOCOL 3
#define TRAPDESTADDRESS 4
#define TRAPDESTOWNER 5
#define TRAPDESTSTATUS 6
static oid trapDestEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 19, 13, 1};
struct variable trapDestEntry_variables[] = {
{ TRAPDESTCOMMUNITY, ASN_OCTET_STR, RWRITE, read_trapDestEntry_stub, 1, {2} },
{ TRAPDESTPROTOCOL, ASN_INTEGER, RWRITE, read_trapDestEntry_stub, 1, {3} },
{ TRAPDESTADDRESS, ASN_OCTET_STR, RWRITE, read_trapDestEntry_stub, 1, {4} },
{ TRAPDESTOWNER, ASN_OCTET_STR, RWRITE, read_trapDestEntry_stub, 1, {5} },
{ TRAPDESTSTATUS, ASN_INTEGER, RWRITE, read_trapDestEntry_stub, 1, {6} },
};
#define SERIALCONNECTDESTIPADDRESS 2
#define SERIALCONNECTTYPE 3
#define SERIALCONNECTDIALSTRING 4
#define SERIALCONNECTSWITCHCONNECTSEQ 5
#define SERIALCONNECTSWITCHDISCONNECTSEQ 6
#define SERIALCONNECTSWITCHRESETSEQ 7
#define SERIALCONNECTOWNER 8
#define SERIALCONNECTSTATUS 9
static oid serialConnectionEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 19, 14, 1};
struct variable serialConnectionEntry_variables[] = {
{ SERIALCONNECTDESTIPADDRESS, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {2} },
{ SERIALCONNECTTYPE, ASN_INTEGER, RWRITE, read_serialConnectionEntry_stub, 1, {3} },
{ SERIALCONNECTDIALSTRING, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {4} },
{ SERIALCONNECTSWITCHCONNECTSEQ, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {5} },
{ SERIALCONNECTSWITCHDISCONNECTSEQ, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {6} },
{ SERIALCONNECTSWITCHRESETSEQ, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {7} },
{ SERIALCONNECTOWNER, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {8} },
{ SERIALCONNECTSTATUS, ASN_INTEGER, RWRITE, read_serialConnectionEntry_stub, 1, {9} },
};
/*
* Registration functions for the various MIB groups.
*/
int register_etherStats2Entry()
{
return register_mib("etherStats2Entry",
etherStats2Entry_variables,
sizeof(struct variable),
sizeof(etherStats2Entry_variables)/sizeof(struct variable),
etherStats2Entry_base,
sizeof(etherStats2Entry_base)/sizeof(oid));
};
int register_tokenRingMLStats2Entry()
{
return register_mib("tokenRingMLStats2Entry",
tokenRingMLStats2Entry_variables,
sizeof(struct variable),
sizeof(tokenRingMLStats2Entry_variables)/sizeof(struct variable),
tokenRingMLStats2Entry_base,
sizeof(tokenRingMLStats2Entry_base)/sizeof(oid));
};
int register_tokenRingPStats2Entry()
{
return register_mib("tokenRingPStats2Entry",
tokenRingPStats2Entry_variables,
sizeof(struct variable),
sizeof(tokenRingPStats2Entry_variables)/sizeof(struct variable),
tokenRingPStats2Entry_base,
sizeof(tokenRingPStats2Entry_base)/sizeof(oid));
};
int register_historyControl2Entry()
{
return register_mib("historyControl2Entry",
historyControl2Entry_variables,
sizeof(struct variable),
sizeof(historyControl2Entry_variables)/sizeof(struct variable),
historyControl2Entry_base,
sizeof(historyControl2Entry_base)/sizeof(oid));
};
int register_hostControl2Entry()
{
return register_mib("hostControl2Entry",
hostControl2Entry_variables,
sizeof(struct variable),
sizeof(hostControl2Entry_variables)/sizeof(struct variable),
hostControl2Entry_base,
sizeof(hostControl2Entry_base)/sizeof(oid));
};
int register_matrixControl2Entry()
{
return register_mib("matrixControl2Entry",
matrixControl2Entry_variables,
sizeof(struct variable),
sizeof(matrixControl2Entry_variables)/sizeof(struct variable),
matrixControl2Entry_base,
sizeof(matrixControl2Entry_base)/sizeof(oid));
};
int register_channel2Entry()
{
return register_mib("channel2Entry",
channel2Entry_variables,
sizeof(struct variable),
sizeof(channel2Entry_variables)/sizeof(struct variable),
channel2Entry_base,
sizeof(channel2Entry_base)/sizeof(oid));
};
int register_filter2Entry()
{
return register_mib("filter2Entry",
filter2Entry_variables,
sizeof(struct variable),
sizeof(filter2Entry_variables)/sizeof(struct variable),
filter2Entry_base,
sizeof(filter2Entry_base)/sizeof(oid));
};
int register_ringStationControl2Entry()
{
return register_mib("ringStationControl2Entry",
ringStationControl2Entry_variables,
sizeof(struct variable),
sizeof(ringStationControl2Entry_variables)/sizeof(struct variable),
ringStationControl2Entry_base,
sizeof(ringStationControl2Entry_base)/sizeof(oid));
};
int register_sourceRoutingStats2Entry()
{
return register_mib("sourceRoutingStats2Entry",
sourceRoutingStats2Entry_variables,
sizeof(struct variable),
sizeof(sourceRoutingStats2Entry_variables)/sizeof(struct variable),
sourceRoutingStats2Entry_base,
sizeof(sourceRoutingStats2Entry_base)/sizeof(oid));
};
int register_protocolDir()
{
return register_mib("protocolDir",
protocolDir_variables,
sizeof(struct variable),
sizeof(protocolDir_variables)/sizeof(struct variable),
protocolDir_base,
sizeof(protocolDir_base)/sizeof(oid));
};
int register_protocolDirEntry()
{
return register_mib("protocolDirEntry",
protocolDirEntry_variables,
sizeof(struct variable),
sizeof(protocolDirEntry_variables)/sizeof(struct variable),
protocolDirEntry_base,
sizeof(protocolDirEntry_base)/sizeof(oid));
};
int register_protocolDistControlEntry()
{
return register_mib("protocolDistControlEntry",
protocolDistControlEntry_variables,
sizeof(struct variable),
sizeof(protocolDistControlEntry_variables)/sizeof(struct variable),
protocolDistControlEntry_base,
sizeof(protocolDistControlEntry_base)/sizeof(oid));
};
int register_protocolDistStatsEntry()
{
return register_mib("protocolDistStatsEntry",
protocolDistStatsEntry_variables,
sizeof(struct variable),
sizeof(protocolDistStatsEntry_variables)/sizeof(struct variable),
protocolDistStatsEntry_base,
sizeof(protocolDistStatsEntry_base)/sizeof(oid));
};
int register_addressMap()
{
return register_mib("addressMap",
addressMap_variables,
sizeof(struct variable),
sizeof(addressMap_variables)/sizeof(struct variable),
addressMap_base,
sizeof(addressMap_base)/sizeof(oid));
};
int register_addressMapControlEntry()
{
return register_mib("addressMapControlEntry",
addressMapControlEntry_variables,
sizeof(struct variable),
sizeof(addressMapControlEntry_variables)/sizeof(struct variable),
addressMapControlEntry_base,
sizeof(addressMapControlEntry_base)/sizeof(oid));
};
int register_addressMapEntry()
{
return register_mib("addressMapEntry",
addressMapEntry_variables,
sizeof(struct variable),
sizeof(addressMapEntry_variables)/sizeof(struct variable),
addressMapEntry_base,
sizeof(addressMapEntry_base)/sizeof(oid));
};
int register_hlHostControlEntry()
{
return register_mib("hlHostControlEntry",
hlHostControlEntry_variables,
sizeof(struct variable),
sizeof(hlHostControlEntry_variables)/sizeof(struct variable),
hlHostControlEntry_base,
sizeof(hlHostControlEntry_base)/sizeof(oid));
};
int register_nlHostEntry()
{
return register_mib("nlHostEntry",
nlHostEntry_variables,
sizeof(struct variable),
sizeof(nlHostEntry_variables)/sizeof(struct variable),
nlHostEntry_base,
sizeof(nlHostEntry_base)/sizeof(oid));
};
int register_hlMatrixControlEntry()
{
return register_mib("hlMatrixControlEntry",
hlMatrixControlEntry_variables,
sizeof(struct variable),
sizeof(hlMatrixControlEntry_variables)/sizeof(struct variable),
hlMatrixControlEntry_base,
sizeof(hlMatrixControlEntry_base)/sizeof(oid));
};
int register_nlMatrixSDEntry()
{
return register_mib("nlMatrixSDEntry",
nlMatrixSDEntry_variables,
sizeof(struct variable),
sizeof(nlMatrixSDEntry_variables)/sizeof(struct variable),
nlMatrixSDEntry_base,
sizeof(nlMatrixSDEntry_base)/sizeof(oid));
};
int register_nlMatrixDSEntry()
{
return register_mib("nlMatrixDSEntry",
nlMatrixDSEntry_variables,
sizeof(struct variable),
sizeof(nlMatrixDSEntry_variables)/sizeof(struct variable),
nlMatrixDSEntry_base,
sizeof(nlMatrixDSEntry_base)/sizeof(oid));
};
int register_nlMatrixTopNControlEntry()
{
return register_mib("nlMatrixTopNControlEntry",
nlMatrixTopNControlEntry_variables,
sizeof(struct variable),
sizeof(nlMatrixTopNControlEntry_variables)/sizeof(struct variable),
nlMatrixTopNControlEntry_base,
sizeof(nlMatrixTopNControlEntry_base)/sizeof(oid));
};
int register_nlMatrixTopNEntry()
{
return register_mib("nlMatrixTopNEntry",
nlMatrixTopNEntry_variables,
sizeof(struct variable),
sizeof(nlMatrixTopNEntry_variables)/sizeof(struct variable),
nlMatrixTopNEntry_base,
sizeof(nlMatrixTopNEntry_base)/sizeof(oid));
};
int register_alHostEntry()
{
return register_mib("alHostEntry",
alHostEntry_variables,
sizeof(struct variable),
sizeof(alHostEntry_variables)/sizeof(struct variable),
alHostEntry_base,
sizeof(alHostEntry_base)/sizeof(oid));
};
int register_alMatrixSDEntry()
{
return register_mib("alMatrixSDEntry",
alMatrixSDEntry_variables,
sizeof(struct variable),
sizeof(alMatrixSDEntry_variables)/sizeof(struct variable),
alMatrixSDEntry_base,
sizeof(alMatrixSDEntry_base)/sizeof(oid));
};
int register_alMatrixDSEntry()
{
return register_mib("alMatrixDSEntry",
alMatrixDSEntry_variables,
sizeof(struct variable),
sizeof(alMatrixDSEntry_variables)/sizeof(struct variable),
alMatrixDSEntry_base,
sizeof(alMatrixDSEntry_base)/sizeof(oid));
};
int register_alMatrixTopNControlEntry()
{
return register_mib("alMatrixTopNControlEntry",
alMatrixTopNControlEntry_variables,
sizeof(struct variable),
sizeof(alMatrixTopNControlEntry_variables)/sizeof(struct variable),
alMatrixTopNControlEntry_base,
sizeof(alMatrixTopNControlEntry_base)/sizeof(oid));
};
int register_alMatrixTopNEntry()
{
return register_mib("alMatrixTopNEntry",
alMatrixTopNEntry_variables,
sizeof(struct variable),
sizeof(alMatrixTopNEntry_variables)/sizeof(struct variable),
alMatrixTopNEntry_base,
sizeof(alMatrixTopNEntry_base)/sizeof(oid));
};
int register_usrHistoryControlEntry()
{
return register_mib("usrHistoryControlEntry",
usrHistoryControlEntry_variables,
sizeof(struct variable),
sizeof(usrHistoryControlEntry_variables)/sizeof(struct variable),
usrHistoryControlEntry_base,
sizeof(usrHistoryControlEntry_base)/sizeof(oid));
};
int register_usrHistoryObjectEntry()
{
return register_mib("usrHistoryObjectEntry",
usrHistoryObjectEntry_variables,
sizeof(struct variable),
sizeof(usrHistoryObjectEntry_variables)/sizeof(struct variable),
usrHistoryObjectEntry_base,
sizeof(usrHistoryObjectEntry_base)/sizeof(oid));
};
int register_usrHistoryEntry()
{
return register_mib("usrHistoryEntry",
usrHistoryEntry_variables,
sizeof(struct variable),
sizeof(usrHistoryEntry_variables)/sizeof(struct variable),
usrHistoryEntry_base,
sizeof(usrHistoryEntry_base)/sizeof(oid));
};
int register_probeConfig()
{
return register_mib("probeConfig",
probeConfig_variables,
sizeof(struct variable),
sizeof(probeConfig_variables)/sizeof(struct variable),
probeConfig_base,
sizeof(probeConfig_base)/sizeof(oid));
};
int register_serialConfigEntry()
{
return register_mib("serialConfigEntry",
serialConfigEntry_variables,
sizeof(struct variable),
sizeof(serialConfigEntry_variables)/sizeof(struct variable),
serialConfigEntry_base,
sizeof(serialConfigEntry_base)/sizeof(oid));
};
int register_netConfigEntry()
{
return register_mib("netConfigEntry",
netConfigEntry_variables,
sizeof(struct variable),
sizeof(netConfigEntry_variables)/sizeof(struct variable),
netConfigEntry_base,
sizeof(netConfigEntry_base)/sizeof(oid));
};
int register_trapDestEntry()
{
return register_mib("trapDestEntry",
trapDestEntry_variables,
sizeof(struct variable),
sizeof(trapDestEntry_variables)/sizeof(struct variable),
trapDestEntry_base,
sizeof(trapDestEntry_base)/sizeof(oid));
};
int register_serialConnectionEntry()
{
return register_mib("serialConnectionEntry",
serialConnectionEntry_variables,
sizeof(struct variable),
sizeof(serialConnectionEntry_variables)/sizeof(struct variable),
serialConnectionEntry_base,
sizeof(serialConnectionEntry_base)/sizeof(oid));
};
/*
* Read methods for groups of scalars and tables:
*/
static unsigned char *
read_etherStats2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static etherStats2Entry_t etherStats2Entry;
/* call the user supplied function to retrieve values */
read_etherStats2Entry(ðerStats2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case ETHERSTATSDROPPEDFRAMES:
return (unsigned char *) ðerStats2Entry.etherStatsDroppedFrames;
case ETHERSTATSCREATETIME:
return (unsigned char *) ðerStats2Entry.etherStatsCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_tokenRingMLStats2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static tokenRingMLStats2Entry_t tokenRingMLStats2Entry;
/* call the user supplied function to retrieve values */
read_tokenRingMLStats2Entry(&tokenRingMLStats2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case TOKENRINGMLSTATSDROPPEDFRAMES:
return (unsigned char *) &tokenRingMLStats2Entry.tokenRingMLStatsDroppedFrames;
case TOKENRINGMLSTATSCREATETIME:
return (unsigned char *) &tokenRingMLStats2Entry.tokenRingMLStatsCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_tokenRingPStats2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static tokenRingPStats2Entry_t tokenRingPStats2Entry;
/* call the user supplied function to retrieve values */
read_tokenRingPStats2Entry(&tokenRingPStats2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case TOKENRINGPSTATSDROPPEDFRAMES:
return (unsigned char *) &tokenRingPStats2Entry.tokenRingPStatsDroppedFrames;
case TOKENRINGPSTATSCREATETIME:
return (unsigned char *) &tokenRingPStats2Entry.tokenRingPStatsCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_historyControl2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static historyControl2Entry_t historyControl2Entry;
/* call the user supplied function to retrieve values */
read_historyControl2Entry(&historyControl2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case HISTORYCONTROLDROPPEDFRAMES:
return (unsigned char *) &historyControl2Entry.historyControlDroppedFrames;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_hostControl2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static hostControl2Entry_t hostControl2Entry;
/* call the user supplied function to retrieve values */
read_hostControl2Entry(&hostControl2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case HOSTCONTROLDROPPEDFRAMES:
return (unsigned char *) &hostControl2Entry.hostControlDroppedFrames;
case HOSTCONTROLCREATETIME:
return (unsigned char *) &hostControl2Entry.hostControlCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_matrixControl2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static matrixControl2Entry_t matrixControl2Entry;
/* call the user supplied function to retrieve values */
read_matrixControl2Entry(&matrixControl2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case MATRIXCONTROLDROPPEDFRAMES:
return (unsigned char *) &matrixControl2Entry.matrixControlDroppedFrames;
case MATRIXCONTROLCREATETIME:
return (unsigned char *) &matrixControl2Entry.matrixControlCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_channel2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static channel2Entry_t channel2Entry;
/* call the user supplied function to retrieve values */
read_channel2Entry(&channel2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case CHANNELDROPPEDFRAMES:
return (unsigned char *) &channel2Entry.channelDroppedFrames;
case CHANNELCREATETIME:
return (unsigned char *) &channel2Entry.channelCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_filter2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static filter2Entry_t filter2Entry;
/* call the user supplied function to retrieve values */
read_filter2Entry(&filter2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case FILTERPROTOCOLDIRDATALOCALINDEX:
return (unsigned char *) &filter2Entry.filterProtocolDirDataLocalIndex;
case FILTERPROTOCOLDIRLOCALINDEX:
return (unsigned char *) &filter2Entry.filterProtocolDirLocalIndex;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_ringStationControl2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static ringStationControl2Entry_t ringStationControl2Entry;
/* call the user supplied function to retrieve values */
read_ringStationControl2Entry(&ringStationControl2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case RINGSTATIONCONTROLDROPPEDFRAMES:
return (unsigned char *) &ringStationControl2Entry.ringStationControlDroppedFrames;
case RINGSTATIONCONTROLCREATETIME:
return (unsigned char *) &ringStationControl2Entry.ringStationControlCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_sourceRoutingStats2Entry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static sourceRoutingStats2Entry_t sourceRoutingStats2Entry;
/* call the user supplied function to retrieve values */
read_sourceRoutingStats2Entry(&sourceRoutingStats2Entry);
/* return the current value of the variable */
switch (vp->magic) {
case SOURCEROUTINGSTATSDROPPEDFRAMES:
return (unsigned char *) &sourceRoutingStats2Entry.sourceRoutingStatsDroppedFrames;
case SOURCEROUTINGSTATSCREATETIME:
return (unsigned char *) &sourceRoutingStats2Entry.sourceRoutingStatsCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_protocolDir_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static protocolDir_t protocolDir;
/* check whether the instance identifier is valid */
if (header_generic(vp, name, length, exact, var_len,
write_method) == MATCH_FAILED) {
return NULL;
}
/* call the user supplied function to retrieve values */
read_protocolDir(&protocolDir);
/* return the current value of the variable */
switch (vp->magic) {
case PROTOCOLDIRLASTCHANGE:
return (unsigned char *) &protocolDir.protocolDirLastChange;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_protocolDirEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static protocolDirEntry_t protocolDirEntry;
/* call the user supplied function to retrieve values */
read_protocolDirEntry(&protocolDirEntry);
/* return the current value of the variable */
switch (vp->magic) {
case PROTOCOLDIRLOCALINDEX:
return (unsigned char *) &protocolDirEntry.protocolDirLocalIndex;
case PROTOCOLDIRDESCR:
*var_len = protocolDirEntry._protocolDirDescrLength;
return (unsigned char *) protocolDirEntry.protocolDirDescr;
case PROTOCOLDIRTYPE:
*var_len = protocolDirEntry._protocolDirTypeLength;
return (unsigned char *) protocolDirEntry.protocolDirType;
case PROTOCOLDIRADDRESSMAPCONFIG:
return (unsigned char *) &protocolDirEntry.protocolDirAddressMapConfig;
case PROTOCOLDIRHOSTCONFIG:
return (unsigned char *) &protocolDirEntry.protocolDirHostConfig;
case PROTOCOLDIRMATRIXCONFIG:
return (unsigned char *) &protocolDirEntry.protocolDirMatrixConfig;
case PROTOCOLDIROWNER:
*var_len = protocolDirEntry._protocolDirOwnerLength;
return (unsigned char *) protocolDirEntry.protocolDirOwner;
case PROTOCOLDIRSTATUS:
return (unsigned char *) &protocolDirEntry.protocolDirStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_protocolDistControlEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static protocolDistControlEntry_t protocolDistControlEntry;
/* call the user supplied function to retrieve values */
read_protocolDistControlEntry(&protocolDistControlEntry);
/* return the current value of the variable */
switch (vp->magic) {
case PROTOCOLDISTCONTROLDATASOURCE:
*var_len = protocolDistControlEntry._protocolDistControlDataSourceLength;
return (unsigned char *) protocolDistControlEntry.protocolDistControlDataSource;
case PROTOCOLDISTCONTROLDROPPEDFRAMES:
return (unsigned char *) &protocolDistControlEntry.protocolDistControlDroppedFrames;
case PROTOCOLDISTCONTROLCREATETIME:
return (unsigned char *) &protocolDistControlEntry.protocolDistControlCreateTime;
case PROTOCOLDISTCONTROLOWNER:
*var_len = protocolDistControlEntry._protocolDistControlOwnerLength;
return (unsigned char *) protocolDistControlEntry.protocolDistControlOwner;
case PROTOCOLDISTCONTROLSTATUS:
return (unsigned char *) &protocolDistControlEntry.protocolDistControlStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_protocolDistStatsEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static protocolDistStatsEntry_t protocolDistStatsEntry;
/* call the user supplied function to retrieve values */
read_protocolDistStatsEntry(&protocolDistStatsEntry);
/* return the current value of the variable */
switch (vp->magic) {
case PROTOCOLDISTSTATSPKTS:
return (unsigned char *) &protocolDistStatsEntry.protocolDistStatsPkts;
case PROTOCOLDISTSTATSOCTETS:
return (unsigned char *) &protocolDistStatsEntry.protocolDistStatsOctets;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_addressMap_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static addressMap_t addressMap;
/* check whether the instance identifier is valid */
if (header_generic(vp, name, length, exact, var_len,
write_method) == MATCH_FAILED) {
return NULL;
}
/* call the user supplied function to retrieve values */
read_addressMap(&addressMap);
/* return the current value of the variable */
switch (vp->magic) {
case ADDRESSMAPINSERTS:
return (unsigned char *) &addressMap.addressMapInserts;
case ADDRESSMAPDELETES:
return (unsigned char *) &addressMap.addressMapDeletes;
case ADDRESSMAPMAXDESIREDENTRIES:
return (unsigned char *) &addressMap.addressMapMaxDesiredEntries;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_addressMapControlEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static addressMapControlEntry_t addressMapControlEntry;
/* call the user supplied function to retrieve values */
read_addressMapControlEntry(&addressMapControlEntry);
/* return the current value of the variable */
switch (vp->magic) {
case ADDRESSMAPCONTROLDATASOURCE:
*var_len = addressMapControlEntry._addressMapControlDataSourceLength;
return (unsigned char *) addressMapControlEntry.addressMapControlDataSource;
case ADDRESSMAPCONTROLDROPPEDFRAMES:
return (unsigned char *) &addressMapControlEntry.addressMapControlDroppedFrames;
case ADDRESSMAPCONTROLOWNER:
*var_len = addressMapControlEntry._addressMapControlOwnerLength;
return (unsigned char *) addressMapControlEntry.addressMapControlOwner;
case ADDRESSMAPCONTROLSTATUS:
return (unsigned char *) &addressMapControlEntry.addressMapControlStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_addressMapEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static addressMapEntry_t addressMapEntry;
/* call the user supplied function to retrieve values */
read_addressMapEntry(&addressMapEntry);
/* return the current value of the variable */
switch (vp->magic) {
case ADDRESSMAPPHYSICALADDRESS:
*var_len = addressMapEntry._addressMapPhysicalAddressLength;
return (unsigned char *) addressMapEntry.addressMapPhysicalAddress;
case ADDRESSMAPLASTCHANGE:
return (unsigned char *) &addressMapEntry.addressMapLastChange;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_hlHostControlEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static hlHostControlEntry_t hlHostControlEntry;
/* call the user supplied function to retrieve values */
read_hlHostControlEntry(&hlHostControlEntry);
/* return the current value of the variable */
switch (vp->magic) {
case HLHOSTCONTROLDATASOURCE:
*var_len = hlHostControlEntry._hlHostControlDataSourceLength;
return (unsigned char *) hlHostControlEntry.hlHostControlDataSource;
case HLHOSTCONTROLNLDROPPEDFRAMES:
return (unsigned char *) &hlHostControlEntry.hlHostControlNlDroppedFrames;
case HLHOSTCONTROLNLINSERTS:
return (unsigned char *) &hlHostControlEntry.hlHostControlNlInserts;
case HLHOSTCONTROLNLDELETES:
return (unsigned char *) &hlHostControlEntry.hlHostControlNlDeletes;
case HLHOSTCONTROLNLMAXDESIREDENTRIES:
return (unsigned char *) &hlHostControlEntry.hlHostControlNlMaxDesiredEntries;
case HLHOSTCONTROLALDROPPEDFRAMES:
return (unsigned char *) &hlHostControlEntry.hlHostControlAlDroppedFrames;
case HLHOSTCONTROLALINSERTS:
return (unsigned char *) &hlHostControlEntry.hlHostControlAlInserts;
case HLHOSTCONTROLALDELETES:
return (unsigned char *) &hlHostControlEntry.hlHostControlAlDeletes;
case HLHOSTCONTROLALMAXDESIREDENTRIES:
return (unsigned char *) &hlHostControlEntry.hlHostControlAlMaxDesiredEntries;
case HLHOSTCONTROLOWNER:
*var_len = hlHostControlEntry._hlHostControlOwnerLength;
return (unsigned char *) hlHostControlEntry.hlHostControlOwner;
case HLHOSTCONTROLSTATUS:
return (unsigned char *) &hlHostControlEntry.hlHostControlStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_nlHostEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static nlHostEntry_t nlHostEntry;
/* call the user supplied function to retrieve values */
read_nlHostEntry(&nlHostEntry);
/* return the current value of the variable */
switch (vp->magic) {
case NLHOSTINPKTS:
return (unsigned char *) &nlHostEntry.nlHostInPkts;
case NLHOSTOUTPKTS:
return (unsigned char *) &nlHostEntry.nlHostOutPkts;
case NLHOSTINOCTETS:
return (unsigned char *) &nlHostEntry.nlHostInOctets;
case NLHOSTOUTOCTETS:
return (unsigned char *) &nlHostEntry.nlHostOutOctets;
case NLHOSTOUTMACNONUNICASTPKTS:
return (unsigned char *) &nlHostEntry.nlHostOutMacNonUnicastPkts;
case NLHOSTCREATETIME:
return (unsigned char *) &nlHostEntry.nlHostCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_hlMatrixControlEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static hlMatrixControlEntry_t hlMatrixControlEntry;
/* call the user supplied function to retrieve values */
read_hlMatrixControlEntry(&hlMatrixControlEntry);
/* return the current value of the variable */
switch (vp->magic) {
case HLMATRIXCONTROLDATASOURCE:
*var_len = hlMatrixControlEntry._hlMatrixControlDataSourceLength;
return (unsigned char *) hlMatrixControlEntry.hlMatrixControlDataSource;
case HLMATRIXCONTROLNLDROPPEDFRAMES:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlNlDroppedFrames;
case HLMATRIXCONTROLNLINSERTS:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlNlInserts;
case HLMATRIXCONTROLNLDELETES:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlNlDeletes;
case HLMATRIXCONTROLNLMAXDESIREDENTRIES:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlNlMaxDesiredEntries;
case HLMATRIXCONTROLALDROPPEDFRAMES:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlAlDroppedFrames;
case HLMATRIXCONTROLALINSERTS:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlAlInserts;
case HLMATRIXCONTROLALDELETES:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlAlDeletes;
case HLMATRIXCONTROLALMAXDESIREDENTRIES:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlAlMaxDesiredEntries;
case HLMATRIXCONTROLOWNER:
*var_len = hlMatrixControlEntry._hlMatrixControlOwnerLength;
return (unsigned char *) hlMatrixControlEntry.hlMatrixControlOwner;
case HLMATRIXCONTROLSTATUS:
return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_nlMatrixSDEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static nlMatrixSDEntry_t nlMatrixSDEntry;
/* call the user supplied function to retrieve values */
read_nlMatrixSDEntry(&nlMatrixSDEntry);
/* return the current value of the variable */
switch (vp->magic) {
case NLMATRIXSDPKTS:
return (unsigned char *) &nlMatrixSDEntry.nlMatrixSDPkts;
case NLMATRIXSDOCTETS:
return (unsigned char *) &nlMatrixSDEntry.nlMatrixSDOctets;
case NLMATRIXSDCREATETIME:
return (unsigned char *) &nlMatrixSDEntry.nlMatrixSDCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_nlMatrixDSEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static nlMatrixDSEntry_t nlMatrixDSEntry;
/* call the user supplied function to retrieve values */
read_nlMatrixDSEntry(&nlMatrixDSEntry);
/* return the current value of the variable */
switch (vp->magic) {
case NLMATRIXDSPKTS:
return (unsigned char *) &nlMatrixDSEntry.nlMatrixDSPkts;
case NLMATRIXDSOCTETS:
return (unsigned char *) &nlMatrixDSEntry.nlMatrixDSOctets;
case NLMATRIXDSCREATETIME:
return (unsigned char *) &nlMatrixDSEntry.nlMatrixDSCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_nlMatrixTopNControlEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static nlMatrixTopNControlEntry_t nlMatrixTopNControlEntry;
/* call the user supplied function to retrieve values */
read_nlMatrixTopNControlEntry(&nlMatrixTopNControlEntry);
/* return the current value of the variable */
switch (vp->magic) {
case NLMATRIXTOPNCONTROLMATRIXINDEX:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlMatrixIndex;
case NLMATRIXTOPNCONTROLRATEBASE:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlRateBase;
case NLMATRIXTOPNCONTROLTIMEREMAINING:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlTimeRemaining;
case NLMATRIXTOPNCONTROLGENERATEDREPORTS:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlGeneratedReports;
case NLMATRIXTOPNCONTROLDURATION:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlDuration;
case NLMATRIXTOPNCONTROLREQUESTEDSIZE:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlRequestedSize;
case NLMATRIXTOPNCONTROLGRANTEDSIZE:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlGrantedSize;
case NLMATRIXTOPNCONTROLSTARTTIME:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlStartTime;
case NLMATRIXTOPNCONTROLOWNER:
*var_len = nlMatrixTopNControlEntry._nlMatrixTopNControlOwnerLength;
return (unsigned char *) nlMatrixTopNControlEntry.nlMatrixTopNControlOwner;
case NLMATRIXTOPNCONTROLSTATUS:
return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_nlMatrixTopNEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static nlMatrixTopNEntry_t nlMatrixTopNEntry;
/* call the user supplied function to retrieve values */
read_nlMatrixTopNEntry(&nlMatrixTopNEntry);
/* return the current value of the variable */
switch (vp->magic) {
case NLMATRIXTOPNPROTOCOLDIRLOCALINDEX:
return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNProtocolDirLocalIndex;
case NLMATRIXTOPNSOURCEADDRESS:
*var_len = nlMatrixTopNEntry._nlMatrixTopNSourceAddressLength;
return (unsigned char *) nlMatrixTopNEntry.nlMatrixTopNSourceAddress;
case NLMATRIXTOPNDESTADDRESS:
*var_len = nlMatrixTopNEntry._nlMatrixTopNDestAddressLength;
return (unsigned char *) nlMatrixTopNEntry.nlMatrixTopNDestAddress;
case NLMATRIXTOPNPKTRATE:
return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNPktRate;
case NLMATRIXTOPNREVERSEPKTRATE:
return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNReversePktRate;
case NLMATRIXTOPNOCTETRATE:
return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNOctetRate;
case NLMATRIXTOPNREVERSEOCTETRATE:
return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNReverseOctetRate;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_alHostEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static alHostEntry_t alHostEntry;
/* call the user supplied function to retrieve values */
read_alHostEntry(&alHostEntry);
/* return the current value of the variable */
switch (vp->magic) {
case ALHOSTINPKTS:
return (unsigned char *) &alHostEntry.alHostInPkts;
case ALHOSTOUTPKTS:
return (unsigned char *) &alHostEntry.alHostOutPkts;
case ALHOSTINOCTETS:
return (unsigned char *) &alHostEntry.alHostInOctets;
case ALHOSTOUTOCTETS:
return (unsigned char *) &alHostEntry.alHostOutOctets;
case ALHOSTCREATETIME:
return (unsigned char *) &alHostEntry.alHostCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_alMatrixSDEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static alMatrixSDEntry_t alMatrixSDEntry;
/* call the user supplied function to retrieve values */
read_alMatrixSDEntry(&alMatrixSDEntry);
/* return the current value of the variable */
switch (vp->magic) {
case ALMATRIXSDPKTS:
return (unsigned char *) &alMatrixSDEntry.alMatrixSDPkts;
case ALMATRIXSDOCTETS:
return (unsigned char *) &alMatrixSDEntry.alMatrixSDOctets;
case ALMATRIXSDCREATETIME:
return (unsigned char *) &alMatrixSDEntry.alMatrixSDCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_alMatrixDSEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static alMatrixDSEntry_t alMatrixDSEntry;
/* call the user supplied function to retrieve values */
read_alMatrixDSEntry(&alMatrixDSEntry);
/* return the current value of the variable */
switch (vp->magic) {
case ALMATRIXDSPKTS:
return (unsigned char *) &alMatrixDSEntry.alMatrixDSPkts;
case ALMATRIXDSOCTETS:
return (unsigned char *) &alMatrixDSEntry.alMatrixDSOctets;
case ALMATRIXDSCREATETIME:
return (unsigned char *) &alMatrixDSEntry.alMatrixDSCreateTime;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_alMatrixTopNControlEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static alMatrixTopNControlEntry_t alMatrixTopNControlEntry;
/* call the user supplied function to retrieve values */
read_alMatrixTopNControlEntry(&alMatrixTopNControlEntry);
/* return the current value of the variable */
switch (vp->magic) {
case ALMATRIXTOPNCONTROLMATRIXINDEX:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlMatrixIndex;
case ALMATRIXTOPNCONTROLRATEBASE:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlRateBase;
case ALMATRIXTOPNCONTROLTIMEREMAINING:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlTimeRemaining;
case ALMATRIXTOPNCONTROLGENERATEDREPORTS:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlGeneratedReports;
case ALMATRIXTOPNCONTROLDURATION:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlDuration;
case ALMATRIXTOPNCONTROLREQUESTEDSIZE:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlRequestedSize;
case ALMATRIXTOPNCONTROLGRANTEDSIZE:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlGrantedSize;
case ALMATRIXTOPNCONTROLSTARTTIME:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlStartTime;
case ALMATRIXTOPNCONTROLOWNER:
*var_len = alMatrixTopNControlEntry._alMatrixTopNControlOwnerLength;
return (unsigned char *) alMatrixTopNControlEntry.alMatrixTopNControlOwner;
case ALMATRIXTOPNCONTROLSTATUS:
return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_alMatrixTopNEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static alMatrixTopNEntry_t alMatrixTopNEntry;
/* call the user supplied function to retrieve values */
read_alMatrixTopNEntry(&alMatrixTopNEntry);
/* return the current value of the variable */
switch (vp->magic) {
case ALMATRIXTOPNPROTOCOLDIRLOCALINDEX:
return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNProtocolDirLocalIndex;
case ALMATRIXTOPNSOURCEADDRESS:
*var_len = alMatrixTopNEntry._alMatrixTopNSourceAddressLength;
return (unsigned char *) alMatrixTopNEntry.alMatrixTopNSourceAddress;
case ALMATRIXTOPNDESTADDRESS:
*var_len = alMatrixTopNEntry._alMatrixTopNDestAddressLength;
return (unsigned char *) alMatrixTopNEntry.alMatrixTopNDestAddress;
case ALMATRIXTOPNAPPPROTOCOLDIRLOCALINDEX:
return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNAppProtocolDirLocalIndex;
case ALMATRIXTOPNPKTRATE:
return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNPktRate;
case ALMATRIXTOPNREVERSEPKTRATE:
return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNReversePktRate;
case ALMATRIXTOPNOCTETRATE:
return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNOctetRate;
case ALMATRIXTOPNREVERSEOCTETRATE:
return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNReverseOctetRate;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_usrHistoryControlEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static usrHistoryControlEntry_t usrHistoryControlEntry;
/* call the user supplied function to retrieve values */
read_usrHistoryControlEntry(&usrHistoryControlEntry);
/* return the current value of the variable */
switch (vp->magic) {
case USRHISTORYCONTROLOBJECTS:
return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlObjects;
case USRHISTORYCONTROLBUCKETSREQUESTED:
return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlBucketsRequested;
case USRHISTORYCONTROLBUCKETSGRANTED:
return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlBucketsGranted;
case USRHISTORYCONTROLINTERVAL:
return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlInterval;
case USRHISTORYCONTROLOWNER:
*var_len = usrHistoryControlEntry._usrHistoryControlOwnerLength;
return (unsigned char *) usrHistoryControlEntry.usrHistoryControlOwner;
case USRHISTORYCONTROLSTATUS:
return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_usrHistoryObjectEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static usrHistoryObjectEntry_t usrHistoryObjectEntry;
/* call the user supplied function to retrieve values */
read_usrHistoryObjectEntry(&usrHistoryObjectEntry);
/* return the current value of the variable */
switch (vp->magic) {
case USRHISTORYOBJECTVARIABLE:
*var_len = usrHistoryObjectEntry._usrHistoryObjectVariableLength;
return (unsigned char *) usrHistoryObjectEntry.usrHistoryObjectVariable;
case USRHISTORYOBJECTSAMPLETYPE:
return (unsigned char *) &usrHistoryObjectEntry.usrHistoryObjectSampleType;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_usrHistoryEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static usrHistoryEntry_t usrHistoryEntry;
/* call the user supplied function to retrieve values */
read_usrHistoryEntry(&usrHistoryEntry);
/* return the current value of the variable */
switch (vp->magic) {
case USRHISTORYINTERVALSTART:
return (unsigned char *) &usrHistoryEntry.usrHistoryIntervalStart;
case USRHISTORYINTERVALEND:
return (unsigned char *) &usrHistoryEntry.usrHistoryIntervalEnd;
case USRHISTORYABSVALUE:
return (unsigned char *) &usrHistoryEntry.usrHistoryAbsValue;
case USRHISTORYVALSTATUS:
return (unsigned char *) &usrHistoryEntry.usrHistoryValStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_probeConfig_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static probeConfig_t probeConfig;
/* check whether the instance identifier is valid */
if (header_generic(vp, name, length, exact, var_len,
write_method) == MATCH_FAILED) {
return NULL;
}
/* call the user supplied function to retrieve values */
read_probeConfig(&probeConfig);
/* return the current value of the variable */
switch (vp->magic) {
case PROBECAPABILITIES:
*var_len = probeConfig._probeCapabilitiesLength;
return (unsigned char *) probeConfig.probeCapabilities;
case PROBESOFTWAREREV:
*var_len = probeConfig._probeSoftwareRevLength;
return (unsigned char *) probeConfig.probeSoftwareRev;
case PROBEHARDWAREREV:
*var_len = probeConfig._probeHardwareRevLength;
return (unsigned char *) probeConfig.probeHardwareRev;
case PROBEDATETIME:
*var_len = probeConfig._probeDateTimeLength;
return (unsigned char *) probeConfig.probeDateTime;
case PROBERESETCONTROL:
return (unsigned char *) &probeConfig.probeResetControl;
case PROBEDOWNLOADFILE:
*var_len = probeConfig._probeDownloadFileLength;
return (unsigned char *) probeConfig.probeDownloadFile;
case PROBEDOWNLOADTFTPSERVER:
*var_len = probeConfig._probeDownloadTFTPServerLength;
return (unsigned char *) probeConfig.probeDownloadTFTPServer;
case PROBEDOWNLOADACTION:
return (unsigned char *) &probeConfig.probeDownloadAction;
case PROBEDOWNLOADSTATUS:
return (unsigned char *) &probeConfig.probeDownloadStatus;
case NETDEFAULTGATEWAY:
*var_len = probeConfig._netDefaultGatewayLength;
return (unsigned char *) probeConfig.netDefaultGateway;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_serialConfigEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static serialConfigEntry_t serialConfigEntry;
/* call the user supplied function to retrieve values */
read_serialConfigEntry(&serialConfigEntry);
/* return the current value of the variable */
switch (vp->magic) {
case SERIALMODE:
return (unsigned char *) &serialConfigEntry.serialMode;
case SERIALPROTOCOL:
return (unsigned char *) &serialConfigEntry.serialProtocol;
case SERIALTIMEOUT:
return (unsigned char *) &serialConfigEntry.serialTimeout;
case SERIALMODEMINITSTRING:
*var_len = serialConfigEntry._serialModemInitStringLength;
return (unsigned char *) serialConfigEntry.serialModemInitString;
case SERIALMODEMHANGUPSTRING:
*var_len = serialConfigEntry._serialModemHangUpStringLength;
return (unsigned char *) serialConfigEntry.serialModemHangUpString;
case SERIALMODEMCONNECTRESP:
*var_len = serialConfigEntry._serialModemConnectRespLength;
return (unsigned char *) serialConfigEntry.serialModemConnectResp;
case SERIALMODEMNOCONNECTRESP:
*var_len = serialConfigEntry._serialModemNoConnectRespLength;
return (unsigned char *) serialConfigEntry.serialModemNoConnectResp;
case SERIALDIALOUTTIMEOUT:
return (unsigned char *) &serialConfigEntry.serialDialoutTimeout;
case SERIALSTATUS:
return (unsigned char *) &serialConfigEntry.serialStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_netConfigEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static netConfigEntry_t netConfigEntry;
/* call the user supplied function to retrieve values */
read_netConfigEntry(&netConfigEntry);
/* return the current value of the variable */
switch (vp->magic) {
case NETCONFIGIPADDRESS:
*var_len = netConfigEntry._netConfigIPAddressLength;
return (unsigned char *) netConfigEntry.netConfigIPAddress;
case NETCONFIGSUBNETMASK:
*var_len = netConfigEntry._netConfigSubnetMaskLength;
return (unsigned char *) netConfigEntry.netConfigSubnetMask;
case NETCONFIGSTATUS:
return (unsigned char *) &netConfigEntry.netConfigStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_trapDestEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static trapDestEntry_t trapDestEntry;
/* call the user supplied function to retrieve values */
read_trapDestEntry(&trapDestEntry);
/* return the current value of the variable */
switch (vp->magic) {
case TRAPDESTCOMMUNITY:
*var_len = trapDestEntry._trapDestCommunityLength;
return (unsigned char *) trapDestEntry.trapDestCommunity;
case TRAPDESTPROTOCOL:
return (unsigned char *) &trapDestEntry.trapDestProtocol;
case TRAPDESTADDRESS:
*var_len = trapDestEntry._trapDestAddressLength;
return (unsigned char *) trapDestEntry.trapDestAddress;
case TRAPDESTOWNER:
*var_len = trapDestEntry._trapDestOwnerLength;
return (unsigned char *) trapDestEntry.trapDestOwner;
case TRAPDESTSTATUS:
return (unsigned char *) &trapDestEntry.trapDestStatus;
default:
ERROR_MSG("");
}
return NULL;
}
static unsigned char *
read_serialConnectionEntry_stub(struct variable *vp,
oid *name,
size_t *length,
int exact,
size_t *var_len,
WriteMethod **write_method)
{
static serialConnectionEntry_t serialConnectionEntry;
/* call the user supplied function to retrieve values */
read_serialConnectionEntry(&serialConnectionEntry);
/* return the current value of the variable */
switch (vp->magic) {
case SERIALCONNECTDESTIPADDRESS:
*var_len = serialConnectionEntry._serialConnectDestIpAddressLength;
return (unsigned char *) serialConnectionEntry.serialConnectDestIpAddress;
case SERIALCONNECTTYPE:
return (unsigned char *) &serialConnectionEntry.serialConnectType;
case SERIALCONNECTDIALSTRING:
*var_len = serialConnectionEntry._serialConnectDialStringLength;
return (unsigned char *) serialConnectionEntry.serialConnectDialString;
case SERIALCONNECTSWITCHCONNECTSEQ:
*var_len = serialConnectionEntry._serialConnectSwitchConnectSeqLength;
return (unsigned char *) serialConnectionEntry.serialConnectSwitchConnectSeq;
case SERIALCONNECTSWITCHDISCONNECTSEQ:
*var_len = serialConnectionEntry._serialConnectSwitchDisconnectSeqLength;
return (unsigned char *) serialConnectionEntry.serialConnectSwitchDisconnectSeq;
case SERIALCONNECTSWITCHRESETSEQ:
*var_len = serialConnectionEntry._serialConnectSwitchResetSeqLength;
return (unsigned char *) serialConnectionEntry.serialConnectSwitchResetSeq;
case SERIALCONNECTOWNER:
*var_len = serialConnectionEntry._serialConnectOwnerLength;
return (unsigned char *) serialConnectionEntry.serialConnectOwner;
case SERIALCONNECTSTATUS:
return (unsigned char *) &serialConnectionEntry.serialConnectStatus;
default:
ERROR_MSG("");
}
return NULL;
}
/*
* Forward declaration of write methods for writable objects:
*/
static int
write_filterProtocolDirDataLocalIndex_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_filterProtocolDirLocalIndex_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDirDescr_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDirAddressMapConfig_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDirHostConfig_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDirMatrixConfig_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDirOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDirStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDistControlDataSource_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDistControlOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_protocolDistControlStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_addressMapMaxDesiredEntries_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_addressMapControlDataSource_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_addressMapControlOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_addressMapControlStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlHostControlDataSource_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlHostControlNlMaxDesiredEntries_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlHostControlAlMaxDesiredEntries_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlHostControlOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlHostControlStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlMatrixControlDataSource_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlMatrixControlNlMaxDesiredEntries_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlMatrixControlAlMaxDesiredEntries_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlMatrixControlOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_hlMatrixControlStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_nlMatrixTopNControlMatrixIndex_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_nlMatrixTopNControlRateBase_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_nlMatrixTopNControlTimeRemaining_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_nlMatrixTopNControlRequestedSize_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_nlMatrixTopNControlOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_nlMatrixTopNControlStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_alMatrixTopNControlMatrixIndex_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_alMatrixTopNControlRateBase_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_alMatrixTopNControlTimeRemaining_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_alMatrixTopNControlRequestedSize_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_alMatrixTopNControlOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_alMatrixTopNControlStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_usrHistoryControlObjects_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_usrHistoryControlBucketsRequested_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_usrHistoryControlInterval_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_usrHistoryControlOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_usrHistoryControlStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_usrHistoryObjectVariable_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_usrHistoryObjectSampleType_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_probeDateTime_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_probeResetControl_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_probeDownloadFile_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_probeDownloadTFTPServer_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_probeDownloadAction_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialMode_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialProtocol_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialTimeout_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialModemInitString_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialModemHangUpString_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialModemConnectResp_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialModemNoConnectResp_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialDialoutTimeout_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_netConfigIPAddress_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_netConfigSubnetMask_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_netConfigStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_netDefaultGateway_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_trapDestCommunity_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_trapDestProtocol_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_trapDestAddress_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_trapDestOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_trapDestStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialConnectDestIpAddress_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialConnectType_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialConnectDialString_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialConnectSwitchConnectSeq_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialConnectSwitchDisconnectSeq_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialConnectSwitchResetSeq_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialConnectOwner_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}
static int
write_serialConnectStatus_stub(int action,
u_char *var_val,
u_char var_val_type,
int var_val_len,
u_char *statP,
oid *name,
int name_len)
{
return SNMP_ERR_NOERROR;
}