Home
last modified time | relevance | path

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

/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 Dfib_semantics.c634 if ((state & NUD_VALID) && order != dflt) in fib_detect_death()
636 if ((state & NUD_VALID) || in fib_detect_death()
2179 return !!(state & NUD_VALID); in fib_nh_saddr()
H A Dnexthop.c1398 return !!(state & NUD_VALID); in ipv6_good_nh()
1415 return !!(state & NUD_VALID); in ipv4_good_nh()
H A Droute.c822 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in __ip_do_redirect()
/linux/net/bridge/
H A Dbr_arp_nd_proxy.c201 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_proxy_suppress_arp()
478 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_suppress_nd()
/linux/net/core/
H A Dneighbour.c405 if (n->nud_state & NUD_VALID) in neigh_flush_one()
1316 while (neigh->nud_state & NUD_VALID && in neigh_update_process_arp_queue()
1407 if (!(new & NUD_VALID)) { in __neigh_update()
1413 notify = old & NUD_VALID; in __neigh_update()
1432 if ((old & NUD_VALID) && in __neigh_update()
1440 if (!(old & NUD_VALID)) { in __neigh_update()
1458 if (old & NUD_VALID) { in __neigh_update()
1511 if (!(old & NUD_VALID)) in __neigh_update()
2121 if (!(state & NUD_VALID)) { in neigh_add()
2154 if (!(state & NUD_VALID)) { in neigh_add()
[all …]
H A Dfilter.c6491 if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID)) in bpf_ipv4_fib_lookup()
6644 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/sfc/
H A Dtc_encap_actions.c198 neigh->n_valid = n->nud_state & NUD_VALID; in efx_bind_neigh()
552 n_valid = (n->nud_state & NUD_VALID) && !n->dead; in efx_neigh_event()
/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.c76 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.c365 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
754 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit()
1728 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
H A Droute.c683 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe()
687 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
735 if (nud_state & NUD_VALID) in rt6_check_neigh()
H A Dip6_output.c1207 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/rocker/
H A Drocker_ofdpa.c1349 if (n->nud_state & NUD_VALID) in ofdpa_port_ipv4_resolve()
2667 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) | in ofdpa_port_neigh_update()
/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/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/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()
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1804 if (!(n->nud_state & NUD_VALID)) in init_act_open()