summaryrefslogtreecommitdiff
path: root/tcpdump.1
diff options
context:
space:
mode:
authorguy <guy>2004-11-08 07:45:05 +0000
committerguy <guy>2004-11-08 07:45:05 +0000
commit0a01aca260a99421f0a179eed87cbd8a8f72b8a3 (patch)
tree01b71d7631d4b99d87760a9cdc62892d4b3e6f84 /tcpdump.1
parent3a0c6efa53b5200e6df9dc2e7513a32503af3ca6 (diff)
downloadtcpdump-0a01aca260a99421f0a179eed87cbd8a8f72b8a3.tar.gz
Note that comparisons in filter expressions are unsigned, not signed;
the uppermost bit is part of the value, not a sign, and 0x80000000 and 0xffffffff are > 0.
Diffstat (limited to 'tcpdump.1')
-rw-r--r--tcpdump.15
1 files changed, 3 insertions, 2 deletions
diff --git a/tcpdump.1 b/tcpdump.1
index c580536f..efab5b97 100644
--- a/tcpdump.1
+++ b/tcpdump.1
@@ -1,4 +1,4 @@
-.\" @(#) $Header: /tcpdump/master/tcpdump/Attic/tcpdump.1,v 1.164 2004-09-24 01:14:20 guy Exp $ (LBL)
+.\" @(#) $Header: /tcpdump/master/tcpdump/Attic/tcpdump.1,v 1.165 2004-11-08 07:45:05 guy Exp $ (LBL)
.\"
.\" $NetBSD: tcpdump.8,v 1.9 2003/03/31 00:18:17 perry Exp $
.\"
@@ -1077,7 +1077,8 @@ True if the relation holds, where \fIrelop\fR is one of >, <, >=, <=, =,
!=, and \fIexpr\fR is an arithmetic expression composed of integer
constants (expressed in standard C syntax), the normal binary operators
[+, -, *, /, &, |, <<, >>], a length operator, and special packet data
-accessors.
+accessors. Note that all comparisons are unsigned, so that, for example,
+0x80000000 and 0xffffffff are > 0.
To access
data inside the packet, use the following syntax:
.in +.5i