SNMP Manager Programmer's Guide
Reference Summary
SNMP Manager Programmer’s Guide–134249
9-19
Encoded-Packet Structure (EBUFFER_T)
Encoded-Packet Structure (EBUFFER_T)
This structure describes a variable-length string buffer for holding encoded packets. 
num_components
The number of integers in the sequence of integers making up 
an OID.  For example, an OID of 1.2.3.4 has four components.
component_list
Pointer to an array of elements of type OIDC_T. OIDC_T is a 
Manager Services typedef for a 32-bit unsigned integer.  Each 
element in the array holds one of the OID integers. 
typedef struct EBUFFER_S
 {
 unsigned short int bflags;
 OCTET_T *start_bp;
 OCTET_T *next_bp;
 ALENGTH_T remaining;
 } EBUFFER_T;
bflags
Description of how the buffer was allocated. The following Manager 
Services defines describe values for bflags:
#define BFL_IS_DYNAMIC 0x0001 /*Buffer was obtained by malloc*/
#define BFL_IS_STATIC 0x0000 /*Buffer was statically allocated*/
start_bp
Pointer to the beginning of the buffer.
next_bp
Pointer to the location in the buffer at which the next value will be 
written.
remainin
g
The number of unused bytes in the buffer.










