diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-07-25 15:50:12 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-08-12 11:05:17 +0200 |
commit | 03e3d73dca588d2411bc1223c7cbd22ba2273b1e (patch) | |
tree | fc1a04e1c22f110063cae8f066f6f1e17c416da5 /netsniff-ng.8 | |
parent | 99d4dd920960f1c2a030cf2e0ccd395c013d8384 (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.8')
-rw-r--r-- | netsniff-ng.8 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/netsniff-ng.8 b/netsniff-ng.8 index c6356bf..b6f129a 100644 --- a/netsniff-ng.8 +++ b/netsniff-ng.8 @@ -153,6 +153,13 @@ randomize packet order in the output ring buffer. The networking interface will not be put into promiscuous mode. By default, promiscuous mode is turned on. .PP +.SS -N, --no-hwtimestamp +Disable taking hardware time stamps for RX packets. By default, if the network +device supports hardware time stamping, the hardware time stamps will be used +when writing packets to pcap files. This option disables this behavior and +forces (kernel based) software time stamps to be used, even if hardware time +stamps are available. +.PP .SS -A, --no-sock-mem On startup and shutdown, netsniff-ng tries to increase socket read and write buffers if appropriate. This option will prevent netsniff-ng from doing |