aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorChristian Ehrig <[email protected]>2022-12-18 05:17:32 +0000
committerDaniel Borkmann <[email protected]>2022-12-19 22:53:15 +0000
commitac6e45e05857464a1e347c50da9917141f1fbb80 (patch)
tree5e5a858c3db5f5e6e6b36a59663ab0ad85a0403b /tools/lib/bpf/libbpf.c
parentbpf: Add flag BPF_F_NO_TUNNEL_KEY to bpf_skb_set_tunnel_key() (diff)
downloadkernel-ac6e45e05857464a1e347c50da9917141f1fbb80.tar.gz
kernel-ac6e45e05857464a1e347c50da9917141f1fbb80.zip
selftests/bpf: Add BPF_F_NO_TUNNEL_KEY test
This patch adds a selftest simulating a GRE sender and receiver using tunnel headers without tunnel keys. It validates if packets encapsulated using BPF_F_NO_TUNNEL_KEY are decapsulated by a GRE receiver not configured with tunnel keys. Signed-off-by: Christian Ehrig <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Jakub Sitnicki <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions