diff options
author | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2005-10-07 19:43:46 +0000 |
---|---|---|
committer | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2005-10-07 19:43:46 +0000 |
commit | 087239625ba04e9b03c25cf4bd0b42f04046577f (patch) | |
tree | 1839b9553be8b6d3e3a5325c00bfdd5cb012d2d9 /usr.sbin/tcpdump | |
parent | 878a1b714bed97e2fbe4a5138688b12b4aef5002 (diff) |
Add stp as supported protocol.
While there remove reference to /etc/protocols
for ether proto. Instead enumerate all supported
ethernet protocols.
OK jmc@ a while ago.
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump.8 | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.8 b/usr.sbin/tcpdump/tcpdump.8 index 5d468262b92..3f331b12b09 100644 --- a/usr.sbin/tcpdump/tcpdump.8 +++ b/usr.sbin/tcpdump/tcpdump.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tcpdump.8,v 1.57 2005/09/30 20:34:26 jaredy Exp $ +.\" $OpenBSD: tcpdump.8,v 1.58 2005/10/07 19:43:45 mpf Exp $ .\" .\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996 .\" The Regents of the University of California. All rights reserved. @@ -347,6 +347,7 @@ Possible protocols are: .Cm pim , .Cm rarp , .Cm sca , +.Cm stp , .Cm tcp , and .Cm udp . @@ -599,13 +600,28 @@ True if the packet is an IP multicast packet. True if the packet is of ether type .Ar proto . .Ar proto -can be a number or name from -.Xr protocols 5 , -such as +can be a number or one of the names .Cm ip , +.Cm ip6 , .Cm arp , +.Cm rarp , +.Cm atalk , +.Cm atalkarp , +.Cm decnet , +.Cm decdts , +.Cm decdns , +.Cm lanbridge , +.Cm lat , +.Cm mopdl , +.Cm moprc , +.Cm pup , +.Cm sca , +.Cm sprite , +.Cm stp , +.Cm vexp , +.Cm vprod , or -.Cm rarp . +.Cm xns . These identifiers are also keywords and must be escaped using a backslash character .Pq Sq \e . |