Data Fields | |
int16_t | len |
OID | oid |
uint8_t | opt |
void * | ptr |
uint8_t | type |
This struct is used to define a MIB variable. Every MIB variable, whether it's in a table or not, must be defined by a MIBVAR struct. For example the sysContact variable can be defined as:
int16_t MIBVAR::len |
length/size of the data pointed to by 'ptr'
uint8_t MIBVAR::opt |
options (see defines above)
void* MIBVAR::ptr |
pointer to the (possible) variable data
uint8_t MIBVAR::type |
variable SNMP SMI type (see defines above)