summaryrefslogtreecommitdiffstats
path: root/include/cache.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-25 17:53:05 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-25 17:53:05 +0100
commit50c09dec9ad0261d8fcc18d69b2c9ec74052955c (patch)
tree143d7e278fc3f1688c60663be04f06ae2e98700f /include/cache.h
parent1c9faf8c218bc7ff4617557383e4116f1adb11e5 (diff)
src: add support for approximate timeout calculation during commit
During the commit phase, the entries in the external cache entries are inserted in the kernel conntrack table. Currently, we use a fixed timeout that is specified in the config file. With this patch, if you don't specify the fixed timeout value via CommitTimeout, the daemon calculates the real timeout value during the commit phase. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/cache.h')
-rw-r--r--include/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cache.h b/include/cache.h
index 1fd3881..371170d 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -34,6 +34,7 @@ struct cache_object {
int status;
int refcnt;
long lifetime;
+ long lastupdate;
char data[0];
};