[riot-notifications] [RIOT-OS/RIOT] RPL: API update suggestions (#11560)

benpicco notifications at github.com
Tue May 21 16:23:12 CEST 2019


@bergzand suggested I should pick up on #7498 before going forward with MRHOF, so I did.
It was pretty straightforward. `which_parent` was indeed unused now after #7468, so I removed it as suggested.

The `init` function is currently unused, so the API change had no effect.
`calc_rank()` now receives `dodag` instead of `dodag->parents`, so only minor adjustments were needed.

Will squash this to one commit if approved. 
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * RPL: Update API
  * RPL: adapt OF0 to API changes
  * RPL: remove unused which_parent function

-- File Changes --

    M sys/include/net/gnrc/rpl/structs.h (29)
    M sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c (2)
    M sys/net/gnrc/routing/rpl/of0.c (39)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11560
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190521/71f1a618/attachment.html>


More information about the notifications mailing list