SNMP Manager Programmer's Guide
Reference Summary
SNMP Manager Programmer’s Guide–134249
9-24
Decoding Statistics Structure (SNMP_STATS_T)
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. Here is a 
description of the fields in this structure that are of interest to Manager Services 
programmers: 
Refer to RFC 1213 for a definition of these counters, which correspond to MIB objects 
in the SNMP group of MIB-II.
typedef struct SNMP_STATS_S
 {
 unsigned long snmpInPkts;
 unsigned long snmpInBadCommunityNames;
 unsigned long snmpInBadCommunityUses;
 unsigned long snmpInASNParseErrs;
 unsigned long snmpOutPkts;
 unsigned long snmpInBadVersions;
 unsigned long snmpInBadTypes;
 unsigned long snmpInTooBigs;
 unsigned long snmpInNoSuchNames;
 unsigned long snmpInBadValues;
 unsigned long snmpInReadOnlys;
 unsigned long snmpInGenErrs;
 unsigned long snmpInTotalReqVars;
 unsigned long snmpInTotalSetVars;
 unsigned long snmpInGetRequests;
 unsigned long snmpInGetNexts;
 unsigned long snmpInSetRequests;
 unsigned long snmpInGetResponses;
 unsigned long snmpInTraps;
 unsigned long snmpOutTooBigs;
 unsigned long snmpOutNoSuchNames;
 unsigned long snmpOutBadValues;
 unsigned long snmpOutReadOnlys;
 unsigned long snmpOutGenErrs;
 unsigned long snmpOutGetRequests;
 unsigned long snmpOutGetNexts;
 unsigned long snmpOutSetRequests;
 unsigned long snmpOutGetResponses;
 unsigned long snmpOutTraps;
 unsigned short snmpEnableAuthTraps;
 ...
 } SNMP_STATS_T;










