| #ifndef __LINUX_GEN_STATS_H |
| #define __LINUX_GEN_STATS_H |
| #define TCA_STATS_MAX (__TCA_STATS_MAX - 1) |
| * struct gnet_stats_basic - byte/packet throughput statistics |
| * @bytes: number of seen bytes |
| * @packets: number of seen packets |
| * struct gnet_stats_rate_est - rate estimator |
| * @bps: current byte rate |
| * @pps: current packet rate |
| struct gnet_stats_rate_est |
| * struct gnet_stats_queue - queuing statistics |
| * @backlog: backlog size of queue |
| * @drops: number of dropped packets |
| * @requeues: number of requeues |
| * @overlimits: number of enqueues over the limit |
| * struct gnet_estimator - rate estimator configuration |
| * @interval: sampling period |
| * @ewma_log: the log of measurement window weight |
| #endif /* __LINUX_GEN_STATS_H */ |