SNMP Manager Programmer's Guide
Reference Summary
SNMP Manager Programmer’s Guide–134249
9-22
Unencoded-Packet Structure (SNMP_PKT_T)
vbl_length
The number of bytes in vblist.
vbl_count
The number of variable bindings in vblist.
vblist
An array of structures of type VB_T. Each structure in 
the array describes one variable binding; these are the 
fields of interest to Manager Services programmers.
typedef struct VB_S
 {
 ...
 ALENGTH_T vb_seq_size;
 OBJ_ID_T vb_obj_id;
 OCTET_T vb_data_flags_n_type;
 ...
 ALENGTH_T vb_data_length;
 ...
 union {
 INT_32_T v_number
 UINT_32_T v_counter
 EBUFFER_T v_string
 OBJ_ID_T v_object
 unsigned char v_network_address[4];
 } value_u
 ...
 } VB_T
vb_seq_size
The total number of bytes in the encoded variable 
binding.
vb_obj_id
The OID of the variable binding.
vb_data_flags_n
_type
The class form and data type of the variable 
binding. The following Manager Services defines 
describe values for this field:
#define VT_NUMBER  A_INTEGER
#define VT_STRING  A_OCTETSTRING
#define VT_OBJECT  A_OBJECTID
#define VT_EMPTY  A_NULL
#define VT_IPADDRESS (A_APPLICATION | 0)
#define VT_COUNTER  (A_APPLICATION | 1)
#define VT_GAUGE  (A_APPLICATION | 2)
#define VT_TIMETICKS (A_APPLICATION | 3)
#define VT_OPAQUE  (A_APPLICATION | 4)
#define VT_NSAPADDRESS (A_APPLICATION | 5)
#define VT_UINTEGER32 (A_APPLICATION | 7)
vb_data_length
The number of bytes in the encoded variable 
binding value.










