diff options
| author | Christian Ehrig <[email protected]> | 2022-12-18 05:17:32 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-12-19 22:53:15 +0000 |
| commit | ac6e45e05857464a1e347c50da9917141f1fbb80 (patch) | |
| tree | 5e5a858c3db5f5e6e6b36a59663ab0ad85a0403b /tools/lib/bpf/libbpf.c | |
| parent | bpf: Add flag BPF_F_NO_TUNNEL_KEY to bpf_skb_set_tunnel_key() (diff) | |
| download | kernel-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
