[riot-notifications] [RIOT-OS/RIOT] gnrc/nib: add NIB event bus (#14022)

benpicco notifications at github.com
Tue May 12 21:39:04 CEST 2020


@benpicco commented on this pull request.



> @@ -660,6 +665,8 @@ int gnrc_netif_ipv6_addr_add_internal(gnrc_netif_t *netif,
             gnrc_ipv6_nib_pl_set(netif->pid, addr, pfx_len,
                                  UINT32_MAX, UINT32_MAX);
         }
+
+        _nib_bus_post(netif, GNRC_IPV6_NIB_EVENT_ADDR_VALID, &netif->ipv6.addrs[idx]);

arg I would have almost gotten away with keeping this inside an internal header if I had restricted it's use to stuff inside `nib/`.

So should I create a new internal header for this or move it to a global one?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14022#discussion_r423986436
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/ee42b4be/attachment.htm>


More information about the notifications mailing list