SNMP message. More...
#include <snmp_agent_message.h>
Data Fields | |
uint8_t | buffer [SNMP_MAX_MSG_SIZE] |
Buffer that holds the message. More... | |
size_t | bufferLen |
Original length of the message. More... | |
uint8_t * | pos |
Current position. More... | |
size_t | length |
Length of the message. More... | |
int32_t | version |
SNMP version identifier. More... | |
const char_t * | community |
Community name. More... | |
size_t | communityLen |
Length of the community name. More... | |
int32_t | msgId |
Message identifier. More... | |
int32_t | msgMaxSize |
Maximum message size supported by the sender. More... | |
uint8_t | msgFlags |
Bit fields which control processing of the message. More... | |
int32_t | msgSecurityModel |
Security model used by the sender. More... | |
const uint8_t * | msgAuthEngineId |
Authoritative engine identifier. More... | |
size_t | msgAuthEngineIdLen |
Length of the authoritative engine identifier. More... | |
int32_t | msgAuthEngineBoots |
Number of times the SNMP engine has rebooted. More... | |
int32_t | msgAuthEngineTime |
Number of seconds since last reboot. More... | |
const char_t * | msgUserName |
User name. More... | |
size_t | msgUserNameLen |
Length of the user name. More... | |
uint8_t * | msgAuthParameters |
Authentication parameters. More... | |
size_t | msgAuthParametersLen |
Length of the authentication parameters. More... | |
const uint8_t * | msgPrivParameters |
Privacy parameters. More... | |
size_t | msgPrivParametersLen |
Length of the privacy parameters. More... | |
const uint8_t * | contextEngineId |
Context engine identifier. More... | |
size_t | contextEngineIdLen |
Length of the context engine identifier. More... | |
const char_t * | contextName |
Context name. More... | |
size_t | contextNameLen |
Length of the context name. More... | |
SnmpPduType | pduType |
PDU type. More... | |
int32_t | requestId |
Request identifier. More... | |
int32_t | errorStatus |
Error status. More... | |
int32_t | errorIndex |
Error index. More... | |
const uint8_t * | enterpriseOid |
Type of object generating trap. More... | |
size_t | enterpriseOidLen |
Length of the enterprise OID. More... | |
Ipv4Addr | agentAddr |
Address of object generating trap. More... | |
int32_t | genericTrapType |
Generic trap type. More... | |
int32_t | specificTrapCode |
Specific trap code. More... | |
uint32_t | timestamp |
Timestamp. More... | |
int32_t | nonRepeaters |
GetBulkRequest-PDU specific parameter. More... | |
int32_t | maxRepetitions |
GetBulkRequest-PDU specific parameter. More... | |
uint8_t * | varBindList |
List of variable bindings. More... | |
size_t | varBindListLen |
Length of the list in bytes. More... | |
size_t | varBindListMaxLen |
Maximum length of the list in bytes. More... | |
size_t | oidLen |
Length of the object identifier. More... | |
Detailed Description
SNMP message.
Definition at line 55 of file snmp_agent_message.h.
Field Documentation
◆ agentAddr
Ipv4Addr agentAddr |
Address of object generating trap.
Definition at line 93 of file snmp_agent_message.h.
◆ buffer
uint8_t buffer[SNMP_MAX_MSG_SIZE] |
Buffer that holds the message.
Definition at line 57 of file snmp_agent_message.h.
◆ bufferLen
size_t bufferLen |
Original length of the message.
Definition at line 58 of file snmp_agent_message.h.
◆ community
const char_t* community |
Community name.
Definition at line 63 of file snmp_agent_message.h.
◆ communityLen
size_t communityLen |
Length of the community name.
Definition at line 64 of file snmp_agent_message.h.
◆ contextEngineId
const uint8_t* contextEngineId |
Context engine identifier.
Definition at line 81 of file snmp_agent_message.h.
◆ contextEngineIdLen
size_t contextEngineIdLen |
Length of the context engine identifier.
Definition at line 82 of file snmp_agent_message.h.
◆ contextName
const char_t* contextName |
Context name.
Definition at line 83 of file snmp_agent_message.h.
◆ contextNameLen
size_t contextNameLen |
Length of the context name.
Definition at line 84 of file snmp_agent_message.h.
◆ enterpriseOid
const uint8_t* enterpriseOid |
Type of object generating trap.
Definition at line 91 of file snmp_agent_message.h.
◆ enterpriseOidLen
size_t enterpriseOidLen |
Length of the enterprise OID.
Definition at line 92 of file snmp_agent_message.h.
◆ errorIndex
int32_t errorIndex |
Error index.
Definition at line 89 of file snmp_agent_message.h.
◆ errorStatus
int32_t errorStatus |
Error status.
Definition at line 88 of file snmp_agent_message.h.
◆ genericTrapType
int32_t genericTrapType |
Generic trap type.
Definition at line 94 of file snmp_agent_message.h.
◆ length
size_t length |
Length of the message.
Definition at line 60 of file snmp_agent_message.h.
◆ maxRepetitions
int32_t maxRepetitions |
GetBulkRequest-PDU specific parameter.
Definition at line 100 of file snmp_agent_message.h.
◆ msgAuthEngineBoots
int32_t msgAuthEngineBoots |
Number of times the SNMP engine has rebooted.
Definition at line 73 of file snmp_agent_message.h.
◆ msgAuthEngineId
const uint8_t* msgAuthEngineId |
Authoritative engine identifier.
Definition at line 71 of file snmp_agent_message.h.
◆ msgAuthEngineIdLen
size_t msgAuthEngineIdLen |
Length of the authoritative engine identifier.
Definition at line 72 of file snmp_agent_message.h.
◆ msgAuthEngineTime
int32_t msgAuthEngineTime |
Number of seconds since last reboot.
Definition at line 74 of file snmp_agent_message.h.
◆ msgAuthParameters
uint8_t* msgAuthParameters |
Authentication parameters.
Definition at line 77 of file snmp_agent_message.h.
◆ msgAuthParametersLen
size_t msgAuthParametersLen |
Length of the authentication parameters.
Definition at line 78 of file snmp_agent_message.h.
◆ msgFlags
uint8_t msgFlags |
Bit fields which control processing of the message.
Definition at line 69 of file snmp_agent_message.h.
◆ msgId
int32_t msgId |
Message identifier.
Definition at line 67 of file snmp_agent_message.h.
◆ msgMaxSize
int32_t msgMaxSize |
Maximum message size supported by the sender.
Definition at line 68 of file snmp_agent_message.h.
◆ msgPrivParameters
const uint8_t* msgPrivParameters |
Privacy parameters.
Definition at line 79 of file snmp_agent_message.h.
◆ msgPrivParametersLen
size_t msgPrivParametersLen |
Length of the privacy parameters.
Definition at line 80 of file snmp_agent_message.h.
◆ msgSecurityModel
int32_t msgSecurityModel |
Security model used by the sender.
Definition at line 70 of file snmp_agent_message.h.
◆ msgUserName
const char_t* msgUserName |
User name.
Definition at line 75 of file snmp_agent_message.h.
◆ msgUserNameLen
size_t msgUserNameLen |
Length of the user name.
Definition at line 76 of file snmp_agent_message.h.
◆ nonRepeaters
int32_t nonRepeaters |
GetBulkRequest-PDU specific parameter.
Definition at line 99 of file snmp_agent_message.h.
◆ oidLen
size_t oidLen |
Length of the object identifier.
Definition at line 105 of file snmp_agent_message.h.
◆ pduType
SnmpPduType pduType |
PDU type.
Definition at line 86 of file snmp_agent_message.h.
◆ pos
uint8_t* pos |
Current position.
Definition at line 59 of file snmp_agent_message.h.
◆ requestId
int32_t requestId |
Request identifier.
Definition at line 87 of file snmp_agent_message.h.
◆ specificTrapCode
int32_t specificTrapCode |
Specific trap code.
Definition at line 95 of file snmp_agent_message.h.
◆ timestamp
uint32_t timestamp |
Timestamp.
Definition at line 96 of file snmp_agent_message.h.
◆ varBindList
uint8_t* varBindList |
List of variable bindings.
Definition at line 102 of file snmp_agent_message.h.
◆ varBindListLen
size_t varBindListLen |
Length of the list in bytes.
Definition at line 103 of file snmp_agent_message.h.
◆ varBindListMaxLen
size_t varBindListMaxLen |
Maximum length of the list in bytes.
Definition at line 104 of file snmp_agent_message.h.
◆ version
int32_t version |
SNMP version identifier.
Definition at line 61 of file snmp_agent_message.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/snmp/snmp_agent_message.h