Lines Matching refs:neigh
621 struct neighbour *neigh;
641 neigh = __ipv6_neigh_lookup_noref(dev, nh_gw);
642 if (neigh) {
643 if (READ_ONCE(neigh->nud_state) & NUD_VALID)
646 write_lock_bh(&neigh->lock);
647 if (!(neigh->nud_state & NUD_VALID) &&
649 neigh->updated +
653 __neigh_set_probe_once(neigh);
655 write_unlock_bh(&neigh->lock);
687 struct neighbour *neigh;
690 neigh = __ipv6_neigh_lookup_noref(fib6_nh->fib_nh_dev,
692 if (neigh) {
693 u8 nud_state = READ_ONCE(neigh->nud_state);
2110 struct neighbour *neigh;
2112 neigh = __ipv6_neigh_lookup_noref(rt->dst.dev, &rt->rt6i_gateway);
2114 if (!(neigh && (neigh->flags & NTF_ROUTER))) {
4122 struct neighbour *neigh;
4190 neigh = __neigh_lookup(&nd_tbl, &msg->target, skb->dev, 1);
4191 if (!neigh)
4198 ndisc_update(skb->dev, neigh, lladdr, NUD_STALE,
4239 nrt->rt6i_gateway = *(struct in6_addr *)neigh->primary_key;
4250 netevent.neigh = neigh;
4255 neigh_release(neigh);