Home
last modified time | relevance | path

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

12

/linux-6.15/net/bridge/
H A Dbr_arp_nd_proxy.c195 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_proxy_suppress_arp()
455 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_suppress_nd()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c304 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv4()
410 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_update_header_ipv4()
574 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv6()
679 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_update_header_ipv6()
/linux-6.15/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()
1156 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1209 if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) { in arp_invalidate()
H A Dfib_semantics.c603 if ((state & NUD_VALID) && order != dflt) in fib_detect_death()
605 if ((state & NUD_VALID) || in fib_detect_death()
2168 return !!(state & NUD_VALID); in fib_good_nh()
H A Dnexthop.c1379 return !!(state & NUD_VALID); in ipv6_good_nh()
1396 return !!(state & NUD_VALID); in ipv4_good_nh()
/linux-6.15/drivers/infiniband/core/
H A Daddr.c337 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
853 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/linux-6.15/net/core/
H A Dneighbour.c402 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
1281 if (!(new & NUD_VALID)) { in __neigh_update()
1287 notify = old & NUD_VALID; in __neigh_update()
1306 if ((old & NUD_VALID) && in __neigh_update()
1314 if (!(old & NUD_VALID)) { in __neigh_update()
1332 if (old & NUD_VALID) { in __neigh_update()
1384 if (!(old & NUD_VALID)) { in __neigh_update()
1389 while (neigh->nud_state & NUD_VALID && in __neigh_update()
2542 if (neigh->nud_state & NUD_VALID) { in neigh_fill_info()
/linux-6.15/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-6.15/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-6.15/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c197 neigh->n_valid = n->nud_state & NUD_VALID; in efx_bind_neigh()
551 n_valid = (n->nud_state & NUD_VALID) && !n->dead; in efx_neigh_event()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c293 !(nud_state & NUD_VALID)) in reuse_entry()
/linux-6.15/net/ipv6/
H A Dndisc.c368 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
753 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit()
1752 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
H A Dip6_output.c1175 err = n && !(READ_ONCE(n->nud_state) & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
H A Droute.c680 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe()
684 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
732 if (nud_state & NUD_VALID) in rt6_check_neigh()
/linux-6.15/include/net/
H A Dneighbour.h39 #define NUD_VALID (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE|NUD_PROBE|NUD_STALE|NUD_DELAY) macro
/linux-6.15/net/netfilter/
H A Dnft_flow_offload.c73 if (!(nud_state & NUD_VALID)) in nft_dev_fill_forward_path()
H A Dnf_flow_table_offload.c306 if (!(nud_state & NUD_VALID)) in flow_offload_eth_dst()
/linux-6.15/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-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c406 !(nud_state & NUD_VALID)) in reuse_entry()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c862 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID)) in mlx5e_ipsec_netevent_event()
/linux-6.15/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-6.15/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-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.c244 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/linux-6.15/drivers/infiniband/hw/irdma/
H A Dcm.c1999 if (neigh->nud_state & NUD_VALID) in irdma_addr_resolve_neigh()
2075 if (neigh->nud_state & NUD_VALID) in irdma_addr_resolve_neigh_ipv6()
/linux-6.15/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c916 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()

12