]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: sockmap sample, add option to attach SK_MSG program
authorJohn Fastabend <john.fastabend@gmail.com>
Sun, 18 Mar 2018 19:57:41 +0000 (12:57 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 19 Mar 2018 20:14:40 +0000 (21:14 +0100)
commit237c7ec740122dffd5cdc95c13f55d2aa5182b03
treeecd85d08aa7f5d2936ed7414304491a7892a4a94
parentcc1651496f04d60005cc62af4d4c8bd96c4aadc3
bpf: sockmap sample, add option to attach SK_MSG program

Add sockmap option to use SK_MSG program types.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/bpf_load.c
samples/sockmap/sockmap_kern.c
samples/sockmap/sockmap_user.c
tools/include/uapi/linux/bpf.h
tools/lib/bpf/libbpf.c
tools/testing/selftests/bpf/bpf_helpers.h