[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: handle route information option (#16568)

benpicco notifications at github.com
Thu Jul 8 17:38:07 CEST 2021


@benpicco commented on this pull request.



> @@ -441,6 +441,20 @@ void gnrc_ipv6_nib_change_rtr_adv_iface(gnrc_netif_t *netif, bool enable)
     }
     gnrc_netif_release(netif);
 }
+
+void gnrc_ipv6_nib_change_rtr_adv_rio_iface(gnrc_netif_t *netif, bool enable)
+{
+    gnrc_netif_acquire(netif);
+    if (enable) {
+        netif->flags |= GNRC_NETIF_FLAGS_IPV6_RTR_ADV_RIO;
+    }
+    else {
+        netif->flags &= ~GNRC_NETIF_FLAGS_IPV6_RTR_ADV_RIO;
+    }
+    gnrc_netif_release(netif);

Ok

-- 
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/16568#discussion_r666308070
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210708/759e4aee/attachment.htm>


More information about the notifications mailing list