Home
last modified time | relevance | path

Searched refs:router_index (Results 1 – 1 of 1) sorted by relevance

/btstack/3rd-party/lwip/core/src/core/ipv6/
H A Dnd6.c1823 s8_t router_index; in nd6_new_router() local
1851 for (router_index = LWIP_ND6_NUM_ROUTERS - 1; router_index >= 0; router_index--) { in nd6_new_router()
1854 if(default_router_list[router_index].neighbor_entry == &(neighbor_cache[neighbor_index])){ in nd6_new_router()
1855 return router_index; in nd6_new_router()
1857 if (default_router_list[router_index].neighbor_entry == NULL) { in nd6_new_router()
1859 free_router_index = router_index; in nd6_new_router()
2388 s8_t router_index; in nd6_cleanup_netif() local
2396 for (router_index = 0; router_index < LWIP_ND6_NUM_ROUTERS; router_index++) { in nd6_cleanup_netif()
2397 if (default_router_list[router_index].neighbor_entry == &neighbor_cache[i]) { in nd6_cleanup_netif()
2398 default_router_list[router_index].neighbor_entry = NULL; in nd6_cleanup_netif()
[all …]