Home
last modified time | relevance | path

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

/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv6/
A Dnd6.c1455 s8_t router_index; in nd6_new_router() local
1486 for (router_index = 0; router_index < LWIP_ND6_NUM_ROUTERS; router_index++) { in nd6_new_router()
1487 if (default_router_list[router_index].neighbor_entry == NULL) { in nd6_new_router()
1488 default_router_list[router_index].neighbor_entry = &(neighbor_cache[neighbor_index]); in nd6_new_router()
1489 return router_index; in nd6_new_router()
1943 s8_t router_index; in nd6_cleanup_netif() local
1952 for (router_index = 0; router_index < LWIP_ND6_NUM_ROUTERS; router_index++) { in nd6_cleanup_netif()
1953 if (default_router_list[router_index].neighbor_entry == &neighbor_cache[i]) { in nd6_cleanup_netif()
1954 default_router_list[router_index].neighbor_entry = NULL; in nd6_cleanup_netif()
1955 default_router_list[router_index].flags = 0; in nd6_cleanup_netif()

Completed in 7 milliseconds