replaced add/remove ds6-nbr with an nbr-module controlled update of lladdress to avoid loss of other state information

This commit is contained in:
Joakim Eriksson 2015-11-26 20:26:10 +01:00
parent 2e852f758b
commit e9e31e9fd1
3 changed files with 104 additions and 43 deletions

View file

@ -109,6 +109,7 @@ int nbr_table_unlock(nbr_table_t *table, nbr_table_item_t *item);
/** \name Neighbor tables: address manipulation */
/** @{ */
linkaddr_t *nbr_table_get_lladdr(nbr_table_t *table, const nbr_table_item_t *item);
int nbr_table_update_lladdr(const linkaddr_t *old_addr, const linkaddr_t *new_addr, int remove_if_duplicate);
/** @} */
#endif /* NBR_TABLE_H_ */