pcap_set_datalink(3) on FreeBSD
The text 2c22cc07d5a4, as FreeBSD 12.1-RELEASE, FreeBSD 12.0-RELEASE, FreeBSD 11.3-RELEASE, FreeBSD 11.2-RELEASE, FreeBSD 11.1-RELEASE shipped it.
set the link-layer header type to be used by a capture device
The text 2c22cc07d5a4, as FreeBSD 12.1-RELEASE, FreeBSD 12.0-RELEASE, FreeBSD 11.3-RELEASE, FreeBSD 11.2-RELEASE, FreeBSD 11.1-RELEASE shipped it.
set the link-layer header type to be used by a capture device