summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2004-11-02 22:00:45 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-11-02 22:00:45 -0800
commit10be959b6d1ba9dd6134ec7236aa39744a8ccc9f (patch)
tree7df01f892fb21b7143244abfd450caec3be3594a /include/linux
parent59c1b20723b9c9482ed42ffe6713dc7ff5c33592 (diff)
[PKT_SCHED]: tcf_action: copy generic stats via TCA_ACT_STATS
Dumps the statistic common to all action modules via the newly introduced TLV type TCA_ACT_STATS in tcf_action_copy_stats but allows the corresponding module to dump its own statistic by implementing the get_stats callback. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/rtnetlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index 9bb86160c2f2..354e5f88e4f8 100644
--- a/include/linux/rtnetlink.h
+++ b/include/linux/rtnetlink.h
@@ -699,6 +699,7 @@ enum
TCA_RATE,
TCA_FCNT,
TCA_STATS2,
+ TCA_ACT_STATS,
__TCA_MAX
};