aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-06-13 15:23:47 +0200
committerfxlb <devel.fx.lebail@orange.fr>2023-06-13 18:28:21 +0000
commit8c45b77a07bf3ba2c6dad12a541d12c394a4a0ee (patch)
treec33e3afef172d1c54454c37dab682bb4a30b17fb
parentbf54c36d0bcf2ad6e878a0cfee43d41c0526f911 (diff)
pcap-filter(7): Add the filter "ifindex interface_index"
[skip ci]
-rw-r--r--pcap-filter.manmisc.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcap-filter.manmisc.in b/pcap-filter.manmisc.in
index c477251f..049813c7 100644
--- a/pcap-filter.manmisc.in
+++ b/pcap-filter.manmisc.in
@@ -556,6 +556,9 @@ Packet was sent by the host performing the capture rather than being
received by that host. This is only supported for certain link-layer types,
such as SLIP and the ``cooked'' Linux capture mode
used for the ``any'' device and for some other device types.
+.IP "\fBifindex \fIinterface_index\fR"
+True if the packet was logged via the specified interface (applies only to
+packets logged by the Linux "any" cooked v2 interface).
.IP "\fBifname \fIinterface\fR"
True if the packet was logged as coming from the specified interface (applies
only to packets logged by OpenBSD's or FreeBSD's
@@ -1175,6 +1178,10 @@ TCP flag names became available in libpcap 1.9.0.
The
.B geneve
keyword became available in libpcap 1.8.0.
+.PP
+The
+.B ifindex
+keyword became available in libpcap 1.10.0.
.SH SEE ALSO
.BR pcap (3PCAP)
.SH BUGS