summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-09-10 13:17:24 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-09-10 13:24:59 +0200
commitfebb3cceac1889fb6558b8ef40ac733072fdcd47 (patch)
tree30c4174e6ff8a83826d17928d0c9409d41dd4859 /include
parent46faeab56cf4117f41cb6f1f1c40a9c18a81372f (diff)
conntrackd: cthelper: add QueueLen option
This patch adds the QueueLen option, that allows you to increase the maximum number of packets waiting in the nfnetlink_queue to receive a verdict from userspace. Rising the default value (1024) is useful to avoid hitting the following error message: "nf_queue: full at X entries, dropping packets(s)". Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/helper.h b/include/helper.h
index 329fd2d..9d96fb7 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -35,6 +35,7 @@ struct ctd_helper {
struct ctd_helper_instance {
struct list_head head;
uint32_t queue_num;
+ uint32_t queue_len;
uint16_t l3proto;
uint8_t l4proto;
struct ctd_helper *helper;