-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
info: fallback: MPTCP_INFO_FLAG_FALLBACK is never set
When calling getsockopt(MPTCP_INFO), MPTCP_INFO_FLAG_FALLBACK will never be set. Instead the syscall will return an error, for both the client and the server side. MPTCP_INFO_FLAG_FALLBACK will only be set when listing MPTCP connections via the Netlink API (hence the confusion). We can simplify the examples now: - getsockopt(MPTCP_INFO) for both the client and server, kernels >= 5.16 - getsockopt(SO_PROTOCOL) for the server only, only check the client request, kernels < 5.16 Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
- Loading branch information
Showing
1 changed file
with
21 additions
and
48 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