diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-03-09 01:10:21 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-12 01:07:27 +0300 |
commit | 23a0485d1c0491a3044026263cf9a0acd33d30a2 (patch) | |
tree | 085f8c5c8609f888c81c17b469abdadb24802393 /tools/testing/selftests/net/mptcp/mptcp_sockopt.sh | |
parent | 7f0782ca1ce9f5dcb163c3f3a626f8b23fa85b3d (diff) | |
download | linux-23a0485d1c0491a3044026263cf9a0acd33d30a2.tar.xz |
selftests: mptcp: declare event macros in mptcp_lib
MPTCP event macros (SUB_ESTABLISHED, LISTENER_CREATED, LISTENER_CLOSED),
and the protocol family macros (AF_INET, AF_INET6) are defined in both
mptcp_join.sh and userspace_pm.sh. In order not to duplicate code, this
patch declares them all in mptcp_lib.sh with MPTCP_LIB_ prefixs.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240308-upstream-net-next-20240308-selftests-mptcp-unification-v1-14-4f42c347b653@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/mptcp/mptcp_sockopt.sh')
0 files changed, 0 insertions, 0 deletions