mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 19:14:30 +08:00
dc65fe82fb
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>
18 lines
380 B
Makefile
18 lines
380 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
top_srcdir = ../../../../..
|
|
KSFT_KHDR_INSTALL := 1
|
|
|
|
CFLAGS = -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include
|
|
|
|
TEST_PROGS := mptcp_connect.sh pm_netlink.sh mptcp_join.sh diag.sh \
|
|
simult_flows.sh mptcp_sockopt.sh
|
|
|
|
TEST_GEN_FILES = mptcp_connect pm_nl_ctl
|
|
|
|
TEST_FILES := settings
|
|
|
|
EXTRA_CLEAN := *.pcap
|
|
|
|
include ../../lib.mk
|