Lines Matching refs:nexthop
721 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
846 nexthop = (struct in6_addr *)ip_hdr->dst; in net_ipv6_prepare_for_send()
854 nexthop = check_route(NULL, (struct in6_addr *)ip_hdr->dst, in net_ipv6_prepare_for_send()
856 if (!nexthop) { in net_ipv6_prepare_for_send()
869 if (net_if_ipv6_addr_onlink(&iface, nexthop)) { in net_ipv6_prepare_for_send()
875 nbr = net_ipv6_nbr_lookup(NULL, nexthop); in net_ipv6_prepare_for_send()
890 nbr = nbr_lookup(&net_neighbor.table, iface, nexthop); in net_ipv6_prepare_for_send()
895 net_sprint_ipv6_addr(nexthop), in net_ipv6_prepare_for_send()
927 (struct in6_addr *)ip_hdr->src, NULL, nexthop, in net_ipv6_prepare_for_send()
1111 struct in6_addr *nexthop, in ns_routing_info() argument
1118 net_sprint_ipv6_addr(nexthop)); in ns_routing_info()
1120 if (net_ipv6_addr_cmp(nexthop, tgt)) { in ns_routing_info()
1243 struct in6_addr *nexthop; in handle_ns_input() local
1245 nexthop = check_route(NULL, in handle_ns_input()
1248 if (nexthop) { in handle_ns_input()
1249 ns_routing_info(pkt, nexthop, in handle_ns_input()