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)
commit4c4c3c276c099f265c8b11e0132ce826ee718e2c
treeecd85d08aa7f5d2936ed7414304491a7892a4a94
parent1acc60b6a41bd4e43c3cb10e5395a5c812e158f5
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