snmp_agent_misc.h
error_t snmpParseVarBinding(const uint8_t *p, size_t length, SnmpVarBind *var, size_t *consumed)
Parse variable binding.
Definition: snmp_agent_misc.c:256
SNMP agent (Simple Network Management Protocol)
error_t snmpCopyVarBindingList(SnmpAgentContext *context)
Copy the list of variable bindings.
Definition: snmp_agent_misc.c:449
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 snmpWriteTrapVarBindingList(SnmpAgentContext *context, uint_t genericTrapType, uint_t specificTrapCode, const SnmpTrapObject *objectList, uint_t objectListSize)
Format the variable binding list for Trap-PDU or SNMPv2-Trap-PDU.
Definition: snmp_agent_misc.c:477
error_t snmpWriteVarBinding(SnmpAgentContext *context, const SnmpVarBind *var)
Write variable binding.
Definition: snmp_agent_misc.c:331
SnmpUserEntry * snmpCreateCommunityEntry(SnmpAgentContext *context)
Create a new community entry.
Definition: snmp_agent_misc.c:147
error_t snmpTranslateStatusCode(SnmpMessage *message, error_t status, uint_t index)
Translate status code.
Definition: snmp_agent_misc.c:616
TCP/IP stack core.