]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: sockmap, more BPF_SK_SKB_STREAM_VERDICT tests
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 28 Mar 2018 19:49:30 +0000 (12:49 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 29 Mar 2018 22:09:43 +0000 (00:09 +0200)
commit78242ca0eedb7b8c22f0904e3405ebb4aab72879
tree44ae73f8c794e52f281830650e87b843cd6743d9
parentc02997b1c148dcaa86a7eeed576f3224284be5d9
bpf: sockmap, more BPF_SK_SKB_STREAM_VERDICT tests

Add BPF_SK_SKB_STREAM_VERDICT tests for ingress hook. While
we do this also bring stream tests in-line with MSG based
testing.

A map for skb options is added for userland to push options
at BPF programs.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/sockmap/sockmap_kern.c
samples/sockmap/sockmap_test.sh
samples/sockmap/sockmap_user.c