selftests: mptcp: create listeners to receive MPJs
authorKishen Maloor <kishen.maloor@intel.com>
Wed, 4 May 2022 02:39:00 +0000 (19:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2022 09:49:32 +0000 (10:49 +0100)
commitbdde081d728ab86812947a62bf84a3b4dfeb2635
treee6ec984b078128e85cb14dd93a360afdf85bc58b
parentb3e5fd653d3959f2845018f60db497a056aa41b2
selftests: mptcp: create listeners to receive MPJs

This change updates the "pm_nl_ctl" testing sample with a
"listen" option to bind a MPTCP listening socket to the
provided addr+port. This option is exercised in testing
subflow initiation scenarios in conjunction with userspace
path managers where the MPTCP application does not hold an
active listener to accept requests for new subflows.

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