1 #ifndef __LINUX_GEN_STATS_H
2 #define __LINUX_GEN_STATS_H
12 #define TCA_STATS_MAX (__TCA_STATS_MAX - 1)
15 * @bytes: number of seen bytes
16 * @packets: number of seen packets
18 struct gnet_stats_basic
25 * @bps: current byte rate
26 * @pps: current packet rate
28 struct gnet_stats_rate_est
36 * @backlog: backlog size of queue
37 * @drops: number of dropped packets
38 * @requeues: number of requeues
40 struct gnet_stats_queue
50 * @interval: sampling period
51 * @ewma_log: the log of measurement window weight
56 unsigned char ewma_log;
60 #endif /* __LINUX_GEN_STATS_H */