Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c305 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv4()
411 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_update_header_ipv4()
575 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv6()
680 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_update_header_ipv6()
/linux/net/bridge/
H A Dbr_arp_nd_proxy.c198 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.c287 if (neigh->nud_state & NUD_VALID) in arp_constructor()
379 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) in arp_solicit()
1160 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1213 if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) { in arp_invalidate()
H A Dfib_semantics.c602 if ((state & NUD_VALID) && order != dflt) in fib_detect_death()
604 if ((state & NUD_VALID) || in fib_detect_death()
2161 return !!(state & NUD_VALID); in fib_good_nh()
H A Dnexthop.c1376 return !!(state & NUD_VALID); in ipv6_good_nh()
1393 return !!(state & NUD_VALID); in ipv4_good_nh()
/linux/net/core/
H A Dneighbour.c405 if (n->nud_state & NUD_VALID) in neigh_flush_one()
1320 while (neigh->nud_state & NUD_VALID && in neigh_update_process_arp_queue()
1411 if (!(new & NUD_VALID)) { in __neigh_update()
1417 notify = old & NUD_VALID; in __neigh_update()
1436 if ((old & NUD_VALID) && in __neigh_update()
1444 if (!(old & NUD_VALID)) { in __neigh_update()
1462 if (old & NUD_VALID) { in __neigh_update()
1515 if (!(old & NUD_VALID)) in __neigh_update()
2129 if (!(state & NUD_VALID)) { in neigh_add()
2162 if (!(state & NUD_VALID)) { in neigh_add()
[all …]
/linux/drivers/infiniband/core/
H A Daddr.c324 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
835 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/linux/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c199 neigh->n_valid = n->nud_state & NUD_VALID; in efx_bind_neigh()
553 n_valid = (n->nud_state & NUD_VALID) && !n->dead; in efx_neigh_event()
/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/mellanox/mlx5/core/en/rep/
H A Dneigh.c151 neigh_connected = (nud_state & NUD_VALID) && !dead; in mlx5e_rep_neigh_update()
/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.c320 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()
752 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit()
1724 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.c1175 err = n && !(READ_ONCE(n->nud_state) & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c470 bool neigh_invalid = !(neigh->nud_state & NUD_VALID) || neigh->dead; in nfp_tun_write_neigh()
645 neigh_invalid = !(n->nud_state & NUD_VALID) || n->dead; in nfp_tun_neigh_update()
/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/rocker/
H A Drocker_ofdpa.c1366 if (n->nud_state & NUD_VALID) in ofdpa_port_ipv4_resolve()
2681 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) | in ofdpa_port_neigh_update()
/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()
/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()
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c916 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()

12