[riot-commits] [RIOT-OS/RIOT] 41b0a2: ng_pktbuf: simplify API by extension

Martine Lenders authmillenon at gmail.com
Wed Jul 29 02:08:47 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 41b0a2661af5ce8bdc6857483adc94f7f9ab9cf1
      https://github.com/RIOT-OS/RIOT/commit/41b0a2661af5ce8bdc6857483adc94f7f9ab9cf1
  Author: Martine Lenders <mail at martine-lenders.eu>
  Date:   2015-07-29 (Wed, 29 Jul 2015)

  Changed paths:
    M sys/include/net/ng_pktbuf.h

  Log Message:
  -----------
  ng_pktbuf: simplify API by extension

This simplifies the `ng_pktbuf` API by adding a new function
`ng_pktbuf_mark()` which takes over some functionality of
`ng_pktbuf_add()`. `size == 0` for `ng_pktbuf_add()` is now illegal.


  Commit: f747b07db8a57971266e75c3d73fddb9b7ebca29
      https://github.com/RIOT-OS/RIOT/commit/f747b07db8a57971266e75c3d73fddb9b7ebca29
  Author: Martine Lenders <mlenders at inf.fu-berlin.de>
  Date:   2015-07-29 (Wed, 29 Jul 2015)

  Changed paths:
    M tests/unittests/tests-ipv6_hdr/tests-ipv6_hdr.c
    M tests/unittests/tests-pktbuf/tests-pktbuf.c

  Log Message:
  -----------
  unittests: adapt ng_pktbuf tests for new API


  Commit: 9e823076f46cce1ae23a68fb25970f0e33d6b658
      https://github.com/RIOT-OS/RIOT/commit/9e823076f46cce1ae23a68fb25970f0e33d6b658
  Author: Martine Lenders <mail at martine-lenders.eu>
  Date:   2015-07-29 (Wed, 29 Jul 2015)

  Changed paths:
    M Makefile.dep
    M Makefile.pseudomodules
    M sys/Makefile
    M sys/auto_init/auto_init.c
    R sys/net/crosslayer/ng_pktbuf/Makefile
    R sys/net/crosslayer/ng_pktbuf/_pktbuf_dynamic.c
    R sys/net/crosslayer/ng_pktbuf/_pktbuf_internal.h
    R sys/net/crosslayer/ng_pktbuf/_pktbuf_static.c
    R sys/net/crosslayer/ng_pktbuf/ng_pktbuf.c
    A sys/net/crosslayer/ng_pktbuf_static/Makefile
    A sys/net/crosslayer/ng_pktbuf_static/ng_pktbuf_static.c
    M tests/unittests/tests-pktbuf/Makefile.include

  Log Message:
  -----------
  ng_pktbuf: new default packet buffer implementation


  Commit: 377f5ccbee6e9858adb9bb6baa5000d5d63cb671
      https://github.com/RIOT-OS/RIOT/commit/377f5ccbee6e9858adb9bb6baa5000d5d63cb671
  Author: Martine Lenders <mlenders at inf.fu-berlin.de>
  Date:   2015-07-29 (Wed, 29 Jul 2015)

  Changed paths:
    M sys/net/application_layer/ng_zep/ng_zep.c
    M sys/net/crosslayer/ng_pktbuf_static/ng_pktbuf_static.c
    M sys/net/network_layer/ng_ipv6/ext/ng_ipv6_ext.c
    M sys/net/network_layer/ng_ipv6/ng_ipv6.c
    M sys/net/network_layer/ng_sixlowpan/iphc/ng_sixlowpan_iphc.c
    M sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c
    M sys/net/transport_layer/ng_udp/ng_udp.c

  Log Message:
  -----------
  gnrc: replace ng_pktbuf_add() with ng_pktbuf_mark() where it's needed


  Commit: 3d9945667ff55adfc79ba6954dd7bf5b49cb34d9
      https://github.com/RIOT-OS/RIOT/commit/3d9945667ff55adfc79ba6954dd7bf5b49cb34d9
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2015-07-29 (Wed, 29 Jul 2015)

  Changed paths:
    M Makefile.dep
    M Makefile.pseudomodules
    M sys/Makefile
    M sys/auto_init/auto_init.c
    M sys/include/net/ng_pktbuf.h
    M sys/net/application_layer/ng_zep/ng_zep.c
    R sys/net/crosslayer/ng_pktbuf/Makefile
    R sys/net/crosslayer/ng_pktbuf/_pktbuf_dynamic.c
    R sys/net/crosslayer/ng_pktbuf/_pktbuf_internal.h
    R sys/net/crosslayer/ng_pktbuf/_pktbuf_static.c
    R sys/net/crosslayer/ng_pktbuf/ng_pktbuf.c
    A sys/net/crosslayer/ng_pktbuf_static/Makefile
    A sys/net/crosslayer/ng_pktbuf_static/ng_pktbuf_static.c
    M sys/net/network_layer/ng_ipv6/ext/ng_ipv6_ext.c
    M sys/net/network_layer/ng_ipv6/ng_ipv6.c
    M sys/net/network_layer/ng_sixlowpan/iphc/ng_sixlowpan_iphc.c
    M sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c
    M sys/net/transport_layer/ng_udp/ng_udp.c
    M tests/unittests/tests-ipv6_hdr/tests-ipv6_hdr.c
    M tests/unittests/tests-pktbuf/Makefile.include
    M tests/unittests/tests-pktbuf/tests-pktbuf.c

  Log Message:
  -----------
  Merge pull request #3496 from authmillenon/ng_pktbuf/enh/new_default

ng_pktbuf: new default packet buffer implementation


Compare: https://github.com/RIOT-OS/RIOT/compare/386d9f30cc74...3d9945667ff5


More information about the commits mailing list