From 280fe2d4eecb2a546087fbf28bb45168f96d8d52 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Mon, 21 Sep 2020 20:13:07 +0200 Subject: 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 --- include/libipset/data.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libipset/data.h') 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| */ -- cgit v1.2.3