[riot-notifications] [RIOT] ng_rpl: port to the new network stack (#3050)

Cenk Gündoğan notifications at github.com
Fri Jun 5 22:26:21 CEST 2015


> +            return &ng_rpl_instances[i];
> +        }
> +    }
> +    return NULL;
> +}
> +
> +bool ng_rpl_dodag_add(ng_rpl_instance_t *instance, ng_ipv6_addr_t *dodag_id, ng_rpl_dodag_t **dodag)
> +{
> +    if ((instance == NULL) || instance->state == 0) {
> +        DEBUG("Instance is NULL or unused\n");
> +        return NULL;
> +    }
> +
> +    *dodag = NULL;
> +    bool first = true;
> +    for (uint8_t i = 0; i < NG_RPL_DODAGS_NUMOF; ++i) {

.

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


More information about the notifications mailing list