]> asedeno.scripts.mit.edu Git - linux.git/commit
samples/bpf: extend test_tunnel_bpf.sh with xfrm state test
authorEyal Birger <eyal.birger@gmail.com>
Tue, 24 Apr 2018 14:50:30 +0000 (17:50 +0300)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 24 Apr 2018 20:26:58 +0000 (22:26 +0200)
commit29a36f9eef30b7f008b722a753a84b314f981037
tree9790a515413c05b19aa0eb988ef002a2cdb1dc05
parent12bed760a78da6e12ac8252fec64d019a9eac523
samples/bpf: extend test_tunnel_bpf.sh with xfrm state test

Add a test for fetching xfrm state parameters from a tc program running
on ingress.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/tcbpf2_kern.c
samples/bpf/test_tunnel_bpf.sh
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/bpf_helpers.h