snmp_agent_dispatch.c
error_t snmpEncryptData(const SnmpUserEntry *user, SnmpMessage *message, uint64_t *salt)
Data encryption.
Definition: snmp_agent_usm.c:563
MIB-II module.
error_t snmpDecryptData(const SnmpUserEntry *user, SnmpMessage *message)
Data decryption.
Definition: snmp_agent_usm.c:705
SnmpUserEntry * snmpFindCommunityEntry(SnmpAgentContext *context, const char_t *community, size_t length)
Search the community table for a given community string.
Definition: snmp_agent_misc.c:205
error_t snmpv2cProcessMessage(SnmpAgentContext *context)
Process incoming SNMPv2c message.
Definition: snmp_agent_dispatch.c:228
OID (Object Identifier)
error_t snmpParseGlobalData(SnmpMessage *message)
Parse msgGlobalData field.
Definition: snmp_agent_message.c:480
error_t snmpWriteScopedPdu(SnmpMessage *message)
Format scopedPDU.
Definition: snmp_agent_message.c:1121
error_t snmpCheckEngineTime(SnmpAgentContext *context, SnmpMessage *message)
Replay protection.
Definition: snmp_agent_usm.c:411
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 snmpFormatReportPdu(SnmpAgentContext *context, error_t errorIndication)
Format Report-PDU.
Definition: snmp_agent_pdu.c:707
error_t snmpParseScopedPdu(SnmpMessage *message)
Parse scopedPDU field.
Definition: snmp_agent_message.c:1047
SnmpUserEntry * snmpFindUserEntry(SnmpAgentContext *context, const char_t *name, size_t length)
Search the user table for a given user name.
Definition: snmp_agent_usm.c:130
error_t snmpProcessMessage(SnmpAgentContext *context)
Process incoming SNMP message.
Definition: snmp_agent_dispatch.c:57
error_t snmpAuthIncomingMessage(const SnmpUserEntry *user, SnmpMessage *message)
Authenticate incoming SNMP message.
Definition: snmp_agent_usm.c:509
error_t snmpv3ProcessMessage(SnmpAgentContext *context)
Process incoming SNMPv3 message.
Definition: snmp_agent_dispatch.c:291
error_t snmpCheckSecurityParameters(const SnmpUserEntry *user, SnmpMessage *message, const uint8_t *engineId, size_t engineIdLen)
Check security parameters.
Definition: snmp_agent_usm.c:329
General definitions for cryptographic algorithms.
Helper functions for SNMP agent.
error_t snmpParseSecurityParameters(SnmpMessage *message)
Parse msgSecurityParameters field.
Definition: snmp_agent_message.c:694
error_t snmpParseMessageHeader(SnmpMessage *message)
Parse SNMP message header.
Definition: snmp_agent_message.c:267
error_t snmpLocalizeKey(SnmpAuthProtocol authProtocol, const uint8_t *engineId, size_t engineIdLen, SnmpKey *key, SnmpKey *localizedKey)
Key localization algorithm.
Definition: snmp_agent_usm.c:238
SNMP agent (PDU processing)
error_t snmpAuthOutgoingMessage(const SnmpUserEntry *user, SnmpMessage *message)
Authenticate outgoing SNMP message.
Definition: snmp_agent_usm.c:469
void snmpRefreshEngineTime(SnmpAgentContext *context)
Refresh SNMP engine time.
Definition: snmp_agent_usm.c:374
TCP/IP stack core.
error_t snmpParseCommunity(SnmpMessage *message)
Parse community name.
Definition: snmp_agent_message.c:398
error_t snmpv1ProcessMessage(SnmpAgentContext *context)
Process incoming SNMPv1 message.
Definition: snmp_agent_dispatch.c:165
Debugging facilities.
ASN.1 (Abstract Syntax Notation One)
void snmpInitMessage(SnmpMessage *message)
Initialize a SNMP message.
Definition: snmp_agent_message.c:52
error_t snmpWriteMessageHeader(SnmpMessage *message)
Format SNMP message header.
Definition: snmp_agent_message.c:320
SNMP message dispatching.