[riot-notifications] [RIOT] gnrc_ipv6_netif: prepare for router discovery (#3745)

Oleg Hahm notifications at github.com
Tue Sep 1 19:00:31 CEST 2015


> -
> -/**
> - * @brief   Solicitates an advertisement of a neighboring router on this
> - *          interface.
> - *
> - * @param[in] netif The interface.
> - * @param[in] dst   The address of the neighboring router.
> - *                  May be NULL for @ref IPV6_ADDR_ALL_ROUTERS_LINK_LOCAL.
> - */
> -static inline void gnrc_ipv6_netif_sol_router(gnrc_ipv6_netif_t *netif, ipv6_addr_t *dst)
> -{
> -    (void)netif;    /* TODO */
> -    (void)dst;
> -}
> +void gnrc_ipv6_netif_set_rtr_adv(gnrc_ipv6_netif_t *netif, bool enable);
> +#else

Ok, so the choice was an ifdef in the header against multiple in the C files?

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


More information about the notifications mailing list