snmp_agent_message.h
error_t snmpWriteSecurityParameters(SnmpMessage *message)
Format msgSecurityParameters field.
Definition: snmp_agent_message.c:864
error_t snmpParseSecurityParameters(SnmpMessage *message)
Parse msgSecurityParameters field.
Definition: snmp_agent_message.c:694
error_t snmpDecodeUnsignedInt32(const uint8_t *src, size_t length, uint32_t *value)
Decode a 32-bit unsigned integer.
Definition: snmp_agent_message.c:1707
size_t contextEngineIdLen
Length of the context engine identifier.
Definition: snmp_agent_message.h:82
error_t snmpWriteCommunity(SnmpMessage *message)
Format community name.
Definition: snmp_agent_message.c:440
error_t snmpDecodeInt32(const uint8_t *src, size_t length, int32_t *value)
Decode a 32-bit signed integer.
Definition: snmp_agent_message.c:1671
uint8_t msgFlags
Bit fields which control processing of the message.
Definition: snmp_agent_message.h:69
error_t snmpComputeMessageOverhead(SnmpMessage *message)
Compute SNMP message overhead.
Definition: snmp_agent_message.c:201
SNMP agent (Simple Network Management Protocol)
error_t snmpWriteMessageHeader(SnmpMessage *message)
Format SNMP message header.
Definition: snmp_agent_message.c:320
size_t msgAuthEngineIdLen
Length of the authoritative engine identifier.
Definition: snmp_agent_message.h:72
error_t snmpEncodeUnsignedInt32(uint32_t value, uint8_t *dest, size_t *length)
Encode a 32-bit unsigned integer.
Definition: snmp_agent_message.c:1565
error_t snmpParseMessageHeader(SnmpMessage *message)
Parse SNMP message header.
Definition: snmp_agent_message.c:267
error_t snmpParsePduHeader(SnmpMessage *message)
Parse PDU header.
Definition: snmp_agent_message.c:1204
int32_t msgAuthEngineBoots
Number of times the SNMP engine has rebooted.
Definition: snmp_agent_message.h:73
error_t snmpEncodeInt32(int32_t value, uint8_t *dest, size_t *length)
Encode a 32-bit signed integer.
Definition: snmp_agent_message.c:1514
size_t msgAuthParametersLen
Length of the authentication parameters.
Definition: snmp_agent_message.h:78
error_t snmpWritePduHeader(SnmpMessage *message)
Format PDU header.
Definition: snmp_agent_message.c:1317
error_t snmpInitResponse(SnmpAgentContext *context)
Initialize a GetResponse-PDU.
Definition: snmp_agent_message.c:128
error_t snmpWriteScopedPdu(SnmpMessage *message)
Format scopedPDU.
Definition: snmp_agent_message.c:1121
error_t snmpDecodeUnsignedInt64(const uint8_t *src, size_t length, uint64_t *value)
Decode a 64-bit unsigned integer.
Definition: snmp_agent_message.c:1746
error_t snmpParseCommunity(SnmpMessage *message)
Parse community name.
Definition: snmp_agent_message.c:398
error_t snmpParseGlobalData(SnmpMessage *message)
Parse msgGlobalData field.
Definition: snmp_agent_message.c:480
TCP/IP stack core.
error_t snmpEncodeUnsignedInt64(uint64_t value, uint8_t *dest, size_t *length)
Encode a 64-bit unsigned integer.
Definition: snmp_agent_message.c:1617
error_t snmpWriteGlobalData(SnmpMessage *message)
Format msgGlobalData field.
Definition: snmp_agent_message.c:596
error_t snmpParseScopedPdu(SnmpMessage *message)
Parse scopedPDU field.
Definition: snmp_agent_message.c:1047
void snmpInitMessage(SnmpMessage *message)
Initialize a SNMP message.
Definition: snmp_agent_message.c:52