diff options
author | Geliang Tang <[email protected]> | 2020-11-03 11:05:09 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-04 17:45:53 -0800 |
commit | 8d014eaa9254a9b8e0841df40dd36782b451579a (patch) | |
tree | 9176838f6879f86e5764019d17463b3a5c6f24d5 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9ce7deff92e89b1807d0968c0b319d26361a72a6 (diff) |
selftests: mptcp: add ADD_ADDR timeout test case
This patch added the test case for retransmitting ADD_ADDR when timeout
occurs. It set NS1's add_addr_timeout to 1 second, and drop NS2's ADD_ADDR
echo packets.
Here we need to slow down the transfer process of all data to let the
ADD_ADDR suboptions can be retransmitted three times. So we added a new
parameter "speed" for do_transfer, it can be set with fast or slow.
We also added three new optional parameters for run_tests, and dropped
run_remove_tests function.
Since we added the netfilter rules in this test case, we need to update
the "config" file.
Suggested-by: Matthieu Baerts <[email protected]>
Suggested-by: Paolo Abeni <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions