summaryrefslogtreecommitdiff
path: root/include/linux/netfilter/ipset/ip_set_ahash.h
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-06-16 20:52:41 +0400
committerPatrick McHardy <kaber@trash.net>2011-06-16 20:52:41 +0400
commitd0d9e0a5a8db05b2179c2ffb25d1c2850cce3c8e (patch)
tree16be0164e378226c7603838ded9bcf3fd4041692 /include/linux/netfilter/ipset/ip_set_ahash.h
parentf1e00b39797944bf25addaf543839feeb25fbdc5 (diff)
downloadlinux-d0d9e0a5a8db05b2179c2ffb25d1c2850cce3c8e.tar.xz
netfilter: ipset: support range for IPv4 at adding/deleting elements for hash:*net* types
The range internally is converted to the network(s) equal to the range. Example: # ipset new test hash:net # ipset add test 10.2.0.0-10.2.1.12 # ipset list test Name: test Type: hash:net Header: family inet hashsize 1024 maxelem 65536 Size in memory: 16888 References: 0 Members: 10.2.1.12 10.2.1.0/29 10.2.0.0/24 10.2.1.8/30 Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter/ipset/ip_set_ahash.h')
-rw-r--r--include/linux/netfilter/ipset/ip_set_ahash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/ipset/ip_set_ahash.h b/include/linux/netfilter/ipset/ip_set_ahash.h
index 8709bd950c8b..905e2ac32daf 100644
--- a/include/linux/netfilter/ipset/ip_set_ahash.h
+++ b/include/linux/netfilter/ipset/ip_set_ahash.h
@@ -353,7 +353,7 @@ retry:
return 0;
}
-static inline void
+static void
type_pf_data_next(struct ip_set_hash *h, const struct type_pf_elem *d);
/* Add an element to a hash and update the internal counters when succeeded,