-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add initial draft of reliable protocol
- Loading branch information
Showing
14 changed files
with
1,109 additions
and
701 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
pub mod address; | ||
pub mod daemon; | ||
pub mod reliable; | ||
|
||
#[cfg(test)] | ||
pub(crate) mod test_utils; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
mod error; | ||
mod host_address; | ||
mod message; | ||
mod registration; | ||
mod relay_protocol; | ||
|
||
pub use error::ReliableRelayError; | ||
|
||
mod relay_protocol; | ||
pub use relay_protocol::ReliableRelayProtocol; | ||
|
||
const IPV4_OCTETS: usize = 4; | ||
const IPV6_OCTETS: usize = 16; | ||
const LAYER4_PORT_OCTETS: usize = 2; | ||
mod common_header; | ||
mod parser; | ||
mod registration; | ||
mod wire_utils; | ||
|
||
const ADDRESS_TYPE_OCTETS: usize = 1; |
Oops, something went wrong.