summaryrefslogtreecommitdiffstats
path: root/include/libipset
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-02-13 12:19:56 +0100
commit79264681db6292cd019487229e6af8e325d67e22 (patch)
tree2d86c40d499ab29eb03e6b0068dacf0949c3c298 /include/libipset
parentb7a5d5e828989b2f32746fe860f4e8b59c332198 (diff)
Prepare the kernel for create option flags when no extension is needed
Diffstat (limited to 'include/libipset')
-rw-r--r--include/libipset/linux_ip_set.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libipset/linux_ip_set.h b/include/libipset/linux_ip_set.h
index c2bae85..590e393 100644
--- a/include/libipset/linux_ip_set.h
+++ b/include/libipset/linux_ip_set.h
@@ -189,6 +189,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,