snmp_agent_pdu.c
MIB-II module.
error_t snmpProcessReportPdu(SnmpAgentContext *context)
Process Report-PDU.
Definition: snmp_agent_inform.c:477
#define SNMP_USM_MIB_INC_COUNTER32(name, value)
Definition: snmp_usm_mib_module.h:54
error_t snmpEncodeUnsignedInt32(uint32_t value, uint8_t *dest, size_t *length)
Encode a 32-bit unsigned integer.
Definition: snmp_agent_message.c:1565
OID (Object Identifier)
#define SNMP_USM_MIB_GET_COUNTER32(value, name)
Definition: snmp_usm_mib_module.h:55
error_t snmpParsePduHeader(SnmpMessage *message)
Parse PDU header.
Definition: snmp_agent_message.c:1204
error_t snmpCopyVarBindingList(SnmpAgentContext *context)
Copy the list of variable bindings.
Definition: snmp_agent_misc.c:449
error_t snmpSetObjectValue(SnmpAgentContext *context, const SnmpMessage *message, SnmpVarBind *var, bool_t commit)
Assign object value.
Definition: snmp_agent_object.c:57
error_t snmpProcessGetRequestPdu(SnmpAgentContext *context)
Process GetRequest-PDU or GetNextRequest-PDU.
Definition: snmp_agent_pdu.c:139
SNMP MIB module.
SNMP agent (Simple Network Management Protocol)
error_t snmpTranslateStatusCode(SnmpMessage *message, error_t status, uint_t index)
Translate status code.
Definition: snmp_agent_misc.c:616
error_t snmpFormatReportPdu(SnmpAgentContext *context, error_t errorIndication)
Format Report-PDU.
Definition: snmp_agent_pdu.c:707
const uint8_t usmStatsNotInTimeWindowsObject[10]
Definition: snmp_agent_usm.c:58
error_t snmpWriteVarBinding(SnmpAgentContext *context, const SnmpVarBind *var)
Write variable binding.
Definition: snmp_agent_misc.c:331
error_t snmpInitResponse(SnmpAgentContext *context)
Initialize a GetResponse-PDU.
Definition: snmp_agent_message.c:128
error_t snmpGetNextObject(SnmpAgentContext *context, const SnmpMessage *message, SnmpVarBind *var)
Search MIBs for the next object.
Definition: snmp_agent_object.c:430
General definitions for cryptographic algorithms.
const uint8_t usmStatsWrongDigestsObject[10]
Definition: snmp_agent_usm.c:64
Helper functions for SNMP agent.
const uint8_t usmStatsUnknownEngineIdsObject[10]
Definition: snmp_agent_usm.c:62
const uint8_t snmpUnavailableContextsObject[9]
Definition: snmp_agent_pdu.c:52
error_t snmpProcessSetRequestPdu(SnmpAgentContext *context)
Process SetRequest-PDU.
Definition: snmp_agent_pdu.c:583
error_t oidCheck(const uint8_t *oid, size_t oidLen)
Check whether the specified object identifier is valid.
Definition: oid.c:50
error_t snmpParseVarBinding(const uint8_t *p, size_t length, SnmpVarBind *var, size_t *consumed)
Parse variable binding.
Definition: snmp_agent_misc.c:256
const uint8_t usmStatsDecryptionErrorsObject[10]
Definition: snmp_agent_usm.c:66
error_t snmpWritePduHeader(SnmpMessage *message)
Format PDU header.
Definition: snmp_agent_message.c:1317
error_t snmpProcessGetResponsePdu(SnmpAgentContext *context)
Process GetResponse-PDU.
Definition: snmp_agent_inform.c:441
MIB object access.
error_t snmpGetObjectValue(SnmpAgentContext *context, const SnmpMessage *message, SnmpVarBind *var)
Retrieve object value.
Definition: snmp_agent_object.c:232
SNMP USM MIB module.
SNMP agent (PDU processing)
error_t snmpComputeMessageOverhead(SnmpMessage *message)
Compute SNMP message overhead.
Definition: snmp_agent_message.c:201
const uint8_t usmStatsUnsupportedSecLevelsObject[10]
Definition: snmp_agent_usm.c:56
error_t snmpProcessGetBulkRequestPdu(SnmpAgentContext *context)
Process GetBulkRequest-PDU.
Definition: snmp_agent_pdu.c:360
TCP/IP stack core.
Debugging facilities.
ASN.1 (Abstract Syntax Notation One)
void snmpInitMessage(SnmpMessage *message)
Initialize a SNMP message.
Definition: snmp_agent_message.c:52
const uint8_t usmStatsUnknownUserNamesObject[10]
Definition: snmp_agent_usm.c:60