History

netfilter: ipset: Prepare the kernel for create option flags when no extension is needed

Jozsef Kadlecsik committed 12 years ago

Commit af284ec1 parent 4d0e5c02 files · +8 −0Browse files

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

Unified · Split

include/uapi/linux/netfilter/ipset/ip_set.h+6−0
@@ -188,6 +188,12 @@ enum ipset_cadt_flags { · 187 unmodified lines
188188 IPSET_FLAG_CADT_MAX = 15,
189189 };
190190
191+/* The flag bits which correspond to the non-extension create flags */
192+enum ipset_create_flags {
193+ IPSET_CREATE_FLAG_NONE = 0,
194+ IPSET_CREATE_FLAG_MAX = 7,
195+};
196+
191197 /* Commands with settype-specific attributes */
192198 enum ipset_adt {
193199 IPSET_ADD,