From: Denis Ovsienko Date: Fri, 8 Jul 2022 21:29:11 +0000 (+0100) Subject: Refine relop notes in pcap-filter(7) further. [skip ci] X-Git-Tag: libpcap-1.10.2~120 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/3a90de24038edcccb8085109c19c0c28ab99d495?ds=inline Refine relop notes in pcap-filter(7) further. [skip ci] 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) --- diff --git a/pcap-filter.manmisc.in b/pcap-filter.manmisc.in index fac057d1..528ac7e6 100644 --- a/pcap-filter.manmisc.in +++ b/pcap-filter.manmisc.in @@ -18,7 +18,7 @@ .\" 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 @@ -860,10 +860,13 @@ True if the relation holds. \fIRelop\fR is one of .BR < , .BR >= , .BR <= , -.B = -or +.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 { + , @@ -904,21 +907,32 @@ To access data inside the packet, use the following syntax: .I Proto is one of .BR arp , +.BR atalk , +.BR carp , +.BR decnet , .BR ether , .BR fddi , .BR icmp , .BR icmp6 , +.BR igmp , +.BR igrp , .BR ip , .BR ip6 , +.BR lat , .BR link , +.BR mopdl , +.BR moprc , +.BR pim , .BR ppp , .BR radio , .BR rarp , +.BR sca , .BR sctp , .BR slip , .BR tcp , .BR tr , -.B udp +.BR udp , +.B vrrp or .BR wlan , and