git: bpf - Add BIOC{S,G}FEEDBACK ioctls

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Wed Apr 18 03:03:07 PDT 2018


commit 25d01c1b8476383c05d72376b14eebd47c934708
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Wed Apr 18 02:39:21 2018 -0700

    bpf - Add BIOC{S,G}FEEDBACK ioctls
    
    - 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
    Reviewed-by: sephe
    
    Closes: #3126

Summary of changes:
 sys/net/bpf.c     | 40 ++++++++++++++++++++++++++++++++++++++++
 sys/net/bpf.h     |  3 +++
 sys/net/bpfdesc.h |  1 +
 3 files changed, 44 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/25d01c1b8476383c05d72376b14eebd47c934708


-- 
DragonFly BSD source repository


More information about the Commits mailing list