summaryrefslogtreecommitdiff
path: root/include/conntrackd.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-06-11 20:33:14 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-06-11 20:33:14 +0200
commit8fc9066ee62d17cdb76bc064c945da3bb0d2e2a3 (patch)
treebfde54b1611023e42a918bbd1911b874a6d0bff2 /include/conntrackd.h
parent9163f4673d919658c94f9de4ca32a2e9dacce2fd (diff)
downloadconntrack-tools-8fc9066ee62d17cdb76bc064c945da3bb0d2e2a3.tar.gz
conntrack-tools-8fc9066ee62d17cdb76bc064c945da3bb0d2e2a3.zip
conntrackd: add support to display statistics on existing child processes
This patch adds the ability to dump the list of existing child processes. In general, it would be hard to display one since child processes are generally forked for very specific tasks, like commit and flush operations, and they have very limited lifetime. However, this can be handy for debugging problems. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/conntrackd.h')
-rw-r--r--include/conntrackd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h
index 7a63f97..04dc611 100644
--- a/include/conntrackd.h
+++ b/include/conntrackd.h
@@ -34,6 +34,7 @@
#define STATS_QUEUE 32 /* queue stats */
#define FLUSH_INT_CACHE 33 /* flush internal cache */
#define FLUSH_EXT_CACHE 34 /* flush external cache */
+#define STATS_PROCESS 35 /* child process stats */
#define DEFAULT_CONFIGFILE "/etc/conntrackd/conntrackd.conf"
#define DEFAULT_LOCKFILE "/var/lock/conntrackd.lock"