summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-02-15 15:40:47 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-02-15 15:40:47 +0100
commitc4ef74420bc09b82146190870186fb067ac163e9 (patch)
tree48a54a159968119991d1d294af7ce613fa471c7d /include
parentfe42b4085b7dab5847bb29155ebc70b4d7880ebe (diff)
downloadconntrack-tools-c4ef74420bc09b82146190870186fb067ac163e9.tar.gz
conntrack-tools-c4ef74420bc09b82146190870186fb067ac163e9.zip
conntrackd: add `-f internal' and `-f external' options
This patch allows flushing the internal and/or the external cache. The `-f' with no extra parameters still works to flush both the internal and the external cache. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/conntrackd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h
index bb038a9..9b3cdf2 100644
--- a/include/conntrackd.h
+++ b/include/conntrackd.h
@@ -31,6 +31,8 @@
#define STATS_RUNTIME 30 /* extended runtime stats */
#define STATS_MULTICAST 31 /* multicast network stats */
#define STATS_QUEUE 32 /* queue stats */
+#define FLUSH_INT_CACHE 33 /* flush internal cache */
+#define FLUSH_EXT_CACHE 34 /* flush external cache */
#define DEFAULT_CONFIGFILE "/etc/conntrackd/conntrackd.conf"
#define DEFAULT_LOCKFILE "/var/lock/conntrackd.lock"