Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/net/ip/
Droute.h53 sys_slist_t nexthop; member
117 struct in6_addr *nexthop,
139 struct in6_addr *nexthop);
154 struct in6_addr *nexthop,
300 struct in6_addr **nexthop);
310 int net_route_packet(struct net_pkt *pkt, struct in6_addr *nexthop);
Droute.c336 struct in6_addr *nexthop, in net_route_add() argument
350 NET_ASSERT(nexthop); in net_route_add()
359 nbr_nexthop = net_ipv6_nbr_lookup(iface, nexthop); in net_route_add()
362 net_sprint_ipv6_addr(nexthop)); in net_route_add()
369 NET_DBG("Nexthop %s lladdr is %s", net_sprint_ipv6_addr(nexthop), in net_route_add()
379 if (nexthop_addr && net_ipv6_addr_cmp(nexthop, nexthop_addr)) { in net_route_add()
458 tmp = nbr_nexthop_get(iface, nexthop); in net_route_add()
464 sys_slist_init(&route->nexthop); in net_route_add()
465 sys_slist_prepend(&route->nexthop, &nexthop_route->node); in net_route_add()
471 net_ipaddr_copy(&info.nexthop, nexthop); in net_route_add()
[all …]
Dipv6_nbr.c721 struct in6_addr *nexthop = NULL; in check_route() local
727 nexthop = net_route_get_nexthop(route); in check_route()
731 nexthop ? net_sprint_ipv6_addr(nexthop) : in check_route()
735 if (!nexthop) { in check_route()
753 nexthop = dst; in check_route()
758 return nexthop; in check_route()
761 nexthop = &router->address.in6_addr; in check_route()
764 net_sprint_ipv6_addr(nexthop)); in check_route()
767 return nexthop; in check_route()
773 struct in6_addr *nexthop = NULL; in net_ipv6_prepare_for_send() local
[all …]
Dipv6.c296 struct in6_addr *nexthop; in ipv6_route_packet() local
302 &route, &nexthop); in ipv6_route_packet()
306 &route, &nexthop); in ipv6_route_packet()
344 ret = net_route_packet(pkt, nexthop); in ipv6_route_packet()
348 pkt, net_sprint_ipv6_addr(nexthop), in ipv6_route_packet()
DKconfig353 This determines how many entries can be stored in nexthop table.
Dnet_shell.c763 SYS_SLIST_FOR_EACH_CONTAINER(&entry->nexthop, nexthop_route, node) { in route_cb()
/Zephyr-Core-3.5.0/tests/net/route/src/
Dmain.c421 struct in6_addr *nexthop; in test_route_get_nexthop() local
423 nexthop = net_route_get_nexthop(route_entry); in test_route_get_nexthop()
425 zassert_not_null(nexthop, "Route get nexthop failed"); in test_route_get_nexthop()
427 zassert_true(net_ipv6_addr_cmp(nexthop, &peer_addr), in test_route_get_nexthop()
451 struct in6_addr *nexthop = &peer_addr; in test_route_del_nexthop() local
454 ret = net_route_del_by_nexthop(my_iface, nexthop); in test_route_del_nexthop()
460 struct in6_addr *nexthop = &peer_addr; in test_route_del_nexthop_again() local
463 ret = net_route_del_by_nexthop(my_iface, nexthop); in test_route_del_nexthop_again()
/Zephyr-Core-3.5.0/include/zephyr/net/
Dnet_event.h266 struct in6_addr nexthop; member
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-2.4.rst653 * Fixed IPv6 routes when nexthop is link local address of the connected peer.