summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-04-14 10:43:16 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-04-14 10:43:16 +0200
commitdfb88dae65fbdc37d72483ddff23171ef4070dae (patch)
tree387294ba81c2847a2f713be54750da20fb5bade2 /include
parent549d78e74c1140b1a4dcd35e44e64d51a3c613e6 (diff)
downloadconntrack-tools-dfb88dae65fbdc37d72483ddff23171ef4070dae.tar.gz
conntrack-tools-dfb88dae65fbdc37d72483ddff23171ef4070dae.zip
conntrackd: change scheduler and priority via configuration file
With this patch, you can change the scheduler policy and priority for conntrackd. Using a RT scheduler policy reduces the chances to hit ENOBUFS in Netlink. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/conntrackd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h
index 737c7fd..013ec4f 100644
--- a/include/conntrackd.h
+++ b/include/conntrackd.h
@@ -95,6 +95,10 @@ struct ct_conf {
int filter_from_kernelspace;
int event_iterations_limit;
struct {
+ int type;
+ int prio;
+ } sched;
+ struct {
char logfile[FILENAME_MAXLEN];
int syslog_facility;
size_t buffer_size;