| 
5 | 5 | <meta charset="utf-8">  | 
6 | 6 | </HEAD><BODY>  | 
7 | 7 | <H1>Man page of PCAP-FILTER</H1>  | 
8 |  | -Section: Environments, Tables, and Troff Macros (7)<BR>Updated: 29 September 2025<BR><A HREF="#index">Index</A>  | 
 | 8 | +Section: Environments, Tables, and Troff Macros (7)<BR>Updated: 9 October 2025<BR><A HREF="#index">Index</A>  | 
9 | 9 | <A HREF="./">Return to Main Contents</A><HR>  | 
10 | 10 | <DIV class=version_boilerplate>  | 
11 | 11 | <H4>This man page documents libpcap version 1.11.0-PRE-GIT.</H4>  | 
@@ -326,8 +326,42 @@ <H2 id="lbAD">PRIMITIVES</H2>  | 
326 | 326 | <DT><DD>  | 
327 | 327 | <I>hostnameaddr</I>  | 
328 | 328 | 
 
  | 
329 |  | -may be either an address or a name.  If it is a name with multiple IPv4/IPv6 addresses,  | 
330 |  | -each address will be checked for a match.  | 
 | 329 | +may be either an address or a name.  If it is a name, the name must resolve  | 
 | 330 | +to at least one IPv4 address for  | 
 | 331 | +<B>arp host</B>,  | 
 | 332 | + | 
 | 333 | +<B>ip host</B>  | 
 | 334 | + | 
 | 335 | +and  | 
 | 336 | +<B>rarp host</B>,  | 
 | 337 | + | 
 | 338 | +at least one IPv6 address for  | 
 | 339 | +<B>ip6 host</B>  | 
 | 340 | + | 
 | 341 | +and at least one IPv4/IPv6 address for  | 
 | 342 | +<B>host</B>.  | 
 | 343 | + | 
 | 344 | +<DT><DD>  | 
 | 345 | +When not qualified with a protocol, this primitive matches all protocols that  | 
 | 346 | +make sense for the address families of the specified/resolved addresses.  For  | 
 | 347 | +example, for a name that resolves only to an IPv6 address  | 
 | 348 | +<B>arp host</B>  | 
 | 349 | + | 
 | 350 | +returns an error, but  | 
 | 351 | +<B>host</B>  | 
 | 352 | + | 
 | 353 | +is valid and means IPv6;  | 
 | 354 | +likewise, for a name that resolves only to an IPv4 address  | 
 | 355 | +<B>ip6 host</B>  | 
 | 356 | + | 
 | 357 | +returns an error, but  | 
 | 358 | +<B>host</B>  | 
 | 359 | + | 
 | 360 | +is valid and means ARP/IPv4/RARP.  | 
 | 361 | +<DT><DD>  | 
 | 362 | +Whether qualified with a protocol or not, this primitive evaluates to true if  | 
 | 363 | +the name resolves to more than one address and at least one of the addresses  | 
 | 364 | +matches the packet.  | 
331 | 365 | <DT><B>ether host </B><I>ethernameaddr</I><DD>  | 
332 | 366 | True if the source or the destination Ethernet/802.11/IPFC/ATM LANE/FDDI/Token Ring  | 
333 | 367 | address of the packet is  | 
@@ -662,7 +696,7 @@ <H2 id="lbAD">PRIMITIVES</H2>  | 
662 | 696 | file to translate protocol names to numbers, and the  | 
663 | 697 | <B>getent protocols</B>  | 
664 | 698 | 
 
  | 
665 |  | -command lists the protocols recognised by the function.  This is not entirely  | 
 | 699 | +command lists the protocols recognized by the function.  This is not entirely  | 
666 | 700 | so in AIX (which does not have the command), Haiku (which has the file at  | 
667 | 701 | <I>/system/data/network/protocols</I>  | 
668 | 702 | 
 
  | 
@@ -1872,6 +1906,14 @@ <H2 id="lbAE">ARITHMETIC EXPRESSIONS</H2>  | 
1872 | 1906 | and 0xffffffff are > 0.  | 
1873 | 1907 | <P>  | 
1874 | 1908 | 
 
  | 
 | 1909 | +Note that 32-bit octal integer constants in the [010000000000 .. 037777777777]  | 
 | 1910 | +interval, which includes 75% of all 32-bit integers, are interpreted as MAC-48  | 
 | 1911 | +addresses when prepended with a single zero (e.g., 012345670123 means  | 
 | 1912 | +01:23:45:67:01:23).  To disambiguate the expression, prepend such an octal  | 
 | 1913 | +number with more zeroes (0012345670123) or represent the same value using a  | 
 | 1914 | +decimal (1402433619) or hexadecimal (0x53977053) number.  | 
 | 1915 | +<P>  | 
 | 1916 | + | 
1875 | 1917 | The  | 
1876 | 1918 | <B>%</B>  | 
1877 | 1919 | 
 
  | 
@@ -2539,7 +2581,7 @@ <H2 id="index">Index</H2>  | 
2539 | 2581 | </DL>  | 
2540 | 2582 | <HR>  | 
2541 | 2583 | <H2>COLOPHON</H2>  | 
2542 |  | -This HTML man page was generated at 22:00:17 GMT, September 29, 2025  | 
 | 2584 | +This HTML man page was generated at 19:16:12 GMT, October 18, 2025  | 
2543 | 2585 | from a source man page in "The Tcpdump Group" git repositories  | 
2544 | 2586 | using man2html and other tools.  | 
2545 | 2587 | </BODY>  | 
 | 
0 commit comments