[riot-commits] [RIOT-OS/RIOT] 9fbab8: drivers/slipdev: report NETOPT_ADDRESS to simulate...

Martine Lenders noreply at github.com
Tue Jun 22 20:15:51 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 9fbab8f0f801779a98064c9cde8258438735b3d4
      https://github.com/RIOT-OS/RIOT/commit/9fbab8f0f801779a98064c9cde8258438735b3d4
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M drivers/slipdev/Makefile.dep
    M drivers/slipdev/slipdev.c
    M makefiles/pseudomodules.inc.mk
    M sys/include/net/gnrc/netif/conf.h
    M sys/net/gnrc/netif/gnrc_netif.c
    M sys/net/gnrc/netif/gnrc_netif_device_type.c
    M sys/net/link_layer/l2util/l2util.c

  Log Message:
  -----------
  drivers/slipdev: report NETOPT_ADDRESS to simulate l2 address

A lot of things break if `GNRC_NETIF_FLAGS_HAS_L2ADDR` is not set.
In order to handle router advertisements and auto-configureation,
generate a faux l2 address based on the netdev ID.


  Commit: c1eead925d5729bf4e4422e47e954a09089ae632
      https://github.com/RIOT-OS/RIOT/commit/c1eead925d5729bf4e4422e47e954a09089ae632
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M drivers/include/net/netdev.h
    M drivers/include/slipdev.h
    M drivers/slipdev/Makefile.dep
    M drivers/slipdev/slipdev.c
    M sys/net/gnrc/netif/init_devs/auto_init_slipdev.c

  Log Message:
  -----------
  drivers/slipdev: register with netdev


  Commit: 270ea83c0f0c710728580db39deb6bbaf76aac21
      https://github.com/RIOT-OS/RIOT/commit/270ea83c0f0c710728580db39deb6bbaf76aac21
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M drivers/include/net/netdev.h
    M drivers/include/slipdev.h
    M drivers/slipdev/Makefile.dep
    M drivers/slipdev/slipdev.c
    M makefiles/pseudomodules.inc.mk
    M sys/include/net/gnrc/netif/conf.h
    M sys/net/gnrc/netif/gnrc_netif.c
    M sys/net/gnrc/netif/gnrc_netif_device_type.c
    M sys/net/gnrc/netif/init_devs/auto_init_slipdev.c
    M sys/net/link_layer/l2util/l2util.c

  Log Message:
  -----------
  Merge pull request #16531 from benpicco/drivers/slipdev-l2

drivers/slipdev: report NETOPT_ADDRESS to simulate l2 address


Compare: https://github.com/RIOT-OS/RIOT/compare/20a04f04124d...270ea83c0f0c


More information about the commits mailing list