Adding uip_ds6_defrt_head()

This commit is contained in:
Laurent Deru 2017-01-13 14:42:08 +01:00
parent c1f11cfaa9
commit 63ac4d2a3d
2 changed files with 7 additions and 0 deletions

View file

@ -573,6 +573,12 @@ uip_ds6_route_rm_by_nexthop(uip_ipaddr_t *nexthop)
}
/*---------------------------------------------------------------------------*/
uip_ds6_defrt_t *
uip_ds6_defrt_head(void)
{
return list_head(defaultrouterlist);
}
/*---------------------------------------------------------------------------*/
uip_ds6_defrt_t *
uip_ds6_defrt_add(uip_ipaddr_t *ipaddr, unsigned long interval)
{
uip_ds6_defrt_t *d;