summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-07-29 17:53:18 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-07-29 17:53:18 +0200
commit21aabc2c4248d389fbf18a9110443371cc678b53 (patch)
tree78dbdc1adbe92058fc023e4f76c6094a49b88440 /include
parentb0a327b7a8fda0ebe936839235394de03b520f5e (diff)
downloadconntrack-tools-21aabc2c4248d389fbf18a9110443371cc678b53.tar.gz
conntrack-tools-21aabc2c4248d389fbf18a9110443371cc678b53.zip
CLI: add new option --buffer-size for -E
Add new option --buffer-size for -E to set the netlink socket buffer size. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/conntrack.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/conntrack.h b/include/conntrack.h
index dc30c13..e8059c8 100644
--- a/include/conntrack.h
+++ b/include/conntrack.h
@@ -132,8 +132,11 @@ enum options {
CT_OPT_SECMARK_BIT = 20,
CT_OPT_SECMARK = (1 << CT_OPT_SECMARK_BIT),
+
+ CT_OPT_BUFFERSIZE_BIT = 21,
+ CT_OPT_BUFFERSIZE = (1 << CT_OPT_BUFFERSIZE_BIT),
- CT_OPT_MAX = CT_OPT_SECMARK_BIT
+ CT_OPT_MAX = CT_OPT_BUFFERSIZE_BIT
};
#define NUMBER_OF_OPT CT_OPT_MAX+1