summaryrefslogtreecommitdiff
path: root/tcpdump.1.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-02-10 14:55:43 -0800
committerGuy Harris <guy@alum.mit.edu>2015-02-10 14:55:43 -0800
commitd71793791fa0823f25fa9adaa2bb99797197337f (patch)
tree4e0aeb34c01b9c85d9d40430d38e68caff47ad18 /tcpdump.1.in
parentfa51b14a3d60a9faa0941821c402e4928143c992 (diff)
downloadtcpdump-d71793791fa0823f25fa9adaa2bb99797197337f.tar.gz
Use immediate mode if available.
If libpcap has pcap_set_immediate_mode(), then default to immediate mode if we're printing packets to a terminal, and use immediate mode if --immediate-mode is specified.
Diffstat (limited to 'tcpdump.1.in')
-rw-r--r--tcpdump.1.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/tcpdump.1.in b/tcpdump.1.in
index 6db259e9..2314bc8c 100644
--- a/tcpdump.1.in
+++ b/tcpdump.1.in
@@ -128,6 +128,10 @@ tcpdump \- dump traffic on a network
[
.BI \-\-time\-stamp\-precision= tstamp_precision
]
+.ti +8
+[
+.B \-\-immediate\-mode
+]
[
.B \-\-version
]
@@ -421,6 +425,13 @@ monitor mode will be shown; if
is specified, only those link-layer types available when in monitor mode
will be shown.
.TP
+.BI \-\-immediate\-mode
+Capture in "immediate mode". In this mode, packets are delivered to
+tcpdump as soon as they arrive, rather than being buffered for
+efficiency. This is the default when printing packets rather than
+saving packets to a ``savefile'' if the packets are being printed to a
+terminal rather than to a file or pipe.
+.TP
.BI \-j " tstamp_type"
.PD 0
.TP