Skip to content

Conversation

infrastation
Copy link
Member

This is a proof of the concept discussed in tcpdump-workers, it may require more work.

Introduce PCAP_IF_NO_CAPTURE and PCAP_IF_NO_INJECT interface flags.  Set
PCAP_IF_NO_INJECT on Bluetooth, DAG Rx stream, DPDK, Haiku network
interface, Linux netfilter, RDMA, Linux USB and the "any"
pseudo-interface devices.  Set PCAP_IF_NO_CAPTURE on DAG Tx stream
devices.  Update related man pages and findalldevstest.
@infrastation
Copy link
Member Author

Forgot to add: FreeBSD usbusN devices do not seem to be no-inject, as far as the code in pcap-bpf.c looks, but this may be not the intended behaviour. These changes leave usbus as it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant