-
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
gnrc_ndp: add adapters for NIB-based implementation #6380
Conversation
I have no strong opinion on this, but I am not quite seeing the point in having |
The idea is to replace them soonish. NIB will take quite a lot of PRs to have a stress-free review (#6325 is just the beginning and expected to be the largest part except for the packet handling). I certainly can do without this PR, but as soon as I start refactoring (after NIB was merged completely) I probably would need to replace lots of lines in the NIB code. |
I am just saying it's my personal preference to not have wrapper functions in our current master that introduce more ambiguity. You will most probably build upon / use this commit for your upcoming work, so I see no hindrance here .. and I don't think this specific commit makes the review of upcoming PRs simpler. But as I accentuated before, my opinion is not that strong (: @OlegHahm what about yours? |
With the NIB implementation GNRC's NDP module will have building and sending NDP packets left as its only task. Since this will wastly simplify their structure there will be no need for an internal submodule. To simplify refactoring efforts later on this PR provides some adapters to emulate the later state of this module.
7b5ec6b
to
778388f
Compare
Ping? Rebased to current master. |
Superseded by #7064. |
With the NIB implementation GNRC's NDP module will have building and sending NDP packets left as its only task. Since this will wastly simplify their structure there will be no need for an internal submodule.
To simplify refactoring efforts later on this PR provides some adapters to emulate the later state of this module (they are just inline functions that wrap their
gnrc_ndp_internal_
counter-parts).