Lines Matching defs:neigh
620 struct neighbour *neigh;
640 neigh = __ipv6_neigh_lookup_noref(dev, nh_gw);
641 if (neigh) {
642 if (READ_ONCE(neigh->nud_state) & NUD_VALID)
645 write_lock_bh(&neigh->lock);
646 if (!(neigh->nud_state & NUD_VALID) &&
648 neigh->updated +
652 __neigh_set_probe_once(neigh);
654 write_unlock_bh(&neigh->lock);
686 struct neighbour *neigh;
689 neigh = __ipv6_neigh_lookup_noref(fib6_nh->fib_nh_dev,
691 if (neigh) {
692 u8 nud_state = READ_ONCE(neigh->nud_state);
2109 struct neighbour *neigh;
2111 neigh = __ipv6_neigh_lookup_noref(rt->dst.dev, &rt->rt6i_gateway);
2113 if (!(neigh && (neigh->flags & NTF_ROUTER))) {
4121 struct neighbour *neigh;
4189 neigh = __neigh_lookup(&nd_tbl, &msg->target, skb->dev, 1);
4190 if (!neigh)
4197 ndisc_update(skb->dev, neigh, lladdr, NUD_STALE,
4238 nrt->rt6i_gateway = *(struct in6_addr *)neigh->primary_key;
4249 netevent.neigh = neigh;
4254 neigh_release(neigh);