Add a neighbor table entry if a DAO is received from a node where we don't yet have a neighbor table entry.

This commit is contained in:
Adam Dunkels 2013-11-20 14:09:11 +01:00
parent 490791eaa4
commit 4e6fe7dda6
3 changed files with 46 additions and 2 deletions

View file

@ -304,6 +304,9 @@ uip_ds6_route_t *rpl_add_route(rpl_dag_t *dag, uip_ipaddr_t *prefix,
int prefix_len, uip_ipaddr_t *next_hop);
void rpl_purge_routes(void);
/* Lock a parent in the neighbor cache. */
void rpl_lock_parent(rpl_parent_t *p);
/* Objective function. */
rpl_of_t *rpl_find_of(rpl_ocp_t);