path: root/include/conntrackd.h
diff options
authorPablo Neira Ayuso <>2009-01-25 17:52:56 +0100
committerPablo Neira Ayuso <>2009-01-25 17:52:56 +0100
commiteec8fdf57f34fe0d80b884ad0e376ed24c63ffcc (patch)
tree427578697aef733b0f0ac089aa127e42033d81ca /include/conntrackd.h
parentb9ee88a0fdb20ed847f05efce1b0abdc8afbabaf (diff)
src: change behaviour of `-t' option
With this patch, the `-t' option adds an alarm that will flush the cache after CONFIG(purge_timeout) seconds specified in the config file. This looks much cleaner and more performance that looping on the entire conntrack table to set the new timeout of every single entry. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/conntrackd.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h
index 99b9caa..3e10a2f 100644
--- a/include/conntrackd.h
+++ b/include/conntrackd.h
@@ -158,6 +158,8 @@ struct ct_sync_state {
struct nlif_handle *mcast_iface;
struct queue *tx_queue;
+ struct alarm_block reset_cache_alarm;
struct sync_mode *sync; /* sync mode */
/* statistics */