ng_net: add IID option and simplify upper layers accordingly#3159
Merged
miri64 merged 9 commits intoRIOT-OS:masterfrom Jul 1, 2015
Merged
ng_net: add IID option and simplify upper layers accordingly#3159miri64 merged 9 commits intoRIOT-OS:masterfrom
miri64 merged 9 commits intoRIOT-OS:masterfrom
Conversation
Member
|
is it really necessary to depend on #3158 ? |
Member
Author
|
Yes, otherwise this fix isn't working for xbee. |
Member
Author
|
Rebased to current master. No more dependent on other PRs |
Member
|
Potential Hack'n'ACK candidate or too big? |
Member
Author
|
I would say yes. |
Member
|
Tested on native and samr21-xpro. ipv6 addresses are initialized correctly. GO when travis is happy. |
Member
|
BTW before I merge this: does this still depend on #3158? Shouldn't this be merged first then? |
Member
Author
|
#3158 is already merged... |
miri64
added a commit
that referenced
this pull request
Jul 1, 2015
ng_net: add IID option and simplify upper layers accordingly
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Jul 2, 2015
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.
This puts the IPv6 IID generation from the link-layer address where it belongs: into the link-layer.
Overview:
NETCONF_OPT_IPV6_IIDng_xxx_get_iid()per supported link layer (ng_ieee802154andng_ethernet).ng_drivers to support theNETCONF_OPT_IPV6_IIDoption via their respective link layer'sng_xxx_get_iid()ng_ipv6_netifto useNETCONF_OPT_IPV6_IIDfor IPv6 addresse initializationng_sixlowpan_iphcto useNETCONF_OPT_IPV6_IIDfor source address (de)compression andng_ieee802154_get_iid()for destination address (de)compressionDepends on #3158.