Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SnmpMessage Struct Reference
SNMP message. More...
#include <snmp_common.h>
Data Fields | |
| uint8_t | buffer [SNMP_MAX_MSG_SIZE] |
| Buffer that holds the message. | |
| size_t | bufferLen |
| Original length of the message. | |
| uint8_t * | pos |
| Current position. | |
| size_t | length |
| Length of the message. | |
| int32_t | version |
| SNMP version identifier. | |
| const char_t * | community |
| Community name. | |
| size_t | communityLen |
| Length of the community name. | |
| int32_t | msgId |
| Message identifier. | |
| int32_t | msgMaxSize |
| Maximum message size supported by the sender. | |
| uint8_t | msgFlags |
| Bit fields which control processing of the message. | |
| int32_t | msgSecurityModel |
| Security model used by the sender. | |
| const uint8_t * | msgAuthEngineId |
| Authoritative engine identifier. | |
| size_t | msgAuthEngineIdLen |
| Length of the authoritative engine identifier. | |
| int32_t | msgAuthEngineBoots |
| Number of times the SNMP engine has rebooted. | |
| int32_t | msgAuthEngineTime |
| Number of seconds since last reboot. | |
| const char_t * | msgUserName |
| User name. | |
| size_t | msgUserNameLen |
| Length of the user name. | |
| uint8_t * | msgAuthParameters |
| Authentication parameters. | |
| size_t | msgAuthParametersLen |
| Length of the authentication parameters. | |
| const uint8_t * | msgPrivParameters |
| Privacy parameters. | |
| size_t | msgPrivParametersLen |
| Length of the privacy parameters. | |
| const uint8_t * | contextEngineId |
| Context engine identifier. | |
| size_t | contextEngineIdLen |
| Length of the context engine identifier. | |
| const uint8_t * | contextName |
| Context name. | |
| size_t | contextNameLen |
| Length of the context name. | |
| SnmpPduType | pduType |
| PDU type. | |
| int32_t | requestId |
| Request identifier. | |
| int32_t | errorStatus |
| Error status. | |
| int32_t | errorIndex |
| Error index. | |
| const uint8_t * | enterpriseOid |
| Type of object generating trap. | |
| size_t | enterpriseOidLen |
| Length of the enterprise OID. | |
| Ipv4Addr | agentAddr |
| Address of object generating trap. | |
| int32_t | genericTrapType |
| Generic trap type. | |
| int32_t | specificTrapCode |
| Specific trap code. | |
| uint32_t | timestamp |
| Timestamp. | |
| int32_t | nonRepeaters |
| GetBulkRequest-PDU specific parameter. | |
| int32_t | maxRepetitions |
| GetBulkRequest-PDU specific parameter. | |
| uint8_t * | varBindList |
| List of variable bindings. | |
| size_t | varBindListLen |
| Length of the list in bytes. | |
| size_t | varBindListMaxLen |
| Maximum length of the list in bytes. | |
| size_t | oidLen |
| Length of the object identifier. | |
Detailed Description
SNMP message.
Definition at line 208 of file snmp_common.h.
Field Documentation
Address of object generating trap.
Definition at line 246 of file snmp_common.h.
| uint8_t buffer[SNMP_MAX_MSG_SIZE] |
Buffer that holds the message.
Definition at line 210 of file snmp_common.h.
| size_t bufferLen |
Original length of the message.
Definition at line 211 of file snmp_common.h.
| const char_t* community |
Community name.
Definition at line 216 of file snmp_common.h.
| size_t communityLen |
Length of the community name.
Definition at line 217 of file snmp_common.h.
| const uint8_t* contextEngineId |
Context engine identifier.
Definition at line 234 of file snmp_common.h.
| size_t contextEngineIdLen |
Length of the context engine identifier.
Definition at line 235 of file snmp_common.h.
| const uint8_t* contextName |
Context name.
Definition at line 236 of file snmp_common.h.
| size_t contextNameLen |
Length of the context name.
Definition at line 237 of file snmp_common.h.
| const uint8_t* enterpriseOid |
Type of object generating trap.
Definition at line 244 of file snmp_common.h.
| size_t enterpriseOidLen |
Length of the enterprise OID.
Definition at line 245 of file snmp_common.h.
| int32_t errorIndex |
Error index.
Definition at line 242 of file snmp_common.h.
| int32_t errorStatus |
Error status.
Definition at line 241 of file snmp_common.h.
| int32_t genericTrapType |
Generic trap type.
Definition at line 247 of file snmp_common.h.
| size_t length |
Length of the message.
Definition at line 213 of file snmp_common.h.
| int32_t maxRepetitions |
GetBulkRequest-PDU specific parameter.
Definition at line 253 of file snmp_common.h.
| int32_t msgAuthEngineBoots |
Number of times the SNMP engine has rebooted.
Definition at line 226 of file snmp_common.h.
| const uint8_t* msgAuthEngineId |
Authoritative engine identifier.
Definition at line 224 of file snmp_common.h.
| size_t msgAuthEngineIdLen |
Length of the authoritative engine identifier.
Definition at line 225 of file snmp_common.h.
| int32_t msgAuthEngineTime |
Number of seconds since last reboot.
Definition at line 227 of file snmp_common.h.
| uint8_t* msgAuthParameters |
Authentication parameters.
Definition at line 230 of file snmp_common.h.
| size_t msgAuthParametersLen |
Length of the authentication parameters.
Definition at line 231 of file snmp_common.h.
| uint8_t msgFlags |
Bit fields which control processing of the message.
Definition at line 222 of file snmp_common.h.
| int32_t msgId |
Message identifier.
Definition at line 220 of file snmp_common.h.
| int32_t msgMaxSize |
Maximum message size supported by the sender.
Definition at line 221 of file snmp_common.h.
| const uint8_t* msgPrivParameters |
Privacy parameters.
Definition at line 232 of file snmp_common.h.
| size_t msgPrivParametersLen |
Length of the privacy parameters.
Definition at line 233 of file snmp_common.h.
| int32_t msgSecurityModel |
Security model used by the sender.
Definition at line 223 of file snmp_common.h.
| const char_t* msgUserName |
User name.
Definition at line 228 of file snmp_common.h.
| size_t msgUserNameLen |
Length of the user name.
Definition at line 229 of file snmp_common.h.
| int32_t nonRepeaters |
GetBulkRequest-PDU specific parameter.
Definition at line 252 of file snmp_common.h.
| size_t oidLen |
Length of the object identifier.
Definition at line 258 of file snmp_common.h.
PDU type.
Definition at line 239 of file snmp_common.h.
| uint8_t* pos |
Current position.
Definition at line 212 of file snmp_common.h.
| int32_t requestId |
Request identifier.
Definition at line 240 of file snmp_common.h.
| int32_t specificTrapCode |
Specific trap code.
Definition at line 248 of file snmp_common.h.
| uint32_t timestamp |
Timestamp.
Definition at line 249 of file snmp_common.h.
| uint8_t* varBindList |
List of variable bindings.
Definition at line 255 of file snmp_common.h.
| size_t varBindListLen |
Length of the list in bytes.
Definition at line 256 of file snmp_common.h.
| size_t varBindListMaxLen |
Maximum length of the list in bytes.
Definition at line 257 of file snmp_common.h.
| int32_t version |
SNMP version identifier.
Definition at line 214 of file snmp_common.h.
Generated on Tue Jul 12 2022 17:10:24 by
1.7.2