Contiki-NG
rpl-dag.c File Reference

Logic for Directed Acyclic Graphs in RPL. More...

#include "contiki.h"
#include "net/link-stats.h"
#include "net/routing/rpl-classic/rpl.h"
#include "net/routing/rpl-classic/rpl-private.h"
#include "net/routing/rpl-classic/rpl-dag-root.h"
#include "net/ipv6/uip.h"
#include "net/ipv6/uip-nd6.h"
#include "net/ipv6/uip-ds6-nbr.h"
#include "net/nbr-table.h"
#include "net/ipv6/multicast/uip-mcast6.h"
#include "lib/list.h"
#include "lib/memb.h"
#include "sys/ctimer.h"
#include "sys/log.h"
#include <limits.h>
#include <string.h>

Go to the source code of this file.

Functions

void rpl_dag_init (void)
 Initializes rpl-dag module.
 
rpl_instance_trpl_get_default_instance (void)
 Returns pointer to the default instance (for compatibility with legagy RPL code) More...
 
int rpl_has_joined (void)
 Tells whether the node has joined a network or not. More...
 
int rpl_has_downward_route (void)
 Get the RPL's best guess on if we have downward route or not. More...
 
rpl_dag_trpl_get_any_dag (void)
 Returns pointer to any DAG (for compatibility with legagy RPL code) More...
 
void rpl_process_dio (uip_ipaddr_t *from, rpl_dio_t *dio)
 Processes incoming DIO. More...
 

Detailed Description

Logic for Directed Acyclic Graphs in RPL.

Author
Joakim Eriksson joaki.nosp@m.me@s.nosp@m.ics.s.nosp@m.e, Nicolas Tsiftes nvt@s.nosp@m.ics..nosp@m.se Contributors: George Oikonomou oikon.nosp@m.omou.nosp@m.@user.nosp@m.s.so.nosp@m.urcef.nosp@m.orge.nosp@m..net (multicast)

Definition in file rpl-dag.c.