-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipcz: Implement basic node connection
Split out from the ipcz uber-CL: https://crrev.com/c/3570271 Introduces NodeConnector and some associated ipcz messages which will be used by ConnectNode() to bootstrap new NodeLinks between nodes. A NodeConnector is a short-lived object which takes initial ownership of a DriverTransport to transmit and listen for appropriate handshake messages. Once handshake is complete, the transport is passed on to a newly created NodeLink and given to whichever Node initiated a connection on the transport. This does not actually implement the ConnectNode() API yet. This CL is primarily about landing the most important NodeConnector implementations (broker-to-non-broker, and non-broker-to-broker) and getting test coverage for them. Bug: 1299283 Change-Id: I389ac8796c36446661fe1d96f63254fc96a95cad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3621786 Commit-Queue: Ken Rockot <rockot@google.com> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1001227}
- Loading branch information
Showing
15 changed files
with
1,135 additions
and
69 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
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
Oops, something went wrong.