summaryrefslogtreecommitdiff
path: root/netsniff-ng.zsh
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-07-25 15:50:12 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-08-12 11:05:17 +0200
commit03e3d73dca588d2411bc1223c7cbd22ba2273b1e (patch)
treefc1a04e1c22f110063cae8f066f6f1e17c416da5 /netsniff-ng.zsh
parent99d4dd920960f1c2a030cf2e0ccd395c013d8384 (diff)
netsniff-ng: Add command line option to disable hardware time stamping
Allow to disable hardware time stamping using the command line switch (-N/--no-hwtimestamp). This might be useful in situations where hardware time stamps are skewed somehow. Reference: #129 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng.zsh')
-rw-r--r--netsniff-ng.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/netsniff-ng.zsh b/netsniff-ng.zsh
index 682d66d..f60f867 100644
--- a/netsniff-ng.zsh
+++ b/netsniff-ng.zsh
@@ -47,6 +47,7 @@ _arguments -s -S \
"(-B --dump-bpf)"{-B,--dump-bpf}"[Dump generated BPF assembly]" \
"(-r --rand)"{-r,--rand}"[Randomize packet forwarding order (dev->dev)]" \
"(-M --no-promisc)"{-M,--no-promisc}"[No promiscuous mode for netdev]" \
+ "(-N --no-hwtimestamp)"{-N,--no-hwtimestamp}"[Disable hardware timestamping]" \
"(-A --no-sock-mem)"{-A,--no-sock-mem}"[Don\'t tune core socket memory]" \
"(-m --mmap)"{-m,--mmap}"[Mmap(2) pcap file i.e., for replaying pcaps]" \
"(-G --sg)"{-G,--sg}"[Scatter/gather pcap file I/O]" \