summaryrefslogtreecommitdiff
path: root/include/conntrackd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/conntrackd.h')
-rw-r--r--include/conntrackd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h
index 1bb3879..e5b8a4e 100644
--- a/include/conntrackd.h
+++ b/include/conntrackd.h
@@ -31,6 +31,7 @@
#define DEFAULT_CONFIGFILE "/etc/conntrackd/conntrackd.conf"
#define DEFAULT_LOCKFILE "/var/lock/conntrackd.lock"
#define DEFAULT_LOGFILE "/var/log/conntrackd.log"
+#define DEFAULT_STATS_LOGFILE "/var/log/conntrackd-stats.log"
#define DEFAULT_SYSLOG_FACILITY LOG_DAEMON
enum {
@@ -87,6 +88,10 @@ struct ct_conf {
unsigned int resend_buffer_size;/* FTFW protocol */
unsigned int window_size;
int cache_write_through;
+ struct {
+ char logfile[FILENAME_MAXLEN];
+ int syslog_facility;
+ } stats;
};
#define STATE(x) st.x
@@ -94,6 +99,7 @@ struct ct_conf {
struct ct_general_state {
sigset_t block;
FILE *log;
+ FILE *stats_log;
int local;
struct ct_mode *mode;
struct ignore_pool *ignore_pool;