diff options
author | 2022-12-03 10:46:59 +0200 | |
---|---|---|
committer | 2022-12-05 22:54:23 -0800 | |
commit | 90a3a05eb33ff7a263f1e93e444d40e427cddf1a (patch) | |
tree | 9feeda0db56e1a151890140d5e5e558d36e6e169 /scripts/generate_rust_analyzer.py | |
parent | tools: add IFLA_XFRM_COLLECT_METADATA to uapi/linux/if_link.h (diff) | |
download | wireguard-linux-90a3a05eb33ff7a263f1e93e444d40e427cddf1a.tar.xz wireguard-linux-90a3a05eb33ff7a263f1e93e444d40e427cddf1a.zip |
selftests/bpf: add xfrm_info tests
Test the xfrm_info kfunc helpers.
The test setup creates three name spaces - NS0, NS1, NS2.
XFRM tunnels are setup between NS0 and the two other NSs.
The kfunc helpers are used to steer traffic from NS0 to the other
NSs based on a userspace populated bpf global variable and validate
that the return traffic had arrived from the desired NS.
Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Link: https://lore.kernel.org/r/20221203084659.1837829-5-eyal.birger@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions