Go to the documentation of this file.
   31 #ifndef _SNMP_MIB_MODULE_H 
   32 #define _SNMP_MIB_MODULE_H 
   39 #ifndef SNMP_MIB_SUPPORT 
   40    #define SNMP_MIB_SUPPORT DISABLED 
   41 #elif (SNMP_MIB_SUPPORT != ENABLED && SNMP_MIB_SUPPORT != DISABLED) 
   42    #error SNMP_MIB_SUPPORT parameter is not valid 
   46 #ifndef SNMP_MIB_SYS_DESCR_SIZE 
   47    #define SNMP_MIB_SYS_DESCR_SIZE 16 
   48 #elif (SNMP_MIB_SYS_DESCR_SIZE < 0) 
   49    #error SNMP_MIB_SYS_DESCR_SIZE parameter is not valid 
   53 #ifndef SNMP_MIB_SYS_OBJECT_ID_SIZE 
   54    #define SNMP_MIB_SYS_OBJECT_ID_SIZE 16 
   55 #elif (SNMP_MIB_SYS_OBJECT_ID_SIZE < 0) 
   56    #error SNMP_MIB_SYS_OBJECT_ID_SIZE parameter is not valid 
   60 #ifndef SNMP_MIB_SYS_CONTACT_SIZE 
   61    #define SNMP_MIB_SYS_CONTACT_SIZE 16 
   62 #elif (SNMP_MIB_SYS_CONTACT_SIZE < 0) 
   63    #error SNMP_MIB_SYS_CONTACT_SIZE parameter is not valid 
   67 #ifndef SNMP_MIB_SYS_NAME_SIZE 
   68    #define SNMP_MIB_SYS_NAME_SIZE 16 
   69 #elif (SNMP_MIB_SYS_NAME_SIZE < 0) 
   70    #error SNMP_MIB_SYS_NAME_SIZE parameter is not valid 
   74 #ifndef SNMP_MIB_SYS_LOCATION_SIZE 
   75    #define SNMP_MIB_SYS_LOCATION_SIZE 16 
   76 #elif (SNMP_MIB_SYS_LOCATION_SIZE < 0) 
   77    #error SNMP_MIB_SYS_LOCATION_SIZE parameter is not valid 
   81 #if (SNMP_MIB_SUPPORT == ENABLED) 
   82    #define SNMP_MIB_INC_COUNTER32(name, value) snmpMibBase.name += value 
   84    #define SNMP_MIB_INC_COUNTER32(name, value) 
  124 #if (SNMP_MIB_SYS_DESCR_SIZE > 0) 
  128 #if (SNMP_MIB_SYS_OBJECT_ID_SIZE > 0) 
  133 #if (SNMP_MIB_SYS_CONTACT_SIZE > 0) 
  137 #if (SNMP_MIB_SYS_NAME_SIZE > 0) 
  141 #if (SNMP_MIB_SYS_LOCATION_SIZE > 0) 
  
@ SNMP_MIB_SYS_SERVICE_APPLICATIONS
uint32_t snmpInBadCommunityNames
uint32_t snmpInBadVersions
@ SNMP_MIB_SYS_SERVICE_INTERNET
@ SNMP_MIB_SYS_SERVICE_END_TO_END
#define SNMP_MIB_SYS_LOCATION_SIZE
#define SNMP_MIB_SYS_CONTACT_SIZE
SNMP agent (Simple Network Management Protocol)
SnmpAgentContext * context
#define SNMP_MIB_SYS_OBJECT_ID_SIZE
const MibModule snmpMibModule
SNMP MIB module.
#define SNMP_MIB_SYS_DESCR_SIZE
SnmpMibSysService
System services.
SnmpMibSnmpGroup snmpGroup
uint32_t snmpInBadCommunityUses
const MibObject snmpMibObjects[]
SNMP MIB objects.
#define SNMP_MIB_SYS_NAME_SIZE
uint32_t snmpInASNParseErrs
@ SNMP_MIB_AUTHEN_TRAPS_DISABLED
@ SNMP_MIB_SYS_SERVICE_DATALINK
Common definitions for MIB modules.
int32_t snmpEnableAuthenTraps
SnmpMibEnableAuthenTraps
Enabled/disabled state of authentication failure traps.
@ SNMP_MIB_SYS_SERVICE_PHYSICAL
@ SNMP_MIB_AUTHEN_TRAPS_ENABLED
SnmpMibBase snmpMibBase
SNMP MIB base.