[riot-commits] [RIOT-OS/RIOT] 4ee51d: get rid of static buffer

Christian Mehlis christian at m3hlis.de
Tue Dec 3 10:59:24 CET 2013


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 4ee51da5dd22c8e1744811925c150755f68bd042
      https://github.com/RIOT-OS/RIOT/commit/4ee51da5dd22c8e1744811925c150755f68bd042
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2013-11-29 (Fri, 29 Nov 2013)

  Changed paths:
    M sys/net/ccn_lite/ccn-lite-relay.c
    M sys/net/ccn_lite/ccnl-riot-compat.c
    M sys/net/ccn_lite/util/ccnl-riot-client.c

  Log Message:
  -----------
  get rid of static buffer

this buffer was used for two types of outgoing packets:
  1. local msg
    - msg can be big, there is is no apriori boundary -> use dynamic
      memory instead
  2. transceiver msg
    - no need to copy msg in this buffer -> transceiver send is blocking


  Commit: b675629a424d0f7931567ab40b9c3a91e055c9ba
      https://github.com/RIOT-OS/RIOT/commit/b675629a424d0f7931567ab40b9c3a91e055c9ba
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2013-11-29 (Fri, 29 Nov 2013)

  Changed paths:
    M sys/net/ccn_lite/include/ccnl-riot.h

  Log Message:
  -----------
  tune CCNL_RIOT_CHUNK_SIZE

this constant is used for two test cases:

1. populate + interest /riot/text
  -> static content has this=90 bytes size

2. appserver + interest /riot/appserver/test
  -> dynamic content is created with exact
     CCNL_RIOT_CHUNK_SIZE bytes
  -> CCNL_RIOT_CHUNK_SIZE can be any value the
     transceiver can handle


  Commit: 229a131924b17fbd693db2b672cc02b6c22d72ef
      https://github.com/RIOT-OS/RIOT/commit/229a131924b17fbd693db2b672cc02b6c22d72ef
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2013-11-29 (Fri, 29 Nov 2013)

  Changed paths:
    M sys/net/ccn_lite/ccn-lite-relay.c
    M sys/net/ccn_lite/include/ccnl-riot.h

  Log Message:
  -----------
  make max_cache_entries a parameter


  Commit: b74ee26941003eb6eff2b3bfe97e0fcb313588f5
      https://github.com/RIOT-OS/RIOT/commit/b74ee26941003eb6eff2b3bfe97e0fcb313588f5
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2013-11-29 (Fri, 29 Nov 2013)

  Changed paths:
    M sys/net/ccn_lite/ccnl-core.c

  Log Message:
  -----------
  fix: remove oldest dynamic entry in content store


  Commit: 25f6d7f1db1556b40717433b3ed21051024cbda8
      https://github.com/RIOT-OS/RIOT/commit/25f6d7f1db1556b40717433b3ed21051024cbda8
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2013-11-29 (Fri, 29 Nov 2013)

  Changed paths:
    M sys/net/ccn_lite/ccn-lite-relay.c

  Log Message:
  -----------
  enable timeout events


  Commit: afc63253057e1ff0c265fe63e068de4c112b2fc0
      https://github.com/RIOT-OS/RIOT/commit/afc63253057e1ff0c265fe63e068de4c112b2fc0
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2013-11-29 (Fri, 29 Nov 2013)

  Changed paths:
    M sys/net/ccn_lite/ccn-lite-relay.c

  Log Message:
  -----------
  fix function declaration isn't a prototype


  Commit: e01d43e129aa3602bf6175b9bf8ada89f2171ae6
      https://github.com/RIOT-OS/RIOT/commit/e01d43e129aa3602bf6175b9bf8ada89f2171ae6
  Author: Christian Mehlis <christian at m3hlis.de>
  Date:   2013-12-03 (Tue, 03 Dec 2013)

  Changed paths:
    M sys/net/ccn_lite/ccn-lite-relay.c
    M sys/net/ccn_lite/ccnl-core.c
    M sys/net/ccn_lite/ccnl-riot-compat.c
    M sys/net/ccn_lite/include/ccnl-riot.h
    M sys/net/ccn_lite/util/ccnl-riot-client.c

  Log Message:
  -----------
  Merge pull request #389 from mehlis/ccn-lite-follow-up-2

Ccn lite follow up


Compare: https://github.com/RIOT-OS/RIOT/compare/e2d7ae5bc0ef...e01d43e129aa


More information about the commits mailing list