Reference

pcap_offline_filter(3pcap) on macOS

The text 1f3bf60f5928, as macOS 10.14.6, macOS 10.12.3, macOS 10.12.2, macOS 10.12.1, macOS 10.12 shipped it.

check whether a filter matches a packet

pcap_offline_filter(3pcap) on macOS now