Lines Matching defs:neigh
647 struct neighbour *neigh;
657 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop);
658 if (unlikely(!neigh))
659 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false);
660 if (!IS_ERR(neigh)) {
661 sock_confirm_neigh(skb, neigh);
662 ret = neigh_output(neigh, skb, false);
866 struct neighbour *neigh;
882 neigh = ip_neigh_for_gw(rt, skb, &is_v6gw);
883 if (!IS_ERR(neigh)) {
886 sock_confirm_neigh(skb, neigh);
888 ret = neigh_output(neigh, skb, is_v6gw);