summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netsniff-ng.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/netsniff-ng.zsh b/netsniff-ng.zsh
index f60f867..a0050f2 100644
--- a/netsniff-ng.zsh
+++ b/netsniff-ng.zsh
@@ -35,6 +35,9 @@ _interfaces () {
_arguments -s -S \
"(-i -d --dev --in)"{-i,-d,--dev,--in}"[Input source as netdev, pcap or pcap stdin]:input:_interfaces" \
"(-o --out)"{-o,--out}"[Output sink as netdev, pcap, directory, trafgen, or stdout]::_gnu_generic" \
+ "(-C --fanout-group)"{-C,--fanout-group}"[Join packet fanout group]" \
+ "(-K --fanout-type)"{-K,--fanout-type}"[Apply fanout discipline: hash|lb|cpu|rnd|roll|qm]" \
+ "(-L --fanout-opts)"{-L,--fanout-opts}"[Additional fanout options: defrag|roll]" \
"(-f --filter)"{-f,--filter}"[Use BPF filter file from bpfc or tcpdump-like expression]" \
"(-t --type)"{-t,--type}"[Filter type]:filter:(host broadcast multicast others outgoing)" \
"(-F --interval)"{-F,--interval}"[Dump interval if -o is a dir: <num>KiB/MiB/GiB/s/sec/min/hrs]:interval:_gnu_generic" \