forked from multipath-tcp/mptcp_net-next
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests/bpf: Add timeout_ms for send_recv_data
Some self-test cases, such as MPTCP, require longer timeout values than the default 3 sec. So this patch adds a new parameter "timeout_ms" to send_recv_data to set different timeout values in ms. Also, a new member "tout" is added to struct send_recv_arg to pass the timeout value to send_recv_server() and to settimeo(). Signed-off-by: Geliang Tang <[email protected]>
- Loading branch information
Geliang Tang
committed
Jan 16, 2025
1 parent
f982dea
commit 20128ed
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters