Florian Westphal dc65fe82fb selftests: mptcp: add packet mark test case
Extend mptcp_connect tool with SO_MARK support (-M <value>) and
add a test case that checks that the packet mark gets copied to all
subflows.

This is done by only allowing packets with either skb->mark 1 or 2
via iptables.

DROP rule packet counter is checked; if its not zero, print an error
message and fail the test case.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-16 15:23:10 -07:00
..
2019-05-28 17:18:53 -07:00
2019-10-22 14:01:35 -07:00
2021-04-11 16:39:28 -07:00
2019-11-25 14:58:09 -08:00
2018-04-26 15:09:52 -04:00
2021-04-11 16:39:28 -07:00