[riot-commits] [RIOT-OS/RIOT] 487f6e: gnrc udp: simplify gnrc_udp_hdr_build

Oleg Hahm oleg at hobbykeller.org
Wed Mar 23 15:31:59 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 487f6e480fe986cf2e3742b73fb93937a6c72551
      https://github.com/RIOT-OS/RIOT/commit/487f6e480fe986cf2e3742b73fb93937a6c72551
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M examples/gnrc_networking/udp.c
    M sys/include/net/gnrc/udp.h
    M sys/net/gnrc/application_layer/tftp/gnrc_tftp.c
    M sys/net/gnrc/application_layer/zep/gnrc_zep.c
    M sys/net/gnrc/conn/udp/gnrc_conn_udp.c
    M sys/net/gnrc/netreg/gnrc_netreg.c
    M sys/net/gnrc/transport_layer/udp/gnrc_udp.c

  Log Message:
  -----------
  gnrc udp: simplify gnrc_udp_hdr_build

Directly using 16 bit port numbers instead of casting uint8_t pointers.


  Commit: 360413a0336beb6c77b4e54a3a982cc5f763b591
      https://github.com/RIOT-OS/RIOT/commit/360413a0336beb6c77b4e54a3a982cc5f763b591
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M examples/gnrc_networking/udp.c
    M sys/include/net/gnrc/ipv6/hdr.h
    M sys/net/gnrc/application_layer/tftp/gnrc_tftp.c
    M sys/net/gnrc/application_layer/zep/gnrc_zep.c
    M sys/net/gnrc/conn/ip/gnrc_conn_ip.c
    M sys/net/gnrc/conn/udp/gnrc_conn_udp.c
    M sys/net/gnrc/netreg/gnrc_netreg.c
    M sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c
    M sys/net/gnrc/network_layer/ipv6/hdr/gnrc_ipv6_hdr.c
    M sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c
    M sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c
    M tests/unittests/tests-gnrc_ipv6_hdr/tests-gnrc_ipv6_hdr.c

  Log Message:
  -----------
  gnrc ipv6 hdr: remove len params from hdr_build


  Commit: 952bd0c7effab938e59e9eff1ac4e84613bde9de
      https://github.com/RIOT-OS/RIOT/commit/952bd0c7effab938e59e9eff1ac4e84613bde9de
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M sys/shell/commands/sc_icmpv6_echo.c

  Log Message:
  -----------
  ping: use IPv6 header build instead of generic one


  Commit: fc919ea28ed063ac197c199e4ad626fe20e08086
      https://github.com/RIOT-OS/RIOT/commit/fc919ea28ed063ac197c199e4ad626fe20e08086
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M sys/net/gnrc/netreg/gnrc_netreg.c

  Log Message:
  -----------
  netreg: assert correct param length for hdr_build


  Commit: 991c71cf274e13c7cb4305b32129102c261677d7
      https://github.com/RIOT-OS/RIOT/commit/991c71cf274e13c7cb4305b32129102c261677d7
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M examples/gnrc_networking/udp.c
    M sys/include/net/gnrc/ipv6/hdr.h
    M sys/net/gnrc/application_layer/tftp/gnrc_tftp.c
    M sys/net/gnrc/application_layer/zep/gnrc_zep.c
    M sys/net/gnrc/conn/ip/gnrc_conn_ip.c
    M sys/net/gnrc/conn/udp/gnrc_conn_udp.c
    M sys/net/gnrc/netreg/gnrc_netreg.c
    M sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c
    M sys/net/gnrc/network_layer/ipv6/hdr/gnrc_ipv6_hdr.c
    M sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c
    M sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c
    M sys/shell/commands/sc_icmpv6_echo.c
    M tests/unittests/tests-gnrc_ipv6_hdr/tests-gnrc_ipv6_hdr.c

  Log Message:
  -----------
  gnrc ipv6: use ipv6_addr_t ptr for hdr_build


  Commit: 32af3f962eef87aa1aec2bd07c49a7c7e3630431
      https://github.com/RIOT-OS/RIOT/commit/32af3f962eef87aa1aec2bd07c49a7c7e3630431
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M sys/include/net/gnrc/ipv6/hdr.h
    M sys/net/gnrc/network_layer/ipv6/hdr/gnrc_ipv6_hdr.c

  Log Message:
  -----------
  gnrc ipv6: make address parameters const


  Commit: cba3ba71ab27f3cfbd66d5b16b4332f5330e0475
      https://github.com/RIOT-OS/RIOT/commit/cba3ba71ab27f3cfbd66d5b16b4332f5330e0475
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M sys/include/net/gnrc/netreg.h
    M sys/net/gnrc/netreg/gnrc_netreg.c

  Log Message:
  -----------
  gnrc netreg: remove generic hdr build function


  Commit: a65e6aad59ded40833336a558a55307870b5a093
      https://github.com/RIOT-OS/RIOT/commit/a65e6aad59ded40833336a558a55307870b5a093
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M examples/gnrc_networking/udp.c
    M sys/include/net/gnrc/ipv6/hdr.h
    M sys/include/net/gnrc/netreg.h
    M sys/include/net/gnrc/udp.h
    M sys/net/gnrc/application_layer/tftp/gnrc_tftp.c
    M sys/net/gnrc/application_layer/zep/gnrc_zep.c
    M sys/net/gnrc/conn/ip/gnrc_conn_ip.c
    M sys/net/gnrc/conn/udp/gnrc_conn_udp.c
    M sys/net/gnrc/netreg/gnrc_netreg.c
    M sys/net/gnrc/network_layer/icmpv6/echo/gnrc_icmpv6_echo.c
    M sys/net/gnrc/network_layer/ipv6/hdr/gnrc_ipv6_hdr.c
    M sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c
    M sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c
    M sys/net/gnrc/transport_layer/udp/gnrc_udp.c
    M sys/shell/commands/sc_icmpv6_echo.c
    M tests/unittests/tests-gnrc_ipv6_hdr/tests-gnrc_ipv6_hdr.c

  Log Message:
  -----------
  Merge pull request #5118 from OlegHahm/udp_build_hdr_simplification

gnrc: simplify hdr_build functions


Compare: https://github.com/RIOT-OS/RIOT/compare/9a60fb30b7ee...a65e6aad59de


More information about the commits mailing list