HomeFreeBSD

bpf: Make BPF interop consistent with if_loop

Description

bpf: Make BPF interop consistent with if_loop

The pseudo_AF_HDRCMPLT check is already being done in if_loop and
just needed to be ported over to if_ic, if_wg, if_disc, if_gif,
if_gre, if_me, if_tuntap and ng_iface. This is needed in order to
allow these interfaces to work properly with e.g., tcpreplay.

PR: 256587
Reviewed by: markj
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd-src/pull/876

(cherry picked from commit 2cb0fce24d64039090dc9243cdf0715ee80c91b1)

Details

Provenance
Seth Hoffert <seth.hoffert@gmail.com>Authored on Oct 22 2023, 2:12 PM
markjCommitted on Wed, May 8, 1:06 PM
Parents
rGebc5b3b08560: ctags: Use C99 bool instead of defining our own
Branches
Unknown
Tags
Unknown

Event Timeline