selftests: mptcp: add struct params in mptcp_diag
authorGang Yan <yangang@kylinos.cn>
Fri, 2 May 2025 12:29:23 +0000 (14:29 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 5 May 2025 23:52:00 +0000 (16:52 -0700)
commitcd732d5110a22ea6d555c69a60a440b59ba281e3
treee7d98344c3ddfaa7df7cf6dccb499fe9b5556cfb
parentdd367e81b79a68a080c5f03f690fe829b093bd21
selftests: mptcp: add struct params in mptcp_diag

This patch adds a struct named 'params' to save 'target_token' and other
future parameters. This structure facilitates future function expansions.

Co-developed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Gang Yan <yangang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250502-net-next-mptcp-sft-inc-cover-v1-3-68eec95898fb@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_diag.c