From c4ef74420bc09b82146190870186fb067ac163e9 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 15 Feb 2009 15:40:47 +0100 Subject: 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 --- include/conntrackd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/conntrackd.h') 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" -- cgit v1.2.3