summaryrefslogtreecommitdiffstats
path: root/include/set.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2015-03-26 13:10:19 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2015-04-09 14:38:24 +0200
commitb1e6bc9cbffd7a3657734cc7b39f771c74d587c2 (patch)
treea2d12a23f09655e141130674b5458737adbde371 /include/set.h
parentebda8da3b5cf01ad79a51a890c78d226586f842d (diff)
set: add support for set timeouts
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/set.h')
-rw-r--r--include/set.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/set.h b/include/set.h
index 29b9ce5..008ed6e 100644
--- a/include/set.h
+++ b/include/set.h
@@ -22,6 +22,8 @@ struct nft_set {
struct list_head element_list;
uint32_t flags;
+ uint32_t gc_interval;
+ uint64_t timeout;
};
struct nft_set_list;