79#define SNMP_VERSION_1 0
83#define SNMP_VERSION_2C 1
88#define SNMP_STATUS_NO_SUCH_NAME 2
#define SNMP_MSG_OID_MAX_LEN
Default maximum number of IDs in one OID.
struct snmp_oid_s snmp_oid_t
The OID struct.
struct snmp_header_s snmp_header_t
The SNMP header struct.
struct snmp_varbind_s snmp_varbind_t
The varbind struct.
void snmp_init()
Initializes the SNMP engine.
Header file for the logging system.
SNMP Implementation of the configurable macros.
uint8_t length
The OID length.
uint32_t data[SNMP_MSG_OID_MAX_LEN]
The OID.
uint8_t * in
The pointer used for the incoming packet.
uint8_t * out
The pointer used for the outgoing packet.
uint16_t max
The maximum number of bytes.
uint16_t used
The number of bytes used.
uint32_t length
The string length.
uint8_t value_type
The type in this varbind.
union snmp_varbind_s::@41 value
A union to represent the value in this varbind.
const char * string
A pointer to the string value from this varbind.
uint32_t integer
The integer value.