From 80458f046daa6dd6f9a0f8cd2b6a5d3ac766cd28 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Fri, 1 Apr 2005 18:24:14 +0200 Subject: [NET]: Allow dumping of application specific statistics if no primary TLV is used Although this case is hypothetical at the moment, more advanced actions are likely to need this in the future. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller --- include/net/gen_stats.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/net/gen_stats.h b/include/net/gen_stats.h index 9a9bea508d1b..0b95cf031d6e 100644 --- a/include/net/gen_stats.h +++ b/include/net/gen_stats.h @@ -15,7 +15,8 @@ struct gnet_dump /* Backward compatability */ int compat_tc_stats; int compat_xstats; - struct rtattr * xstats; + void * xstats; + int xstats_len; struct tc_stats tc_stats; }; -- cgit v1.2.3