diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-04-14 10:43:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-04-14 10:43:16 +0200 |
commit | dfb88dae65fbdc37d72483ddff23171ef4070dae (patch) | |
tree | 387294ba81c2847a2f713be54750da20fb5bade2 /src/read_config_lex.l | |
parent | 549d78e74c1140b1a4dcd35e44e64d51a3c613e6 (diff) | |
download | conntrack-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 'src/read_config_lex.l')
-rw-r--r-- | src/read_config_lex.l | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/read_config_lex.l b/src/read_config_lex.l index 44ccf0b..3d5913e 100644 --- a/src/read_config_lex.l +++ b/src/read_config_lex.l @@ -132,6 +132,9 @@ notrack [N|n][O|o][T|t][R|r][A|a][C|c][K|k] "PollSecs" { return T_POLL_SECS; } "NetlinkOverrunResync" { return T_NETLINK_OVERRUN_RESYNC; } "Nice" { return T_NICE; } +"Scheduler" { return T_SCHEDULER; } +"Type" { return T_TYPE; } +"Priority" { return T_PRIO; } {is_on} { return T_ON; } {is_off} { return T_OFF; } |