aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2023-11-28 15:18:54 -0800
committerJakub Kicinski <[email protected]>2023-11-29 20:06:18 -0800
commitb850f2c7dd85ecd14a333685c4ffd23f12665e94 (patch)
tree8bf9fe82032b845493c2302a85630b1c1d8da7a5 /tools/testing/selftests/bpf/progs/test_autoload.c
parentbdbef0a6ff10603895b0ba39f56bf874cb2b551a (diff)
selftests: mptcp: add mptcp_lib_is_v6
To avoid duplicated code in different MPTCP selftests, we can add and use helpers defined in mptcp_lib.sh. is_v6() helper is defined in mptcp_connect.sh, mptcp_join.sh and mptcp_sockopt.sh, so export it into mptcp_lib.sh and rename it as mptcp_lib_is_v6(). Use this new helper in all scripts. Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions