[riot-notifications] [RIOT] gnrc_ndp_router: Initial import of router behavior of router discovery (#3049)

Oleg Hahm notifications at github.com
Wed Sep 2 21:09:07 CEST 2015


> +    _send_rtr_adv(iface, NULL);
> +}
> +
> +void gnrc_ndp_router_send_rtr_adv(gnrc_ipv6_nc_t *neighbor)
> +{
> +    gnrc_ipv6_netif_t *iface = gnrc_ipv6_netif_get(neighbor->iface);
> +    assert(iface != NULL);
> +    _send_rtr_adv(iface, &neighbor->ipv6_addr);
> +}
> +
> +static void _send_rtr_adv(gnrc_ipv6_netif_t *iface, ipv6_addr_t *dst)
> +{
> +    bool fin;
> +    uint32_t interval;
> +    assert(iface != NULL);
> +    mutex_lock(&iface->mutex);

the assert

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3049/files#r38571583
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150902/11eb6a9c/attachment-0001.html>


More information about the notifications mailing list