summaryrefslogtreecommitdiff
path: root/trafgen.zsh
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-11-25 10:04:50 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-11-25 10:05:55 +0100
commitb168f5f60a9cc4490b499a067da5273b0f40337c (patch)
tree2294e8872f330e34574c329b4dfbaef3441ef756 /trafgen.zsh
parent6feb59668308a326ec979b7992613138b986c985 (diff)
trafgen: inherit netsniff-ng's -H -Q options
Also make these options available to trafgen. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'trafgen.zsh')
-rw-r--r--trafgen.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/trafgen.zsh b/trafgen.zsh
index 8a90381..adfd8ad 100644
--- a/trafgen.zsh
+++ b/trafgen.zsh
@@ -48,6 +48,8 @@ _arguments -s -S \
"(-E --seed)"{-E,--seed}"[Manually set srand(3) seed]" \
"(-u --user)"{-u,--user}"[Drop privileges and change to userid]:user:_user_info" \
"(-g --group)"{-g,--group}"[Drop privileges and change to groupid]:group:_group_info" \
+ "(-H --prio-high)"{-H,--prio-high}"[Make this high priority process]" \
+ "(-Q --notouch-irq)"{-Q,--notouch-irq}"[Do not touch IRQ CPU affinity of NIC]" \
"(-e --example)"{-e,--example}"[Show built-in packet config example]:" \
"(-V --verbose)"{-V,--verbose}"[Be more verbose]" \
"(-C --no-cpu-stats)"{-C,--no-cpu-stats}"[Do not print CPU time statistics on exit]" \