Purpose
The and element is used to concatenate filter string elements. The filtered packets must match all concatenated filter string elements.
Syntax
element and element [and element...]
element && element [&& element...]
Parameters
element |
String. A filter string element. |
Example
The following filter string saves packets that both originate from IP address is 192.168.10.1 and are destined for port 80:
src 192.168.10.1 and dst port 80