net/eui64: add eui64_to_eui48()#15096
Merged
maribu merged 2 commits intoRIOT-OS:masterfrom Sep 30, 2020
Merged
Conversation
6ee9889 to
602dfd5
Compare
maribu
reviewed
Sep 29, 2020
miri64
reviewed
Sep 29, 2020
maribu
reviewed
Sep 29, 2020
maribu
approved these changes
Sep 29, 2020
Member
maribu
left a comment
There was a problem hiding this comment.
ACK. Please also squash the suggested documentation clarification (feel free to rephrase) right in.
23af9f4 to
0098b46
Compare
a2e4ad0 to
0f40588
Compare
maribu
reviewed
Sep 30, 2020
Move eui48_set_local() and eui48_clear_group() to the top so we can use it later in the file.
Provide helper function to mangle a EUI-64 into an EUI-48. This can be useful to get predictable, locally unique addreses.
0f40588 to
307ea62
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Contribution description
Provide helper function to mangle a EUI-64 into an EUI-48. (Like
eui48_to_eui64())This can be useful to get predictable, locally unique addreses.
Testing procedure
Issues/PRs references
#15083 (comment)