SNMP Manager Programmer's Guide

Using Header Files, Data Structures, and Defines
SNMP Manager Programmer’s Guide–134249
4-6
Unencoded-Packet Structure (SNMP_PKT_T)
std_vbl
is a structure of type VBL_T that describes the variable bindings associated with
the packet. The structure contains several fields of interest to Manager Services
programmers:
vbl_length
is the number of bytes in vblist.
vbl_count
is the number of variable bindings in vblist.
vblist
is 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:
vb_seq_size
is the total number of bytes in the encoded variable binding.
typedef struct VBL_S
{
ALENGTH_T vbl_length;
int vbl_count;
VB_T *vblist;
...
} VBL_T;
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