[riot-commits] [RIOT-OS/RIOT] c3fe88: gnrc_netif_hdr: add setter for netif

Martine Lenders noreply at github.com
Thu Jul 25 14:49:56 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c3fe882cfe4aae7353fb49ddd44fcc0c890fd2ff
      https://github.com/RIOT-OS/RIOT/commit/c3fe882cfe4aae7353fb49ddd44fcc0c890fd2ff
  Author: Martine S. Lenders <m.lenders at fu-berlin.de>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M sys/include/net/gnrc/netif/hdr.h

  Log Message:
  -----------
  gnrc_netif_hdr: add setter for netif

This eases the refactoring to a pointer-based approach for network
interfaces.


  Commit: 006f10c2afbb04de447aff9e1e637debc6c094f3
      https://github.com/RIOT-OS/RIOT/commit/006f10c2afbb04de447aff9e1e637debc6c094f3
  Author: Martine S. Lenders <m.lenders at fu-berlin.de>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c

  Log Message:
  -----------
  gnrc_netif_ethernet: use gnrc_netif_hdr_set_netif()


  Commit: b8b1e4c0fb66b25fa1b610bd9ecf3768e4bb41cd
      https://github.com/RIOT-OS/RIOT/commit/b8b1e4c0fb66b25fa1b610bd9ecf3768e4bb41cd
  Author: Martine S. Lenders <m.lenders at fu-berlin.de>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M tests/gnrc_netif/tests/01-run.py

  Log Message:
  -----------
  tests/gnrc_netif: check if if_pid is set correctly in header

Previously this was not tested and excepted KERNEL_PID_UNDEF == 0 as
legal value for received `gnrc_netif_hdr`s (which except for the
loopback interface is wrong)


  Commit: 716cbe3f344c80fc63bde2e36382fe48743110c6
      https://github.com/RIOT-OS/RIOT/commit/716cbe3f344c80fc63bde2e36382fe48743110c6
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M sys/include/net/gnrc/netif/hdr.h
    M sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c
    M tests/gnrc_netif/tests/01-run.py

  Log Message:
  -----------
  Merge pull request #11912 from miri64/gnrc_netif_hdr/enh/netif_setter2

 gnrc_netif_hdr: add setter for netif (minimal approach)


Compare: https://github.com/RIOT-OS/RIOT/compare/2261aa91156c...716cbe3f344c


More information about the commits mailing list