-
Notifications
You must be signed in to change notification settings - Fork 2.1k
gnrc_sixlowpan_frag: adapt for #8511 #9372
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
Merged
cgundogan
merged 1 commit into
RIOT-OS:master
from
miri64:gnrc_sixlowpan_frag/enh/i8511
Jun 26, 2018
Merged
gnrc_sixlowpan_frag: adapt for #8511 #9372
cgundogan
merged 1 commit into
RIOT-OS:master
from
miri64:gnrc_sixlowpan_frag/enh/i8511
Jun 26, 2018
Conversation
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
cgundogan
approved these changes
Jun 26, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested. ACK!
|
@cgundogan except for squashing, Murdock is happy now. May I squash? |
yup! |
This refactors the `gnrc_sixlowpan_frag` module for the API proposed in RIOT-OS#8511. The `ctx` for `gnrc_sixlowpan_frag_send()` is required to be a `gnrc_sixlowpan_msg_frag_t` object, so IPHC can later on use it to provide the *original* datagram size (otherwise, we would need to adapt the API just for that, which seems to me as convoluted as this proposal). I also provide an expose function with a future possibility to provide more than just one `gnrc_sixlowpan_msg_frag_t` object later on (plus having cleaner module separation in general).
aa9440f
to
a2eb3c7
Compare
Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: network
Area: Networking
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
Process: API change
Integration Process: PR contains or issue proposes an API change. Should be handled with care.
Type: cleanup
The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
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.
Contribution description
This refactors the
gnrc_sixlowpan_frag
module for the API proposedin #8511.
The
ctx
forgnrc_sixlowpan_frag_send()
is required to be agnrc_sixlowpan_msg_frag_t
object, so IPHC can later on use it toprovide the original datagram size (otherwise, we would need to adapt
the API just for that, which seems to me as convoluted as this
proposal).
I also provide an expose function with a future possibility to provide
more than just one
gnrc_sixlowpan_msg_frag_t
object later on (plushaving cleaner module separation in general).
Issues/PRs references
Addresses #8511 partially.