]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/gen_stats.h
net: cleanup include/linux
[net-next-2.6.git] / include / linux / gen_stats.h
index 710e901085d0237195ca7a3d30b91b537287dc77..552c8a0a12d15f11f6ac2b3b1a27d17a94044f8b 100644 (file)
@@ -18,13 +18,11 @@ enum {
  * @bytes: number of seen bytes
  * @packets: number of seen packets
  */
-struct gnet_stats_basic
-{
+struct gnet_stats_basic {
        __u64   bytes;
        __u32   packets;
 };
-struct gnet_stats_basic_packed
-{
+struct gnet_stats_basic_packed {
        __u64   bytes;
        __u32   packets;
 } __attribute__ ((packed));
@@ -34,8 +32,7 @@ struct gnet_stats_basic_packed
  * @bps: current byte rate
  * @pps: current packet rate
  */
-struct gnet_stats_rate_est
-{
+struct gnet_stats_rate_est {
        __u32   bps;
        __u32   pps;
 };
@@ -48,8 +45,7 @@ struct gnet_stats_rate_est
  * @requeues: number of requeues
  * @overlimits: number of enqueues over the limit
  */
-struct gnet_stats_queue
-{
+struct gnet_stats_queue {
        __u32   qlen;
        __u32   backlog;
        __u32   drops;
@@ -62,8 +58,7 @@ struct gnet_stats_queue
  * @interval: sampling period
  * @ewma_log: the log of measurement window weight
  */
-struct gnet_estimator
-{
+struct gnet_estimator {
        signed char     interval;
        unsigned char   ewma_log;
 };