[riot-notifications] [RIOT] aodvv2: add routes to FIB (#2985)

Lotte Steenbrink notifications at github.com
Tue Jun 23 23:00:15 CEST 2015


> +    /* choose addresses */
> +    ipv6_addr_init(&myaddr, 0x2015, 0x3, 0x18, 0x1111, 0x0, 0x0, 0x0, aodvv2_iface_id);
> +
> +    /* and set it */
> +    ipv6_net_if_add_addr(AODVV2_IFACE, &myaddr, NDP_ADDR_STATE_PREFERRED, 0, 0, 0);
> +
> +    return 0;
> +}
> +
> +/**
> +* @brief init data that needs to be globally known
> +*/
> +static void aodvv2_init_testdata(void)
> +{
> +    volatile int i; /* make clang stfu */
> +    i = netaddr_from_string(&aodvv2_test_origaddr, "::10");

You mean just to make sure? That makes sense...

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


More information about the notifications mailing list