Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c306 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()
574 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv6()
678 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_update_header_ipv6()
/openbmc/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()
1108 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1148 if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) { in arp_invalidate()
H A Dfib_semantics.c574 if ((state & NUD_VALID) && order != dflt) in fib_detect_death()
576 if ((state & NUD_VALID) || in fib_detect_death()
2217 return !!(state & NUD_VALID); in fib_good_nh()
H A Dnexthop.c1136 return !!(state & NUD_VALID); in ipv6_good_nh()
1153 return !!(state & NUD_VALID); in ipv4_good_nh()
/openbmc/linux/drivers/infiniband/core/
H A Daddr.c337 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
859 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/openbmc/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()
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dqedr_iw_cm.c460 if (neigh->nud_state & NUD_VALID) { in qedr_addr4_resolve()
503 if (neigh->nud_state & NUD_VALID) { in qedr_addr6_resolve()
/openbmc/linux/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()
/openbmc/linux/net/core/
H A Dneighbour.c422 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
1332 if (!(new & NUD_VALID)) { in __neigh_update()
1338 notify = old & NUD_VALID; in __neigh_update()
1357 if ((old & NUD_VALID) && in __neigh_update()
1365 if (!(old & NUD_VALID)) { in __neigh_update()
1383 if (old & NUD_VALID) { in __neigh_update()
1435 if (!(old & NUD_VALID)) { in __neigh_update()
1440 while (neigh->nud_state & NUD_VALID && in __neigh_update()
2591 if (neigh->nud_state & NUD_VALID) { in neigh_fill_info()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c293 !(nud_state & NUD_VALID)) in reuse_entry()
/openbmc/linux/net/netfilter/
H A Dnft_flow_offload.c72 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()
/openbmc/linux/include/net/
H A Dneighbour.h38 #define NUD_VALID (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE|NUD_PROBE|NUD_STALE|NUD_DELAY) macro
/openbmc/linux/net/ipv6/
H A Dndisc.c368 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
751 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit()
1736 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
H A Dip6_output.c1173 err = n && !(READ_ONCE(n->nud_state) & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
H A Droute.c645 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe()
649 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
696 if (nud_state & NUD_VALID) in rt6_check_neigh()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c406 !(nud_state & NUD_VALID)) in reuse_entry()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c843 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID)) in mlx5e_ipsec_netevent_event()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.c244 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dcm.c1998 if (neigh->nud_state & NUD_VALID) in irdma_addr_resolve_neigh()
2074 if (neigh->nud_state & NUD_VALID) in irdma_addr_resolve_neigh_ipv6()
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c916 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()

12