bpf - Add BIOC{S,G}FEEDBACK ioctls

Operating Systems / DragonFlyBSD - Antonio Huete Jimenez [quantumachine.net] - 18 April 2018 10:01 EDT

- When set it allows reinjecting packets that were written to the bpf device as input to the interface when the output is successful.- Add an alias to BIOCFEEDBACK which is the name of the of the 'set' ioctl in FreeBSD.

Partially-taken-from: NetBSD

25d01c1b84 bpf - Add BIOC{S,G}FEEDBACK ioctls
sys/net/bpf.c | 40 ++++++++++++++++++++++++++++++++++++++++
sys/net/bpf.h | 3 +++
sys/net/bpfdesc.h | 1 +
3 files changed, 44 insertions(+)

Upstream: gitweb.dragonflybsd.org


  • Share