SNMP Manager Programmer's Guide
Reference Summary
SNMP Manager Programmer’s Guide–134249
9-23
Unencoded-Packet Structure (SNMP_PKT_T)
value_u
A tagged union capable of holding values for all
the data types described in RFC 1155. The
variable binding’s value is assigned to one of the
fields depending on its type:
v_number holds signed integer values.
v_counter holds unsigned integer values.
v_string holds octet string values.
v_object holds OIDs.
v_network_address[4] holds network addresses.
trap_pdu
enterprise_objid
net_address[4]
generic_trap
specific_trap
trap_time_ticks
trap_vbl
A structure for holding a trap PDU. This structure
contains six fields.
An OID identifying the trap originator.
The IP address of the trap originator.
The generic trap type. The following Manager Services
defines describe values for this field:
#define COLD_START 0
#define WARM_START 1
#define LINK_DOWN 2
#define LINK_UP 3
#define AUTH_FAILURE 4
#define EGP_NEIGHBOR_LOSS 5
#define ENTERPRISE_SPECIFIC 6
The specific trap code.
The timestamp associated with the trap.
A structure of type VBL_T that describes the variable
bindings associated with the trap. Refer to std_vbl above
for a description of the fields in this structure.