Go to the documentation of this file.
31 #ifndef _SNMP_USM_MIB_MODULE_H
32 #define _SNMP_USM_MIB_MODULE_H
39 #ifndef SNMP_USM_MIB_SUPPORT
40 #define SNMP_USM_MIB_SUPPORT DISABLED
41 #elif (SNMP_USM_MIB_SUPPORT != ENABLED && SNMP_USM_MIB_SUPPORT != DISABLED)
42 #error SNMP_USM_MIB_SUPPORT parameter is not valid
46 #ifndef SNMP_USM_MIB_SET_SUPPORT
47 #define SNMP_USM_MIB_SET_SUPPORT DISABLED
48 #elif (SNMP_USM_MIB_SET_SUPPORT != ENABLED && SNMP_USM_MIB_SET_SUPPORT != DISABLED)
49 #error SNMP_USM_MIB_SET_SUPPORT parameter is not valid
53 #if (SNMP_USM_MIB_SUPPORT == ENABLED)
54 #define SNMP_USM_MIB_INC_COUNTER32(name, value) snmpUsmMibBase.name += value
55 #define SNMP_USM_MIB_GET_COUNTER32(value, name) value = snmpUsmMibBase.name
57 #define SNMP_USM_MIB_INC_COUNTER32(name, value)
58 #define SNMP_USM_MIB_GET_COUNTER32(value, name)
SnmpUsmMibBase snmpUsmMibBase
SNMP USM MIB base.
uint32_t usmStatsNotInTimeWindows
uint32_t usmStatsWrongDigests
SNMP agent (Simple Network Management Protocol)
uint32_t usmStatsUnsupportedSecLevels
uint32_t usmStatsDecryptionErrors
uint32_t usmStatsUnknownUserNames
const MibObject snmpUsmMibObjects[]
SNMP USM MIB objects.
Common definitions for MIB modules.
uint32_t usmStatsUnknownEngineIDs
const MibModule snmpUsmMibModule
SNMP USM MIB module.
SnmpAgentContext * context