SNMP Manager Programmer's Guide

Using Header Files, Data Structures, and Defines
SNMP Manager Programmer’s Guide–134249
4-8
Decoding Statistics Structure (SNMP_STATS_T)
generic_trap
is 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
specific_trap
is the specific trap code.
trap_time_ticks
is the timestamp associated with the trap.
trap_vbl
is 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.
Decoding Statistics Structure (SNMP_STATS_T)
This structure holds statistical counters of packet decoding activities. A global structure
of this type with the name snmp_stats must be defined in every manager:
SNMP_STATS_T snmp_stats;