commit | f2e520956a1ab636698f8160194c9b8ac0989aab | [log] [tgz] |
---|---|---|
author | Willem de Bruijn <willemb@google.com> | Fri Aug 14 22:31:35 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 17 14:22:48 2015 -0700 |
tree | f3ff84457be59fab5303f64b5e5ba93204c3f90b | |
parent | 47dceb8ecdc1c3ad1818dfea3d659a05b74c3fc2 [diff] |
packet: add extended BPF fanout mode Add fanout mode PACKET_FANOUT_EBPF that accepts an en extended BPF program to select a socket. Update the internal eBPF program by passing to socket option SOL_PACKET/PACKET_FANOUT_DATA a file descriptor returned by bpf(). Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>