summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-06-20 21:24:04 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-06-20 21:24:04 +0200
commit90bb19b9eb7d97887883ce480bb4eb12c60d3505 (patch)
tree67196bbb835713950ac81c679a39d437a253ddfe /include
parente30be653e677f618e1d6a43edd45392a29c3e92e (diff)
downloadconntrack-tools-90bb19b9eb7d97887883ce480bb4eb12c60d3505.tar.gz
conntrack-tools-90bb19b9eb7d97887883ce480bb4eb12c60d3505.zip
conntrackd: add statistics for enospc errors in queues
This patch adds a new statistic field to count the number of enospc errors while adding new nodes to some queue. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/queue.h b/include/queue.h
index d989402..cca9cba 100644
--- a/include/queue.h
+++ b/include/queue.h
@@ -35,6 +35,7 @@ struct queue {
struct list_head list;
unsigned int max_elems;
unsigned int num_elems;
+ uint32_t enospc_err;
uint32_t flags;
struct list_head head;
struct evfd *evfd;