]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump.1.in
add support for pcap_setdirection() (GH#252)
[tcpdump] / tcpdump.1.in
index 6cafc196ad1679b235fd94a078c1c2c18922e8f5..ae3d44c19b7f7e7b6f9a9125e4441bec56f846e5 100644 (file)
@@ -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