[riot-notifications] [RIOT-OS/RIOT] gnrc_sixlowpan_frag: Initial import of a fragment size hint feature (#11061)

Martine Lenders notifications at github.com
Mon Feb 25 16:49:21 CET 2019


<!--
The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.
-->

### Contribution description
This allows for sending of fragments smaller than the restrictions set by the link-layer PDU. E.g. to put some slack for IPHC into the first fragment (see https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-02#section-4.1).
<!--
Put here the description of your contribution:
- describe which part(s) of RIOT is (are) involved
- if it's a bug fix, describe the bug that it solves and how it is solved
- you can also give more information to reviewers about how to test your changes
-->


### Testing procedure
Currently there is no test for this (I will provide a test application for my [minimal fragment forwarding](https://tools.ietf.org/html/draft-ietf-6lo-minimal-fragment-00) implementation that also tests this feature), so just compiling `gnrc_networking` with the `gnrc_sixlowpan_frag_hint` pseudo-module for a 6Lo-capable board (e.g. `samr21-xpro`) should suffice (this will not be done by the CI!).
<!--
Details steps to test your contribution:
- which test/example to compile for which board and is there a 'test' command
- how to know that it was not working/available in master
- the expected success test output
-->


### Issues/PRs references
Depends on #11021 (mainly because there is a lot of conflict between those two, but functionally it is independent from that PR).
<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * gnrc_sixlowpan_frag: expose tag progression functionality
  * gnrc_sixlowpan_frag: allow send of multiple datagrams simultaneously
  * gnrc_sixlowpan_frag: reorder stack variables for better stack usage
  * gnrc_sixlowpan_frag: unify common operations
  * fixup! gnrc_sixlowpan_frag: allow send of multiple datagrams simultaneously
  * fixup! gnrc_sixlowpan_frag: allow send of multiple datagrams simultaneously
  * Merge branch 'gnrc_sixlowpan_frag/enh/multiple-send' into gnrc_sixlowpan_frag/new/hint
  * gnrc_sixlowpan_frag: Initial import of a fragment size hint feature

-- File Changes --

    M makefiles/pseudomodules.inc.mk (1)
    M sys/include/net/gnrc/sixlowpan/frag.h (28)
    A sys/include/net/gnrc/sixlowpan/frag/hint.h (59)
    M sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c (151)
    M sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c (4)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11061.patch
https://github.com/RIOT-OS/RIOT/pull/11061.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/11061
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190225/8cc5f718/attachment-0001.html>


More information about the notifications mailing list