diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2013-05-01 00:56:35 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2013-06-07 19:30:57 +0200 |
commit | 34844da8f53ec80b34ad094f2fca2519a7079ec2 (patch) | |
tree | 513e761fd914bffb8d96aade042312d5073be437 /include/linux/netfilter/xt_set.h | |
parent | f927d5fc3a6a0a8a8fb03e733a6572a934482723 (diff) |
Introduce a new revision for the set match with the counters support
The revision add the support of matching the packet/byte counters
if the set was defined with the extension. Also, a new flag is
introduced to suppress updating the packet/byte counters if required.
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'include/linux/netfilter/xt_set.h')
-rw-r--r-- | include/linux/netfilter/xt_set.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_set.h b/include/linux/netfilter/xt_set.h index e3a9978f..964d3d42 100644 --- a/include/linux/netfilter/xt_set.h +++ b/include/linux/netfilter/xt_set.h @@ -62,4 +62,13 @@ struct xt_set_info_target_v2 { __u32 timeout; }; +/* Revision 3 match */ + +struct xt_set_info_match_v3 { + struct xt_set_info match_set; + struct ip_set_counter_match packets; + struct ip_set_counter_match bytes; + __u32 flags; +}; + #endif /*_XT_SET_H*/ |