History

netfilter: ipset: Expose the initval hash parameter to userspace

It makes possible to reproduce exactly the same set after a save/restore.

Jozsef Kadlecsik committed 6 years ago

Commit 3976ca11 parent ccf0a4b14 files · +34 −17Browse files

Showing the changes to include/uapi (1 of 14 files). Show all

Unified · Split

include/uapi/linux/netfilter/ipset/ip_set.h+1−1
@@ -92,7 +92,7 @@ enum { · 91 unmodified lines
92 /* Reserve empty slots */92 /* Reserve empty slots */
93 IPSET_ATTR_CADT_MAX = 16,93 IPSET_ATTR_CADT_MAX = 16,
94 /* Create-only specific attributes */94 /* Create-only specific attributes */
95 IPSET_ATTR_GC,95 IPSET_ATTR_INITVAL, /* was unused IPSET_ATTR_GC */
96 IPSET_ATTR_HASHSIZE,96 IPSET_ATTR_HASHSIZE,
97 IPSET_ATTR_MAXELEM,97 IPSET_ATTR_MAXELEM,
98 IPSET_ATTR_NETMASK,98 IPSET_ATTR_NETMASK,