-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for new upstream kernel PM commands. #199
Merged
ossama-othman
merged 75 commits into
multipath-tcp:master
from
ossama-othman:upstream-pm-cmds
Aug 9, 2022
Merged
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
e8c69d8
include: Add remaining user space PM commands.
ossama-othman a93fd4e
src: Conform to existing naming convention.
ossama-othman 2e3fe86
src: Organize kernel/user space PM code.
ossama-othman 7006b41
src: Add support for MPTCP_PM_CMD_ANNOUNCE.
ossama-othman 2983e45
src: Add support for MPTCP_PM_CMD_REMOVE.
ossama-othman 026c1ae
src: Add support for MPTCP_PM_CMD_SUBFLOW_CREATE.
ossama-othman d7629c7
src: Add support for MPTCP_PM_CMD_SUBFLOW_DESTROY.
ossama-othman eb9018b
src: Remove unused private fields.
ossama-othman f86445e
src: Correct code indentation.
ossama-othman 9fe1a35
src: Correct comments.
ossama-othman 2abcd4f
include: Update to latest <linux/mptcp.h>.
ossama-othman 50543d7
src: Reorder include directives to avoid conflict.
ossama-othman 1b3f097
src: Display support kernel in "--help" output.
ossama-othman c139636
src: Fix build regression caused by rebase.
ossama-othman b47c81f
src: Add a MPTCP listener manager.
ossama-othman d45500a
src: Create/destroy mptcpd listener manager.
ossama-othman 6273bbc
src: Create MPTCP listening sockets as needed.
ossama-othman 769b0bc
tests: Add mptcpd listener manager unit test.
ossama-othman 14f9e58
tests: Clarify why the loopback address is used.
ossama-othman a7c97de
include: Update mptcpd copies of <linux/mptcp.h>.
ossama-othman 40cb8a5
m4: Update upstream <linux/mptcp.h> detection.
ossama-othman cfa291f
src: Parse MPTCP_ATTR_SERVER_SIDE event attribute.
ossama-othman 81b615d
plugin: Propagate server_side attribute to plugins
ossama-othman 38dce3a
plugins: Update connection operations signatures.
ossama-othman a878e0b
tests: Update test plugin infrastructure.
ossama-othman 587581f
tests: Clarify plugin call relationship.
ossama-othman 2c79001
listener_manager: Correct file descriptor cast.
ossama-othman 4b0af5b
tests: Fix clang build regression.
ossama-othman 4e477ae
lib: Refactor sockaddr hash code.
ossama-othman 671ad53
tests: Add invalid MPTCP address ID test case.
ossama-othman 16e6f1c
lib: Export the mptcpd listener manager API.
ossama-othman 7154fb8
listener_manager: Map sockaddr to file descriptor.
ossama-othman 6f2121f
Add sockaddr parameter to mptcpd_pm_remove_addr().
ossama-othman af5eee0
tests: Use new API in test-listener-manager.
ossama-othman 8e8fcca
hash_sockaddr: Add todo comment about port hash.
ossama-othman f62e212
id_manager: Fix potential NULL dereference.
ossama-othman 72a25af
src: Add missing addr param for mptcp.org impl.
ossama-othman 7dbc71c
hash_sockaddr: Include IP port as part of the key.
ossama-othman b667955
hash_sockaddr: Simplify padding initialization.
ossama-othman 4827421
hash_sockaddr: Include port in key comparison.
ossama-othman 7d0d315
tests: Expand mptcpd_lm test cases.
ossama-othman 89ae85c
tests: Fix spelling typo.
ossama-othman ba87b88
test-id-manager: Add different port test case.
ossama-othman dbd8dbd
lib: Refactor sockaddr hashing to IDM and LM.
ossama-othman 9a0cf49
listener_manager: Make factory functions private.
ossama-othman 2a5ace1
path_manager: Add mptcpd_pm_get_lm() accessor.
ossama-othman b40f91f
tests: Expand internal mptcpd_pm state checks.
ossama-othman 0208b79
include: Clarify the role of the listener manager.
ossama-othman 56d2922
include: Clarify 'server_side' plugin ops param.
ossama-othman 96712be
lib: Remove unused Makefile variable assignment.
ossama-othman f5eb494
hash_sockaddr: Remove extra line.
ossama-othman f915775
listener_manager: Track ephemeral ports.
ossama-othman 8022d4c
listener_manager: Reject unbound IP addresses.
ossama-othman 9b82aff
test-listener-manager: Add bad address test cases.
ossama-othman f2b15a2
lib: Move IPPROTO_MPTCP def to global scope.
ossama-othman daa13d4
src: Improve genl command error logging.
ossama-othman 47bafca
listener_manager: Update port in sockaddr arg.
ossama-othman eabb923
Use non-const sockaddr arg in mptcpd_pm_add_addr()
ossama-othman ffcb668
Add mptcpd_sockaddr_copy() utility function.
ossama-othman 0d3194e
sspi: Pass non-const addr to mptcpd_pm_add_addr().
ossama-othman 0690d9f
Make hexadecimal capitalization consistent.
ossama-othman a99543f
listener_manager: Forward declare struct sockaddr.
ossama-othman 0d4210c
listener_manager: Add missing <stdbool.h> include.
ossama-othman 8b9cc84
listener_manager: Disambiguate filename in docs.
ossama-othman 73facae
tests: Overhaul test-commands unit test.
ossama-othman cc7021e
Merge branch 'master' into upstream-pm-cmds
ossama-othman 087cb4a
netlink_pm_upstream: Clarify TODO comment.
ossama-othman dc40045
test-commands: Split kernel and user space cases.
ossama-othman e80db71
listener_manager: Return 0 or errno, not bool.
ossama-othman 3e94d23
Return listen error to mptcpd_pm_add_addr() caller
ossama-othman a7a9b90
include: Clarify return values.
ossama-othman 3d64db8
tests: Add listener manager negative test cases.
ossama-othman c1883e4
test-commands: Ignore EADDRNOTAVAIL error.
ossama-othman bde4681
tests: Remove unnecessary <ell/hashmap.h> include.
ossama-othman 9fed337
tests: Fix compatibility with ELL 0.45 and later.
ossama-othman File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks with a recent ELL - needs the wrapper pragmas for these ELL includes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit e80db71.