Skip to content
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

feat: add ScionAddr type of ISD-AS and host #88

Merged
merged 5 commits into from
Dec 8, 2023
Merged

Conversation

jpcsmith
Copy link
Contributor

@jpcsmith jpcsmith commented Dec 7, 2023

Closes #78.

@jpcsmith jpcsmith marked this pull request as ready for review December 7, 2023 10:41
Copy link
Contributor

github-actions bot commented Dec 7, 2023

Code Coverage

Package Line Rate Health
crates/scion-proto/src/reliable 95%
crates/scion/src 84%
crates/scion-proto/src/packet/headers 87%
crates/scion-proto/src/address 67%
crates/scion-proto/src 79%
crates/scion-proto/src/path/metadata 100%
crates/scion/src/daemon 95%
crates/scion-proto/src/path 84%
crates/scion-proto/src/packet 82%
Summary 80% (988 / 1238)

@jpcsmith
Copy link
Contributor Author

jpcsmith commented Dec 7, 2023

@mlegner This adds the ScionAddr type. There is a lot of renaming going on as well, so you may want to look at the individual commits since the renaming is isolated to the first and last commits.

Copy link
Contributor

@mlegner mlegner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, looks good. Just two points from my side.

crates/scion-proto/src/address/scion_address.rs Outdated Show resolved Hide resolved
crates/scion/src/udp/socket.rs Outdated Show resolved Hide resolved
This flattens HostAddr to make mapping to the underlying type more
straightforward, renames it to HostAddr (like IpAddr), and removes
the HostAddress marker trait to avoid confusion.
@mlegner mlegner merged commit 4f871c5 into main Dec 8, 2023
11 checks passed
@mlegner mlegner deleted the feat/scion-addr branch December 8, 2023 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revise the address types and implement missing ScionAddress.
2 participants