summaryrefslogtreecommitdiff
path: root/tcpdump.1.in
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2013-12-13 14:11:04 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2013-12-13 14:28:32 +0400
commit2c86c75a7160279338979ed1fac32a9a1735ba6e (patch)
tree402687c5821a7ee7cfdfa86f899d42e075993a0d /tcpdump.1.in
parent5a0351c88a5f34e2c25cca2225530e1ee42ba088 (diff)
downloadtcpdump-2c86c75a7160279338979ed1fac32a9a1735ba6e.tar.gz
clarify meaning of NFS port numbers in tcpdump.1
Update the text in the "NFS Requests and Replies" section to match the changes made in commits 68fe98a, f3051bc and 29d83db, which make output format different for UDP and TCP. So long as the difference remains keep it documented and keep in mind that even after it goes away the manpage should mention the change for a while.
Diffstat (limited to 'tcpdump.1.in')
-rw-r--r--tcpdump.1.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/tcpdump.1.in b/tcpdump.1.in
index 1dc3ec17..ae1b501f 100644
--- a/tcpdump.1.in
+++ b/tcpdump.1.in
@@ -22,7 +22,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH TCPDUMP 1 "12 July 2012"
+.TH TCPDUMP 1 "13 December 2013"
.SH NAME
tcpdump \- dump traffic on a network
.SH SYNOPSIS
@@ -1427,8 +1427,12 @@ wrl.nfs > sushi.201b:
.fi
.RE
In the first line, host \fIsushi\fP sends a transaction with id \fI6709\fP
-to \fIwrl\fP (note that the number following the src host is a
-transaction id, \fInot\fP the source port).
+to \fIwrl\fP.
+(Note that for UDP NFS packets the standard UDP header isn't printed and the
+number following the src host is a transaction id, \fInot\fP the source port.
+The example above represents UDP NFS traffic.
+For TCP NFS packets port numbers are printed as part of the standard TCP header
+and the transaction id is printed separately as "xid" field of the packet.)
The request was 112 bytes,
excluding the UDP and IP headers.
The operation was a \fIreadlink\fP