]> The Tcpdump Group git mirrors - libpcap/commitdiff
Refine relop notes in pcap-filter(7) further. [skip ci]
authorDenis Ovsienko <[email protected]>
Fri, 8 Jul 2022 21:29:11 +0000 (22:29 +0100)
committerGuy Harris <[email protected]>
Thu, 14 Jul 2022 05:12:35 +0000 (22:12 -0700)
Tell relop aliases outside of the relop set for clarity.  Add a few
missing entries to the list of protocols that support the index
operation to document the currently implemented behaviour and to
progress point 4 of GH issue #326.

(cherry picked from commit ffa313dff855d16b4aeff439c96e28561edd2aa2)

pcap-filter.manmisc.in

index fac057d1dc4faa3323c5015b9a7fdc11801f3f06..528ac7e6cc98e61441ea032a561ca23a67ad4018 100644 (file)
@@ -18,7 +18,7 @@
 .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
 .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
-.TH PCAP-FILTER @MAN_MISC_INFO@ "3 July 2022"
+.TH PCAP-FILTER @MAN_MISC_INFO@ "8 July 2022"
 .SH NAME
 pcap-filter \- packet filter syntax
 .br
 .SH NAME
 pcap-filter \- packet filter syntax
 .br
@@ -860,10 +860,13 @@ True if the relation holds.  \fIRelop\fR is one of
 .BR < ,
 .BR >= ,
 .BR <= ,
 .BR < ,
 .BR >= ,
 .BR <= ,
-.B =
-or
+.BR = ,
 .BR == ,
 .BR == ,
-.BR != }.
+.BR != }
+(where
+.B =
+means the same as
+.BR == ).
 Each of \fIexpr1\fR and \fIexpr2\fR is an arithmetic expression composed of
 integer constants (expressed in standard C syntax), the normal binary operators
 .RB { + ,
 Each of \fIexpr1\fR and \fIexpr2\fR is an arithmetic expression composed of
 integer constants (expressed in standard C syntax), the normal binary operators
 .RB { + ,
@@ -904,21 +907,32 @@ To access data inside the packet, use the following syntax:
 .I Proto
 is one of
 .BR arp ,
 .I Proto
 is one of
 .BR arp ,
+.BR atalk ,
+.BR carp ,
+.BR decnet ,
 .BR ether ,
 .BR fddi ,
 .BR icmp ,
 .BR icmp6 ,
 .BR ether ,
 .BR fddi ,
 .BR icmp ,
 .BR icmp6 ,
+.BR igmp ,
+.BR igrp ,
 .BR ip ,
 .BR ip6 ,
 .BR ip ,
 .BR ip6 ,
+.BR lat ,
 .BR link ,
 .BR link ,
+.BR mopdl ,
+.BR moprc ,
+.BR pim ,
 .BR ppp ,
 .BR radio ,
 .BR rarp ,
 .BR ppp ,
 .BR radio ,
 .BR rarp ,
+.BR sca ,
 .BR sctp ,
 .BR slip ,
 .BR tcp ,
 .BR tr ,
 .BR sctp ,
 .BR slip ,
 .BR tcp ,
 .BR tr ,
-.B udp
+.BR udp ,
+.B vrrp
 or
 .BR wlan ,
 and
 or
 .BR wlan ,
 and