summaryrefslogtreecommitdiffstats
path: root/include/libipset/data.h
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@netfilter.org>2020-09-21 20:13:07 +0200
committerJozsef Kadlecsik <kadlec@netfilter.org>2020-09-21 20:13:07 +0200
commit280fe2d4eecb2a546087fbf28bb45168f96d8d52 (patch)
treecd2a8bb36656b4011718c8dd69e5b75e1967bf65 /include/libipset/data.h
parent00e8bd9bb72eb1357aab486e314b83f93dad0d2c (diff)
Expose the initval hash parameter to userspace
It makes possible to reproduce exactly the same set after a save/restore. Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'include/libipset/data.h')
-rw-r--r--include/libipset/data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libipset/data.h b/include/libipset/data.h
index cce6407..0e33c67 100644
--- a/include/libipset/data.h
+++ b/include/libipset/data.h
@@ -68,6 +68,7 @@ enum ipset_opt {
IPSET_OPT_SKBQUEUE,
IPSET_OPT_IFACE_WILDCARD,
IPSET_OPT_BUCKETSIZE,
+ IPSET_OPT_INITVAL,
/* Internal options */
IPSET_OPT_FLAGS = 48, /* IPSET_FLAG_EXIST| */
IPSET_OPT_CADT_FLAGS, /* IPSET_FLAG_BEFORE| */