Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/shell/
Droute.c21 struct net_route_nexthop *nexthop_route; in route_cb() local
34 SYS_SLIST_FOR_EACH_CONTAINER(&entry->nexthop, nexthop_route, node) { in route_cb()
39 if (!nexthop_route->nbr) { in route_cb()
43 PR("\tneighbor : %p\t", nexthop_route->nbr); in route_cb()
45 if (nexthop_route->nbr->idx == NET_NBR_LLADDR_UNKNOWN) { in route_cb()
48 lladdr = net_nbr_get_lladdr(nexthop_route->nbr->idx); in route_cb()
/Zephyr-latest/subsys/net/ip/
Droute.c333 struct net_route_nexthop *nexthop_route; in net_route_add() local
439 nexthop_route = net_nexthop_data(tmp); in net_route_add()
453 nexthop_route->nbr = tmp; in net_route_add()
456 sys_slist_prepend(&route->nexthop, &nexthop_route->node); in net_route_add()
556 struct net_route_nexthop *nexthop_route; in net_route_del() local
599 SYS_SLIST_FOR_EACH_CONTAINER(&route->nexthop, nexthop_route, node) { in net_route_del()
600 if (!nexthop_route->nbr) { in net_route_del()
604 nbr_nexthop_put(nexthop_route->nbr); in net_route_del()
605 release_nexthop_route(nexthop_route); in net_route_del()
618 struct net_route_nexthop *nexthop_route; in net_route_del_by_nexthop() local
[all …]