-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ng_net: add IID option and simplify upper layers accordingly #3159
Conversation
is it really necessary to depend on #3158 ? |
Yes, otherwise this fix isn't working for xbee. |
Rebased to current master. No more dependent on other PRs |
Potential Hack'n'ACK candidate or too big? |
I would say yes. |
Tested on native and samr21-xpro. ipv6 addresses are initialized correctly. GO when travis is happy. |
BTW before I merge this: does this still depend on #3158? Shouldn't this be merged first then? |
#3158 is already merged... |
ng_net: add IID option and simplify upper layers accordingly
This puts the IPv6 IID generation from the link-layer address where it belongs: into the link-layer.
Overview:
NETCONF_OPT_IPV6_IID
ng_xxx_get_iid()
per supported link layer (ng_ieee802154
andng_ethernet
).ng_
drivers to support theNETCONF_OPT_IPV6_IID
option via their respective link layer'sng_xxx_get_iid()
ng_ipv6_netif
to useNETCONF_OPT_IPV6_IID
for IPv6 addresse initializationng_sixlowpan_iphc
to useNETCONF_OPT_IPV6_IID
for source address (de)compression andng_ieee802154_get_iid()
for destination address (de)compressionDepends on #3158.