1 #ifndef __LINUX_GEN_STATS_H
2 #define __LINUX_GEN_STATS_H
4 #include <linux/types.h>
14 #define TCA_STATS_MAX (__TCA_STATS_MAX - 1)
17 * @bytes: number of seen bytes
18 * @packets: number of seen packets
20 struct gnet_stats_basic
27 * @bps: current byte rate
28 * @pps: current packet rate
30 struct gnet_stats_rate_est
38 * @backlog: backlog size of queue
39 * @drops: number of dropped packets
40 * @requeues: number of requeues
42 struct gnet_stats_queue
52 * @interval: sampling period
53 * @ewma_log: the log of measurement window weight
58 unsigned char ewma_log
;
62 #endif /* __LINUX_GEN_STATS_H */