snmp_mib_impl.c
uint32_t netGetRandRange(uint32_t min, uint32_t max)
Generate a random value in the specified range.
Definition: net.c:413
error_t snmpMibGetSysUpTime(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get sysUpTime object value.
Definition: snmp_mib_impl.c:173
OID (Object Identifier)
error_t snmpv2MibGetSnmpTrapEnterprise(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get snmpTrapEnterprise object value.
Definition: snmp_mib_impl.c:382
SNMP MIB module.
int_t oidComp(const uint8_t *oid1, size_t oidLen1, const uint8_t *oid2, size_t oidLen2)
Compare object identifiers.
Definition: oid.c:103
SNMP agent (Simple Network Management Protocol)
error_t snmpv2MibGetSnmpTrapOID(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get snmpTrapOID object value.
Definition: snmp_mib_impl.c:361
error_t snmpMibGetSnmpSetSerialNo(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get snmpSetSerialNo object value.
Definition: snmp_mib_impl.c:440
error_t snmpMibGetNextSysOREntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next sysOREntry object.
Definition: snmp_mib_impl.c:297
error_t snmpMibSetSnmpSetSerialNo(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set snmpSetSerialNo object value.
Definition: snmp_mib_impl.c:421
error_t snmpMibGetSysOREntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get sysOREntry object value.
Definition: snmp_mib_impl.c:194
SNMP MIB module implementation.
General definitions for cryptographic algorithms.
uint8_t sysObjectID[SNMP_MIB_SYS_OBJECT_ID_SIZE]
Definition: snmp_mib_module.h:129
char_t sysLocation[SNMP_MIB_SYS_LOCATION_SIZE]
Definition: snmp_mib_module.h:142
error_t mibDecodeIndex(const uint8_t *oid, size_t oidLen, size_t *pos, uint_t *index)
Decode instance identifier (index)
Definition: mib_common.c:64
Common definitions for MIB modules.
int32_t snmpEnableAuthenTraps
Definition: snmp_mib_module.h:161
char_t sysContact[SNMP_MIB_SYS_CONTACT_SIZE]
Definition: snmp_mib_module.h:134
error_t mibEncodeIndex(uint8_t *oid, size_t maxOidLen, size_t *pos, uint_t index)
Encode instance identifier (index)
Definition: mib_common.c:47
error_t mibTestAndIncSpinLock(int32_t *spinLock, int32_t value, bool_t commit)
Test and increment spin lock.
Definition: mib_common.c:1006
TCP/IP stack core.
Debugging facilities.
ASN.1 (Abstract Syntax Notation One)