diff options
author | Josh Hunt <johunt@akamai.com> | 2014-02-28 22:14:58 -0500 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-03-04 17:36:49 +0100 |
commit | 51ffda2edac5f30fa59d7e2728fe67868f2b850e (patch) | |
tree | 749cf84d5401c68e4d4964518a1f9baa674baef7 /include/libipset/data.h | |
parent | ca6038b28b875211f3a17f27e8c28af7a55898f7 (diff) |
ipset: add userspace support for forceadd
The userspace side of the forceadd changes.
Signed-off-by: Josh Hunt <johunt@akamai.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'include/libipset/data.h')
-rw-r--r-- | include/libipset/data.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libipset/data.h b/include/libipset/data.h index 3a26b1e..06ece1e 100644 --- a/include/libipset/data.h +++ b/include/libipset/data.h @@ -36,6 +36,7 @@ enum ipset_opt { IPSET_OPT_PROBES, IPSET_OPT_RESIZE, IPSET_OPT_SIZE, + IPSET_OPT_FORCEADD, /* Create-specific options, filled out by the kernel */ IPSET_OPT_ELEMENTS, IPSET_OPT_REFERENCES, @@ -94,7 +95,8 @@ enum ipset_opt { | IPSET_FLAG(IPSET_OPT_RESIZE) \ | IPSET_FLAG(IPSET_OPT_SIZE) \ | IPSET_FLAG(IPSET_OPT_COUNTERS)\ - | IPSET_FLAG(IPSET_OPT_CREATE_COMMENT)) + | IPSET_FLAG(IPSET_OPT_CREATE_COMMENT)\ + | IPSET_FLAG(IPSET_OPT_FORCEADD)) #define IPSET_ADT_FLAGS \ (IPSET_FLAG(IPSET_OPT_IP) \ |