5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
MIBVAR Struct Reference

#include <ltrx_snmp.h>

Data Fields

int16_t len
 
OID oid
 
uint8_t opt
 
void * ptr
 
uint8_t type
 

Detailed Description

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:

char sysContact[255];
sysContactMibVar = {{8,{0x2b,6,1,2,1,1,4,0}}, MIBOPT_W + MIBOPT_CAW,
SNMP_String, sizeof(sysContact), sysContact}
#define MIBOPT_W
Definition ltrx_snmp.h:80
#define MIBOPT_CAW
Definition ltrx_snmp.h:84

The documentation for this struct was generated from the following file: