[riot-notifications] [RIOT] ng_net: add IID option and simplify upper layers accordingly (#3159)

Martine Lenders notifications at github.com
Wed Jun 3 18:50:56 CEST 2015


This puts the IPv6 IID generation from the link-layer address where it belongs: into the link-layer.

Overview:

* introducing a new option for this `NETCONF_OPT_IPV6_IID`
* introducing a function `ng_xxx_get_iid()` per supported link layer (`ng_ieee802154` and `ng_ethernet`).
* adapting the current `ng_` drivers to support the `NETCONF_OPT_IPV6_IID` option via their respective link layer's `ng_xxx_get_iid()`
* adapting `ng_ipv6_netif` to use `NETCONF_OPT_IPV6_IID` for IPv6 addresse initialization
* adapting `ng_sixlowpan_iphc` to use `NETCONF_OPT_IPV6_IID` for source address (de)compression and `ng_ieee802154_get_iid()` for destination address (de)compression
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3159

-- Commit Summary --

  * xbee: make address length configurable
  * Merge branch 'xbee/enh/addr-len' into HEAD
  * eui64: export type to own module
  * ng_netconf: add IID option
  * ng_ethernet: Add IID generator
  * ng_ieee802154: Add IID generator
  * ng_sixlowpan_iphc: use NETCONF_OPT_IPV6_IID and ng_ieee802154_get_iid

-- File Changes --

    M drivers/include/xbee.h (14)
    M drivers/xbee/xbee.c (31)
    A sys/include/net/eui64.h (48)
    M sys/include/net/ng_ethernet.h (26)
    M sys/include/net/ng_ieee802154.h (66)
    M sys/include/net/ng_netconf.h (16)
    M sys/net/network_layer/ng_sixlowpan/iphc/ng_sixlowpan_iphc.c (105)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3159.patch
https://github.com/RIOT-OS/RIOT/pull/3159.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3159
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150603/788d0076/attachment.html>


More information about the notifications mailing list