mikroSDK Reference Manual
snmp_mpd_mib_module.h
Go to the documentation of this file.
1
31#ifndef _SNMP_MPD_MIB_MODULE_H
32#define _SNMP_MPD_MIB_MODULE_H
33
34//Dependencies
35#include "mibs/mib_common.h"
36
37//SNMP MPD MIB module support
38#ifndef SNMP_MPD_MIB_SUPPORT
39 #define SNMP_MPD_MIB_SUPPORT DISABLED
40#elif (SNMP_MPD_MIB_SUPPORT != ENABLED && SNMP_MPD_MIB_SUPPORT != DISABLED)
41 #error SNMP_MPD_MIB_SUPPORT parameter is not valid
42#endif
43
44//Macro definitions
45#if (SNMP_MPD_MIB_SUPPORT == ENABLED)
46 #define SNMP_MPD_MIB_INC_COUNTER32(name, value) snmpMpdMibBase.name += value
47#else
48 #define SNMP_MPD_MIB_INC_COUNTER32(name, value)
49#endif
50
51//C++ guard
52#ifdef __cplusplus
53extern "C" {
54#endif
55
56
61typedef struct
62{
63 uint32_t snmpUnknownSecurityModels;
64 uint32_t snmpInvalidMsgs;
65 uint32_t snmpUnknownPDUHandlers;
67
68
69//SNMP MPD MIB related constants
70extern SnmpMpdMibBase snmpMpdMibBase;
71extern const MibObject snmpMpdMibObjects[];
72extern const MibModule snmpMpdMibModule;
73
74//C++ guard
75#ifdef __cplusplus
76}
77#endif
78
79#endif
Common definitions for MIB modules.
MIB module.
Definition mib_common.h:288
SNMP MPD MIB base.
Definition snmp_mpd_mib_module.h:62