summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_set.h
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-16 12:45:33 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-16 12:45:33 +0200
commitd40f1628c3717daebc437a398a285e371b5b6f7f (patch)
tree2b6a94d9198c9214785e0eef7a1c866e3a3e25c6 /include/linux/netfilter_ipv4/ipt_set.h
parent4a498502c10e690798aa78eb92e3aed7ce79f4e0 (diff)
libxt_set: new revision added
libipt_set renamed to libxt_set and the support for the forthcoming ipset release added. I have tested backward (IPv4) and forward compatibility (IPv4/IPv6): ipset -N test iphash ipset -A test test-address iptables -N test-set iptables -A test-set -j LOG --log-prefix "match " iptables -A test-set -j DROP iptables -A OUTPUT -m set --match-set test dst -j test-set ping test-address
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_set.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_set.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_set.h b/include/linux/netfilter_ipv4/ipt_set.h
deleted file mode 100644
index 2a18b93d..00000000
--- a/include/linux/netfilter_ipv4/ipt_set.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef _IPT_SET_H
-#define _IPT_SET_H
-
-#include <linux/netfilter_ipv4/ip_set.h>
-
-struct ipt_set_info {
- ip_set_id_t index;
- u_int32_t flags[IP_SET_MAX_BINDINGS + 1];
-};
-
-/* match info */
-struct ipt_set_info_match {
- struct ipt_set_info match_set;
-};
-
-struct ipt_set_info_target {
- struct ipt_set_info add_set;
- struct ipt_set_info del_set;
-};
-
-#endif /*_IPT_SET_H*/