From 03e3d73dca588d2411bc1223c7cbd22ba2273b1e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 25 Jul 2014 15:50:12 +0200 Subject: 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 --- netsniff-ng.8 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'netsniff-ng.8') 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 -- cgit v1.2.3-54-g00ecf