📄 cnmibvar.c
字号:
extern code unsigned char syncConductorClock[];
extern code unsigned char syncPerformerClock[];
extern code unsigned char syncClockTrim[];
extern code unsigned char syncBuddyLinkControl[];
extern code unsigned char syncStatus[];
extern code unsigned char syncCounter[];
extern code unsigned char snmpWriteEnable[];
extern code unsigned char snmpROCommunity[];
extern code unsigned char snmpRWCommunity[];
extern code unsigned char miMonDirty[];
extern code unsigned char miMonSNMPDirty[];
extern code unsigned char miMonHMIDirty[];
extern code unsigned char ipMonCurrentIP[];
extern code unsigned char ipMonStaticIP[];
code struct mib_var_struct cn_mib_var[] = {
sysDescr, 0x100000, cMIB_TYPE_DISPLAY_STR,
sysObjectID, 0x100100, cMIB_TYPE_OBJECT_ID,
sysContact, 0x100200, cMIB_TYPE_DISPLAY_STR,
sysName, 0x100300, cMIB_TYPE_DISPLAY_STR,
sysLocation, 0x100400, cMIB_TYPE_DISPLAY_STR,
sysUpTime, 0x100500, cMIB_TYPE_TIMETICKS,
sysServices, 0x100502, cMIB_TYPE_INTEGER,
ifNumber, 0x110000, cMIB_TYPE_INTEGER,
ifDescr, 0x110001, cMIB_TYPE_DISPLAY_STR,
ifType, 0x11000A, cMIB_TYPE_INTEGER,
ifMtu, 0x11000B, cMIB_TYPE_INTEGER,
ifSpeed, 0x11000C, cMIB_TYPE_INTEGER,
ifPhysAddress, 0x11000D, cMIB_TYPE_PHYSADDRESS,
ifAdminStatus, 0x111000, cMIB_TYPE_INTEGER,
ifOperStatus, 0x112000, cMIB_TYPE_INTEGER,
ifLastChange, 0x112001, cMIB_TYPE_TIMETICKS,
ifInOctets, 0x112016, cMIB_TYPE_COUNTER2,
ifInUcastPkts, 0x112018, cMIB_TYPE_COUNTER,
ifInNUcastPkts, 0x112019, cMIB_TYPE_COUNTER,
ifInDiscards, 0x11201A, cMIB_TYPE_COUNTER,
ifInErrors, 0x11201B, cMIB_TYPE_COUNTER,
ifInUnknownProtos, 0x11201C, cMIB_TYPE_COUNTER,
ifOutOctets, 0x11201D, cMIB_TYPE_COUNTER2,
ifOutUcastPkts, 0x11201F, cMIB_TYPE_COUNTER,
ifOutNUcastPkts, 0x112020, cMIB_TYPE_COUNTER,
ifOutDiscards, 0x112021, cMIB_TYPE_COUNTER,
ifOutErrors, 0x112022, cMIB_TYPE_COUNTER,
ifOutQLen, 0x112023, cMIB_TYPE_INTEGER,
ifSpecific, 0x112024, cMIB_TYPE_OBJECT_ID,
atIfIndex, 0x120000, cMIB_TYPE_INTEGER,
atPhysAddress, 0x120001, cMIB_TYPE_PHYSADDRESS,
atNetAddress, 0x120004, cMIB_TYPE_IPADDRESS,
ipForwarding, 0x130000, cMIB_TYPE_INTEGER,
ipDefaultTTL, 0x130001, cMIB_TYPE_INTEGER,
ipInReceives, 0x131000, cMIB_TYPE_COUNTER,
ipInHdrErrors, 0x131001, cMIB_TYPE_COUNTER,
ipInAddrErrors, 0x131002, cMIB_TYPE_COUNTER,
ipInUnknownProtos, 0x131003, cMIB_TYPE_COUNTER,
ipInDiscards, 0x131004, cMIB_TYPE_COUNTER,
ipInDelivers, 0x131005, cMIB_TYPE_COUNTER,
ipOutRequests, 0x131006, cMIB_TYPE_COUNTER,
ipReasmReqds, 0x131007, cMIB_TYPE_COUNTER,
ipReasmFails, 0x131007, cMIB_TYPE_COUNTER,
udpInDatagrams, 0x140000, cMIB_TYPE_COUNTER,
udpNoPorts, 0x140001, cMIB_TYPE_COUNTER,
udpInErrors, 0x140002, cMIB_TYPE_COUNTER,
udpOutDatagrams, 0x140003, cMIB_TYPE_COUNTER,
snmpInPkts, 0x150000, cMIB_TYPE_COUNTER,
snmpOutPkts, 0x150001, cMIB_TYPE_COUNTER,
snmpInBadVersions, 0x150002, cMIB_TYPE_COUNTER,
snmpInBadCommunityNames, 0x150003, cMIB_TYPE_COUNTER,
snmpInBadCommunityUses, 0x150004, cMIB_TYPE_COUNTER,
snmpInASNParseErrs, 0x150005, cMIB_TYPE_COUNTER,
snmpInTotalReqVars, 0x150006, cMIB_TYPE_COUNTER,
snmpInTotalSetVars, 0x150007, cMIB_TYPE_COUNTER,
snmpInGetRequests, 0x150008, cMIB_TYPE_COUNTER,
snmpInGetNexts, 0x150009, cMIB_TYPE_COUNTER,
snmpInSetRequests, 0x15000A, cMIB_TYPE_COUNTER,
snmpOutTooBigs, 0x15000B, cMIB_TYPE_COUNTER,
snmpOutNoSuchNames, 0x15000C, cMIB_TYPE_COUNTER,
snmpOutBadValues, 0x15000D, cMIB_TYPE_COUNTER,
snmpOutGenErrs, 0x15000E, cMIB_TYPE_COUNTER,
snmpOutGetResponses, 0x150001, cMIB_TYPE_COUNTER,
snmpEnableAuthenTraps, 0x15000F, cMIB_TYPE_COUNTER,
firmwareProtocolVersion, 0x000000, cMIB_TYPE_INTEGER,
firmwareMajorVersion, 0x000001, cMIB_TYPE_INTEGER,
firmwareMinorVersion, 0x000002, cMIB_TYPE_INTEGER,
firmwareBootVersion, 0x000003, cMIB_TYPE_INTEGER,
firmwareMfgId, 0x000004, cMIB_TYPE_INTEGER,
firmwareMfgProductId, 0x000005, cMIB_TYPE_INTEGER,
firmwareMfgVersion, 0x000006, cMIB_TYPE_INTEGER,
firmwareRestart, 0x000100, cMIB_TYPE_INTEGER,
flashTotalSize, 0x001000, cMIB_TYPE_INTEGER,
flashSectorSize, 0x001001, cMIB_TYPE_INTEGER,
flashPersistSequence, 0x001002, cMIB_TYPE_COUNTER,
flashPersistType, 0x001003, cMIB_TYPE_INTEGER,
flashPersistSize, 0x001004, cMIB_TYPE_INTEGER,
flashPersistStores, 0x001005, cMIB_TYPE_COUNTER,
flashTAcknowledge, 0x001006, cMIB_TYPE_INTEGER,
flashPersistEnable, 0x001100, cMIB_TYPE_INTEGER,
flashPersistAck, 0x001200, cMIB_TYPE_INTEGER,
flashTRequest, 0x001201, cMIB_TYPE_INTEGER,
flashTAddress, 0x001202, cMIB_TYPE_INTEGER,
flashTLength, 0x001203, cMIB_TYPE_INTEGER,
flashTDirection, 0x001204, cMIB_TYPE_INTEGER,
errorPOSTResults, 0x002000, cMIB_TYPE_INTEGER,
errorIndicators, 0x002001, cMIB_TYPE_INTEGER,
errorCode, 0x002002, cMIB_TYPE_INTEGER,
errorCount, 0x002003, cMIB_TYPE_COUNTER,
errorDisplay, 0x002004, cMIB_TYPE_INTEGER,
modeRateStatus, 0x002005, cMIB_TYPE_INTEGER,
modeRateControl, 0x002100, cMIB_TYPE_INTEGER,
conductorCycleRate, 0x010000, cMIB_TYPE_INTEGER48,
conductorPriority, 0x010002, cMIB_TYPE_INTEGER16,
conductorGaps, 0x010003, cMIB_TYPE_INTEGER16,
conductorStatus, 0x011000, cMIB_TYPE_INTEGER,
bridgeTxPkt, 0x020000, cMIB_TYPE_INTEGER,
bridgeRxPkt, 0x020001, cMIB_TYPE_INTEGER,
bridgeMMAC, 0x020002, cMIB_TYPE_PHYSADDRESS,
bridgeCalcMMACHash, 0x020005, cMIB_TYPE_INTEGER,
bridgeMMACHashBuffer, 0x020006, cMIB_TYPE_INTEGER,
bridgeHashBuffer, 0x02000A, cMIB_TYPE_INTEGER,
bridgeRxFilter, 0x02000E, cMIB_TYPE_INTEGER,
bridgeTxPktBuffer, 0x021000, cMIB_TYPE_INTEGER16,
bridgeRxPktBuffer, 0x022000, cMIB_TYPE_INTEGER16,
bridgeTxDone, 0x023000, cMIB_TYPE_INTEGER,
bridgeRxReady, 0x023001, cMIB_TYPE_INTEGER,
bridgeHashDone, 0x023002, cMIB_TYPE_INTEGER,
bridgeRxDropped, 0x023003, cMIB_TYPE_COUNTER,
serialFormat, 0x024000, cMIB_TYPE_INTEGER,
serialBaud, 0x024001, cMIB_TYPE_INTEGER,
serialPPeriod, 0x024002, cMIB_TYPE_INTEGER,
serialRxMAC, 0x024003, cMIB_TYPE_PHYSADDRESS,
serialTxPriority, 0x024006, cMIB_TYPE_INTEGER16,
serialTxBundle, 0x024007, cMIB_TYPE_INTEGER16,
serialTxMAC, 0x024100, cMIB_TYPE_PHYSADDRESS,
hackEnable, 0x025000, cMIB_TYPE_INTEGER,
hackStatus, 0x025100, cMIB_TYPE_INTEGER,
hackTranslations, 0x025101, cMIB_TYPE_COUNTER,
hackSNMPModify, 0x025102, cMIB_TYPE_COUNTER,
hackReadLength, 0x025103, cMIB_TYPE_INTEGER,
hackWriteLength, 0x025104, cMIB_TYPE_INTEGER,
audioMeterDropouts, 0x030000, cMIB_TYPE_COUNTER,
audioAllowedChannels, 0x030001, cMIB_TYPE_INTEGER,
audioRxChannels, 0x030002, cMIB_TYPE_INTEGER,
audioTxChannels, 0x030003, cMIB_TYPE_INTEGER,
audioMeterDecay, 0x030100, cMIB_TYPE_INTEGER,
audioMeterMap, 0x031000, cMIB_TYPE_INTEGER,
audioMeterPeaks, 0x032000, cMIB_TYPE_INTEGER,
audioMeters, 0x033000, cMIB_TYPE_INTEGER,
audioLoopSrc, 0x034000, cMIB_TYPE_INTEGER,
audioLoopDst, 0x035000, cMIB_TYPE_INTEGER,
audioOutputs, 0x036000, cMIB_TYPE_INTEGER,
audioMap, 0x037000, cMIB_TYPE_INTEGER,
audioDupSrc, 0x038000, cMIB_TYPE_INTEGER,
audioDupDst, 0x039000, cMIB_TYPE_INTEGER,
rxStatus, 0x040000, cMIB_TYPE_INTEGER,
rxDropouts, 0x040001, cMIB_TYPE_INTEGER,
rxDelay, 0x040002, cMIB_TYPE_INTEGER16,
rxMinDelay, 0x040106, cMIB_TYPE_INTEGER16,
rxSubFormat, 0x040300, cMIB_TYPE_INTEGER,
rxBundle, 0x040100, cMIB_TYPE_INTEGER16,
rxSourceMAC, 0x040101, cMIB_TYPE_PHYSADDRESS,
rxPriority, 0x040104, cMIB_TYPE_INTEGER16,
rxBuddyExclude, 0x040105, cMIB_TYPE_INTEGER,
rxSubMap, 0x040200, cMIB_TYPE_INTEGER,
txDropouts, 0x050000, cMIB_TYPE_INTEGER,
txPosition, 0x050001, cMIB_TYPE_INTEGER,
txReceivers, 0x050002, cMIB_TYPE_INTEGER,
txBundle, 0x050100, cMIB_TYPE_INTEGER16,
txDestinationMAC, 0x050101, cMIB_TYPE_PHYSADDRESS,
txPriority, 0x050104, cMIB_TYPE_INTEGER16,
txSubCount, 0x050105, cMIB_TYPE_INTEGER,
txBuddyExclude, 0x050106, cMIB_TYPE_INTEGER,
txUnicastMode, 0x050107, cMIB_TYPE_INTEGER,
txMaxUnicast, 0x050108, cMIB_TYPE_INTEGER,
txSubMap, 0x050200, cMIB_TYPE_INTEGER,
txSubFormat, 0x050300, cMIB_TYPE_INTEGER,
syncConductorClock, 0x060000, cMIB_TYPE_INTEGER,
syncPerformerClock, 0x060001, cMIB_TYPE_INTEGER,
syncClockTrim, 0x060002, cMIB_TYPE_INTEGER,
syncBuddyLinkControl, 0x060003, cMIB_TYPE_INTEGER,
syncStatus, 0x061000, cMIB_TYPE_INTEGER,
syncCounter, 0x061001, cMIB_TYPE_COUNTER,
snmpWriteEnable, 0x070000, cMIB_TYPE_INTEGER,
snmpROCommunity, 0x070001, cMIB_TYPE_DISPLAY_STR,
snmpRWCommunity, 0x070016, cMIB_TYPE_DISPLAY_STR,
miMonDirty, 0x071000, cMIB_TYPE_COUNTER,
miMonSNMPDirty, 0x071001, cMIB_TYPE_COUNTER,
miMonHMIDirty, 0x071002, cMIB_TYPE_COUNTER,
ipMonCurrentIP, 0x072000, cMIB_TYPE_IPADDRESS,
ipMonStaticIP, 0x072002, cMIB_TYPE_IPADDRESS,
NULL,0,0,0
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -