summaryrefslogtreecommitdiff
path: root/tcpdump.1.in
diff options
context:
space:
mode:
authorThomas Jacob <jacob@internet24.de>2009-08-25 21:42:12 +0200
committerDenis Ovsienko <infrastation@yandex.ru>2013-09-12 13:55:58 +0400
commitdf7d24fc7ab4353270218c8855c7111075d2d6d2 (patch)
treeb6468904111f47703d48e2f205260b34444d9e67 /tcpdump.1.in
parentaf231769266c79f6255b93568401143e8611588c (diff)
downloadtcpdump-df7d24fc7ab4353270218c8855c7111075d2d6d2.tar.gz
add support for pcap_setdirection() (GH#252)
Adds -P in|out|inout option, includes man page and command line help updates.
Diffstat (limited to 'tcpdump.1.in')
-rw-r--r--tcpdump.1.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/tcpdump.1.in b/tcpdump.1.in
index 6cafc196..ae3d44c1 100644
--- a/tcpdump.1.in
+++ b/tcpdump.1.in
@@ -70,6 +70,11 @@ tcpdump \- dump traffic on a network
.br
.ti +8
[
+.B \-P
+.I in|out|inout
+]
+.ti +8
+[
.B \-r
.I file
]
@@ -474,6 +479,11 @@ Note that the interface might be in promiscuous
mode for some other reason; hence, `-p' cannot be used as an abbreviation for
`ether host {local-hw-addr} or ether broadcast'.
.TP
+.B \-P
+Choose send/receive direction \fIdirection\fR for which packets should be
+captured. Possible values are `in', `out' and `inout'. Not available
+on all platforms.
+.TP
.B \-q
Quick (quiet?) output.
Print less protocol information so output