Lines Matching defs:neigh
660 struct neighbour *neigh;
670 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop);
671 if (unlikely(!neigh))
672 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false);
673 if (!IS_ERR(neigh)) {
674 sock_confirm_neigh(skb, neigh);
675 ret = neigh_output(neigh, skb, false);
879 struct neighbour *neigh;
903 neigh = ip_neigh_for_gw(rt, skb, &is_v6gw);
904 if (!IS_ERR(neigh)) {
905 sock_confirm_neigh(skb, neigh);
907 ret = neigh_output(neigh, skb, is_v6gw);