Lines Matching refs:neigh
446 struct neighbour *neigh = NULL; in qedr_addr4_resolve() local
456 neigh = dst_neigh_lookup(&rt->dst, &dst_ip); in qedr_addr4_resolve()
458 if (neigh) { in qedr_addr4_resolve()
460 if (neigh->nud_state & NUD_VALID) { in qedr_addr4_resolve()
461 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr4_resolve()
464 neigh_event_send(neigh, NULL); in qedr_addr4_resolve()
467 neigh_release(neigh); in qedr_addr4_resolve()
480 struct neighbour *neigh = NULL; in qedr_addr6_resolve() local
500 neigh = dst_neigh_lookup(dst, &fl6.daddr); in qedr_addr6_resolve()
501 if (neigh) { in qedr_addr6_resolve()
503 if (neigh->nud_state & NUD_VALID) { in qedr_addr6_resolve()
504 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr6_resolve()
507 neigh_event_send(neigh, NULL); in qedr_addr6_resolve()
510 neigh_release(neigh); in qedr_addr6_resolve()