Home
last modified time | relevance | path

Searched refs:NUD_VALID (Results 1 – 23 of 23) sorted by relevance

/linux/net/bridge/
H A Dbr_arp_nd_proxy.c197 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_proxy_suppress_arp()
466 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_suppress_nd()
/linux/net/ipv4/
H A Darp.c286 if (neigh->nud_state & NUD_VALID) in arp_constructor()
378 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) in arp_solicit()
1159 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1212 if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) { in arp_invalidate()
H A Dnexthop.c1391 return !!(state & NUD_VALID); in ipv6_good_nh()
1408 return !!(state & NUD_VALID); in ipv4_good_nh()
H A Droute.c793 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in __ip_do_redirect()
/linux/net/core/
H A Dneighbour.c405 if (n->nud_state & NUD_VALID) in neigh_flush_one()
1319 while (neigh->nud_state & NUD_VALID && in neigh_update_process_arp_queue()
1410 if (!(new & NUD_VALID)) { in __neigh_update()
1416 notify = old & NUD_VALID; in __neigh_update()
1435 if ((old & NUD_VALID) && in __neigh_update()
1443 if (!(old & NUD_VALID)) { in __neigh_update()
1461 if (old & NUD_VALID) { in __neigh_update()
1514 if (!(old & NUD_VALID)) in __neigh_update()
2128 if (!(state & NUD_VALID)) { in neigh_add()
2161 if (!(state & NUD_VALID)) { in neigh_add()
[all …]
H A Dfilter.c6262 if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID)) in bpf_ipv4_fib_lookup()
6401 if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID)) in bpf_ipv6_fib_lookup()
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_iw_cm.c461 if (neigh->nud_state & NUD_VALID) { in qedr_addr4_resolve()
504 if (neigh->nud_state & NUD_VALID) { in qedr_addr6_resolve()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c256 !(nud_state & NUD_VALID)) in reuse_entry()
/linux/net/netfilter/
H A Dnf_flow_table_path.c69 if (!(nud_state & NUD_VALID)) in nft_dev_fill_forward_path()
H A Dnf_flow_table_offload.c321 if (!(nud_state & NUD_VALID)) in flow_offload_eth_dst()
/linux/net/ipv6/
H A Dndisc.c364 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
753 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit()
1725 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
H A Droute.c679 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe()
683 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
731 if (nud_state & NUD_VALID) in rt6_check_neigh()
H A Dip6_output.c1205 err = n && !(READ_ONCE(n->nud_state) & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
/linux/include/net/
H A Dneighbour.h39 #define NUD_VALID (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE|NUD_PROBE|NUD_STALE|NUD_DELAY) macro
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c406 !(nud_state & NUD_VALID)) in reuse_entry()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c798 if (n->nud_state & NUD_VALID && !n->dead) { in __prestera_k_arb_nc_kern_n_fetch()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c954 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID)) in mlx5e_ipsec_netevent_event()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.c244 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
H A Dspectrum_router.c2795 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
4329 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
4447 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
/linux/drivers/infiniband/hw/irdma/
H A Dcm.c2000 if (neigh->nud_state & NUD_VALID) in irdma_addr_resolve_neigh()
2076 if (neigh->nud_state & NUD_VALID) in irdma_addr_resolve_neigh_ipv6()
H A Dutils.c285 if (neigh->nud_state & NUD_VALID) in irdma_net_event()
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c916 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1804 if (!(n->nud_state & NUD_VALID)) in init_act_open()