diff options
Diffstat (limited to 'include/net/gen_stats.h')
| -rw-r--r-- | include/net/gen_stats.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/gen_stats.h b/include/net/gen_stats.h index c1488553e349..fa157712e982 100644 --- a/include/net/gen_stats.h +++ b/include/net/gen_stats.h | |||
| @@ -6,8 +6,7 @@ | |||
| 6 | #include <linux/rtnetlink.h> | 6 | #include <linux/rtnetlink.h> |
| 7 | #include <linux/pkt_sched.h> | 7 | #include <linux/pkt_sched.h> |
| 8 | 8 | ||
| 9 | struct gnet_dump | 9 | struct gnet_dump { |
| 10 | { | ||
| 11 | spinlock_t * lock; | 10 | spinlock_t * lock; |
| 12 | struct sk_buff * skb; | 11 | struct sk_buff * skb; |
| 13 | struct nlattr * tail; | 12 | struct nlattr * tail; |
| @@ -30,6 +29,7 @@ extern int gnet_stats_start_copy_compat(struct sk_buff *skb, int type, | |||
| 30 | extern int gnet_stats_copy_basic(struct gnet_dump *d, | 29 | extern int gnet_stats_copy_basic(struct gnet_dump *d, |
| 31 | struct gnet_stats_basic_packed *b); | 30 | struct gnet_stats_basic_packed *b); |
| 32 | extern int gnet_stats_copy_rate_est(struct gnet_dump *d, | 31 | extern int gnet_stats_copy_rate_est(struct gnet_dump *d, |
| 32 | const struct gnet_stats_basic_packed *b, | ||
| 33 | struct gnet_stats_rate_est *r); | 33 | struct gnet_stats_rate_est *r); |
| 34 | extern int gnet_stats_copy_queue(struct gnet_dump *d, | 34 | extern int gnet_stats_copy_queue(struct gnet_dump *d, |
| 35 | struct gnet_stats_queue *q); | 35 | struct gnet_stats_queue *q); |
