selftests: mptcp: add test cases for mptcp join tests with syn cookies
authorFlorian Westphal <fw@strlen.de>
Thu, 30 Jul 2020 19:25:58 +0000 (21:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Jul 2020 23:55:32 +0000 (16:55 -0700)
commit00587187ad3016382bd8d3fad0f3bba0a518ab40
treedf6aca9d2a30b4e08dddfce8a99773b16fdfa997
parentfed61c4b584c5839543fe46a2ee55e21dd1bbf80
selftests: mptcp: add test cases for mptcp join tests with syn cookies

Also add test cases with MP_JOIN when tcp_syncookies sysctl is 2 (i.e.,
syncookies are always-on).

While at it, also print the test number and add the test number
to the pcap files that can be generated optionally.

This makes it easier to match the pcap to the test case.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_join.sh