]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: add inq test case
authorFlorian Westphal <fw@strlen.de>
Fri, 3 Dec 2021 22:35:35 +0000 (14:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Dec 2021 19:36:30 +0000 (11:36 -0800)
commit7bea2c0e4e091aa4fd6d6744fbb65fadece1eae9
tree3d1be2cebb4211ee20a24169b4178ab356cac182
parent29e410e6f6fef4ad2d579c3789eac900de6e6bed
selftests: mptcp: add inq test case

client & server use a unix socket connection to communicate
outside of the mptcp connection.

This allows the consumer to know in advance how many bytes have been
(or will be) sent by the peer.
This allows stricter checks on the bytecounts reported by TCP_INQ cmsg.

Suggested-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/.gitignore
tools/testing/selftests/net/mptcp/Makefile
tools/testing/selftests/net/mptcp/mptcp_inq.c [new file with mode: 0644]
tools/testing/selftests/net/mptcp/mptcp_sockopt.sh