summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWillem de Bruijn2015-08-15 04:31:35 +0200
committerDavid S. Miller2015-08-17 23:22:48 +0200
commitf2e520956a1ab636698f8160194c9b8ac0989aab (patch)
treef3ff84457be59fab5303f64b5e5ba93204c3f90b /tools
parentpacket: add classic BPF fanout mode (diff)
downloadkernel-qcow2-linux-f2e520956a1ab636698f8160194c9b8ac0989aab.tar.gz
kernel-qcow2-linux-f2e520956a1ab636698f8160194c9b8ac0989aab.tar.xz
kernel-qcow2-linux-f2e520956a1ab636698f8160194c9b8ac0989aab.zip
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions