[riot-notifications] [RIOT-OS/RIOT] gnrc_sixlowpan_frag: initial import of minimal forwarding (#11068)

Martine Lenders notifications at github.com
Tue Feb 26 15:30:22 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 implements [minimal fragment forwarding](https://datatracker.ietf.org/doc/draft-ietf-6lo-minimal-fragment/) for GNRC.
<!--
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
There is a test application `tests/gnrc_sixlowpan_frag_minfwd`. Having a set-up with >2 nodes and forward packets between them *should* also work, but for some reason (I suspect the radio) it doesn't work that well at the moment. Once I find out why, I will update the PR and the testing procedures accordingly.
<!--
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 #11000, #11061, and #11063:

![Route to 6Lo minimal fragment forwarding](http://page.mi.fu-berlin.de/mlenders/sixlo_minfwd.svg)
<!--
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/11068

-- Commit Summary --

  * gnrc_sixlowpan_frag: expose fragment interval type
  * gnrc_sixlowpan_frag: add intervals to public type
  * gnrc_sixlowpan_frag: add arrival time to public type
  * gnrc_sixlowpan_frag: remove unnecessary type indirection
  * gnrc_sixlowpan_frag: introduce reassembly buffer base class
  * gnrc_sixlowpan_frag: add datagram size to base type
  * gnrc_sixlowpan_frag: use rbuf base class whenever possible
  * fixup! gnrc_sixlowpan_frag: introduce reassembly buffer base class
  * Merge branch 'gnrc_sixlowpan_frag/enh/expose-interval-type' into HEAD
  * gnrc_sixlowpan_frag: expose tag progression functionality
  * gnrc_sixlowpan_frag: initial import of the VRB
  * tests: add unittests for gnrc_sixlowpan_frag_vrb
  * 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
  * fixup! gnrc_sixlowpan_frag: initial import of the VRB
  * 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
  * gnrc_sixlowpan_frag: encapsulate msg_send_to_self()
  * fixup! gnrc_sixlowpan_frag: add datagram size to base type
  * gnrc_sixlowpan_frag: include VRB in normal GC
  * fixup! gnrc_sixlowpan_frag: include VRB in normal GC
  * Merge branch 'gnrc_sixlowpan_frag/new/vrb' into HEAD
  * Merge branch 'gnrc_sixlowpan_frag/new/hint' into HEAD
  * Merge branch 'gnrc_sixlowpan_frag/enh/msg-send-to-6lo' into HEAD
  * gnrc_sixlowpan_frag: initial import of minimal forwarding
  * tests: introduce tests for gnrc_sixlowpan_frag_minfwd
  * gnrc_sixlowpan_frag: make rbuf pointer generic
  * gnrc_sixlowpan_frag/rbuf: add VRB and use minfwd handling
  * tests: add gnrc_sixlowpan_frag_minfwd tests for rbuf integration
  * gnrc_sixlowpan_iphc/minfwd: put only IPHC dispatch in first fragment
  * tests: add gnrc_sixlowpan_frag_minfwd tests for IPHC sending
  * gnrc_sixlowpan_iphc: forward received fragments
  * tests: add gnrc_sixlowpan_frag_minfwd tests for IPHC reception

-- File Changes --

    M Makefile.dep (6)
    M makefiles/pseudomodules.inc.mk (1)
    M sys/include/net/gnrc/sixlowpan/frag.h (107)
    A sys/include/net/gnrc/sixlowpan/frag/hint.h (59)
    A sys/include/net/gnrc/sixlowpan/frag/minfwd.h (148)
    A sys/include/net/gnrc/sixlowpan/frag/vrb.h (162)
    M sys/include/net/gnrc/sixlowpan/internal.h (8)
    M sys/include/net/gnrc/sixlowpan/iphc.h (6)
    M sys/net/gnrc/Makefile (6)
    M sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c (181)
    A sys/net/gnrc/network_layer/sixlowpan/frag/minfwd/Makefile (3)
    A sys/net/gnrc/network_layer/sixlowpan/frag/minfwd/gnrc_sixlowpan_frag_minfwd.c (276)
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c (302)
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.h (42)
    A sys/net/gnrc/network_layer/sixlowpan/frag/vrb/Makefile (3)
    A sys/net/gnrc/network_layer/sixlowpan/frag/vrb/gnrc_sixlowpan_frag_vrb.c (114)
    M sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c (31)
    M sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c (81)
    M tests/gnrc_sixlowpan_frag/main.c (66)
    A tests/gnrc_sixlowpan_frag_minfwd/Makefile (22)
    A tests/gnrc_sixlowpan_frag_minfwd/common.h (51)
    A tests/gnrc_sixlowpan_frag_minfwd/main.c (2017)
    A tests/gnrc_sixlowpan_frag_minfwd/mockup_netif.c (98)
    A tests/gnrc_sixlowpan_frag_minfwd/tests/01-run.py (19)
    A tests/unittests/tests-gnrc_sixlowpan_frag_vrb/Makefile (1)
    A tests/unittests/tests-gnrc_sixlowpan_frag_vrb/Makefile.include (2)
    A tests/unittests/tests-gnrc_sixlowpan_frag_vrb/tests-gnrc_sixlowpan_frag_vrb.c (283)
    A tests/unittests/tests-gnrc_sixlowpan_frag_vrb/tests-gnrc_sixlowpan_frag_vrb.h (37)

-- Patch Links --

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


More information about the notifications mailing list