[riot-notifications] [RIOT-OS/RIOT] gnrc/netif: add gnrc_netif_ipv6_wait_for_global_address() (#16824)

benpicco notifications at github.com
Thu Sep 16 14:40:45 CEST 2021

@benpicco commented on this pull request.

> +static void _netif_bus_attach_and_subscribe(gnrc_netif_t *netif, msg_bus_entry_t *sub)
+    msg_bus_t *bus = gnrc_netif_get_bus(netif, GNRC_NETIF_BUS_IPV6);
+    msg_bus_attach(bus, sub);
+    msg_bus_subscribe(sub, GNRC_IPV6_EVENT_ADDR_VALID);

less code on the caller's side and there is only a single event type implemented currently. 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210916/9121e216/attachment.htm>

More information about the notifications mailing list