summaryrefslogtreecommitdiff
path: root/include/net-snmp/data_access/ipstats.h
blob: 0e7aa1e253428d5babaa27a02ec2f4f9e574e3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
 * ipstats data access header
 *
 * $Id: ipstats.h 11068 2004-09-14 02:29:16Z rstory $
 */
#ifndef NETSNMP_ACCESS_IPSTATS_H
#define NETSNMP_ACCESS_IPSTATS_H

# ifdef __cplusplus
extern          "C" {
#endif

/**---------------------------------------------------------------------*/
/*
 * structure definitions
 */

/*
 * netsnmp_ipstats_entry
 */
typedef struct netsnmp_ipstats_s {

   U64             HCInReceives;
   U64             HCInOctets;
   u_long          InHdrErrors;
   u_long          InNoRoutes;
   u_long          InAddrErrors;
   u_long          InUnknownProtos;
   u_long          InTruncatedPkts;
   U64             HCInForwDatagrams;
   u_long          ReasmReqds;
   u_long          ReasmOKs;
   u_long          ReasmFails;
   u_long          InDiscards;
   U64             HCInDelivers;
   U64             HCOutRequests;
   u_long          OutNoRoutes;
   U64             HCOutForwDatagrams;
   u_long          OutDiscards;
   u_long          OutFragReqds;
   u_long          OutFragOKs;
   u_long          OutFragFails;
   u_long          OutFragCreates;
   U64             HCOutTransmits;
   U64             HCOutOctets;
   U64             HCInMcastPkts;
   U64             HCInMcastOctets;
   U64             HCOutMcastPkts;
   U64             HCOutMcastOctets;
   U64             HCInBcastPkts;
   U64             HCOutBcastPkts;

} netsnmp_ipstats;


# ifdef __cplusplus
}
#endif

#endif /* NETSNMP_ACCESS_IPSTATS_H */