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

Martine Lenders notifications at github.com
Tue May 12 13:18:34 CEST 2020

@miri64 commented on this pull request.

> @@ -288,6 +288,19 @@ enum {
+ * @brief   Types for GNRC_NETIF_BUS_NIB per-interface message bus
+ */
+typedef enum {
+    /**
+     * @brief   Address registration successful
+     *
+     * The Address registration with the boarder router was successful.
+     * The node now has a global prefix.
+     */

> Should those then also generate an event?

IMHO yes!

> I'd then add a pointer to the address as message payload so the receiver can check which address just became valid.

I thought this was already the case... as IPv6 allows multiple addresses per interface, this should have been a given. Question is: which pointer? If we just use the one from the interface array, can we be sure the address does not change between the posting of the event and the handling?

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/20200512/35dd2956/attachment.htm>

More information about the notifications mailing list