]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: support MPTCP_PM_CMD_ANNOUNCE
authorKishen Maloor <kishen.maloor@intel.com>
Wed, 4 May 2022 02:38:53 +0000 (19:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2022 09:49:31 +0000 (10:49 +0100)
commit00b3aaff1403184100ff2a311dc4b49eb811f208
tree9f1201d9b3beb6b1709a982fb43d66228473fd5b
parent91d922e584d4cbe5111526cb1cee0246f87e3e75
selftests: mptcp: support MPTCP_PM_CMD_ANNOUNCE

This change updates the "pm_nl_ctl" testing sample with an "ann"
(announce) option to support the newly added netlink interface command
MPTCP_PM_CMD_ANNOUNCE to issue ADD_ADDR advertisements over the
chosen MPTCP connection.

E.g. ./pm_nl_ctl ann 192.168.122.75 token 823274047 id 25 dev enp1s0

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