[riot-notifications] [RIOT-OS/RIOT] gnrc/nib: add NIB event bus (#14022)
notifications at github.com
Tue May 12 18:29:39 CEST 2020
@miri64 commented on this pull request.
> @@ -828,6 +828,24 @@ static inline void _evtimer_add(void *ctx, int16_t type,
evtimer_add_msg(&_nib_evtimer, event, target_pid);
+ * @brief Posts a message to the NIB bus of the interface
+ * @param[in] netif Pointer to the interface
+ * @param[in] type [Type of the event](@ref gnrc_ipv6_nib_event_t)
+ * @param[in] ctx The context of the event
+static inline void _nib_bus_post(gnrc_netif_t *netif, int type, const void *ctx)
+ msg_bus_post(&netif->bus[GNRC_NETIF_BUS_NIB], type, ctx);
Why is this a NIB bus btw? Last time I looked, the addresses are assigned to the `netif`, and except for the address validation being implemented in the NIB, there is no connection to the NIB now.
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...
More information about the notifications