summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2005-04-01 18:24:14 +0200
committerThomas Graf <tgraf@suug.ch>2005-04-01 18:24:14 +0200
commit80458f046daa6dd6f9a0f8cd2b6a5d3ac766cd28 (patch)
treed656d1bc54fe784d9e6d79e7d753de91d268caf7 /include/net
parent99665d91829d412c2d4103e0a0034af7f740a02c (diff)
[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 <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/gen_stats.h3
1 files changed, 2 insertions, 1 deletions
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;
};