diff options
| author | Martynas Pumputis <[email protected]> | 2023-10-07 08:14:15 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2023-10-09 23:28:37 +0000 |
| commit | b0f7a8ca11795541f09060ccf583a341a9c94d5f (patch) | |
| tree | 1d0dc82af40e4622f899322f070c6ac30b64ac39 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
| parent | bpf: Derive source IP addr via bpf_*_fib_lookup() (diff) | |
| download | kernel-b0f7a8ca11795541f09060ccf583a341a9c94d5f.tar.gz kernel-b0f7a8ca11795541f09060ccf583a341a9c94d5f.zip | |
selftests/bpf: Add BPF_FIB_LOOKUP_SRC tests
This patch extends the existing fib_lookup test suite by adding two test
cases (for each IP family):
* Test source IP selection from the egressing netdev.
* Test source IP selection when an IP route has a preferred src IP addr.
Signed-off-by: Martynas Pumputis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
