]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8e0965a314781e27a97eaadcdb19b9a01ad547b
tree59dd8526f859bb2b5318afb41909cc2ef784fae7
parent33ecd4cecca36b6c0de85a3d29a3b2bf79ac10bb
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