selftests: mptcp: support MPTCP_PM_CMD_SUBFLOW_CREATE
authorKishen Maloor <kishen.maloor@intel.com>
Wed, 4 May 2022 02:38:57 +0000 (19:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2022 09:49:32 +0000 (10:49 +0100)
commitcf8d0a6dfd649acd6b450444b56eb244cd2e86c1
tree59dd8526f859bb2b5318afb41909cc2ef784fae7
parent702c2f646d42cfd9e31133d68a8283fea48fd810
selftests: mptcp: support MPTCP_PM_CMD_SUBFLOW_CREATE

This change updates the "pm_nl_ctl" testing sample with a "csf"
(create subflow) option to support the newly added netlink interface
command MPTCP_PM_CMD_SUBFLOW_CREATE over the chosen MPTCP connection.

E.g. ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2 rport 56789
token 823274047

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Kishen Maloor <kishen.maloor@intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/pm_nl_ctl.c