summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2014-02-13 12:19:56 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2014-03-06 09:31:42 +0100
commitaf284ece87365f3a69723f5bcc1bcdb505b5eb5d (patch)
tree9b320a4d6242ad9e1e946e84849419443aa11dc9 /include/uapi
parentnetfilter: ipset: add markmask for hash:ip,mark data type (diff)
downloadlinux-af284ece87365f3a69723f5bcc1bcdb505b5eb5d.tar.xz
linux-af284ece87365f3a69723f5bcc1bcdb505b5eb5d.zip
netfilter: ipset: Prepare the kernel for create option flags when no extension is needed
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/netfilter/ipset/ip_set.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/ipset/ip_set.h b/include/uapi/linux/netfilter/ipset/ip_set.h
index f636f282b142..a29a378701d2 100644
--- a/include/uapi/linux/netfilter/ipset/ip_set.h
+++ b/include/uapi/linux/netfilter/ipset/ip_set.h
@@ -188,6 +188,12 @@ enum ipset_cadt_flags {
IPSET_FLAG_CADT_MAX = 15,
};
+/* The flag bits which correspond to the non-extension create flags */
+enum ipset_create_flags {
+ IPSET_CREATE_FLAG_NONE = 0,
+ IPSET_CREATE_FLAG_MAX = 7,
+};
+
/* Commands with settype-specific attributes */
enum ipset_adt {
IPSET_ADD,