tcpdump mailing list archives

Patch: Add shift operators to the man page


From: Gerald Combs <gerald () ethereal com>
Date: Sun, 23 Nov 2003 14:07:35 -0600 (CST)

The attached patch adds left- and right-shift (<< and >>) to the list of
binary operators on the tcpdump man page.  E.g. "tcp[12] >> 4 > 5" will
test for TCP options.  The operators are listed in the '93 Usenix paper,
and appear to have been supported in libpcap since the 0.0 release.

Attachment: tcpdump.1.diff
Description:


Current thread: