Home
last modified time | relevance | path

Searched refs:nud_state (Results 1 – 22 of 22) sorted by relevance

/linux/include/trace/events/
H A Dneigh.h85 __field(u8, nud_state)
110 __entry->nud_state = n->nud_state;
141 TP_printk("family %d dev %s lladdr %s flags %02x nud_state %s type %02x "
147 __entry->flags, neigh_state_str(__entry->nud_state),
165 __field(u8, nud_state)
187 __entry->nud_state = n->nud_state;
215 TP_printk("family %d dev %s lladdr %s flags %02x nud_state %s type %02x "
220 __entry->flags, neigh_state_str(__entry->nud_state),
[all...]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c248 unsigned int nud_state; in reuse_entry() local
254 nud_state = neigh->nud_state; in reuse_entry()
256 !(nud_state & NUD_VALID)) in reuse_entry()
258 else if (nud_state & NUD_CONNECTED) in reuse_entry()
389 if (neigh->nud_state & NUD_FAILED) { in t3_l2t_update()
391 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) in t3_l2t_update()
394 e->state = neigh->nud_state & NUD_CONNECTED ? in t3_l2t_update()
/linux/net/core/
H A Dneighbour.c161 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list()
273 if ((n->nud_state == NUD_FAILED) || in neigh_forced_gc()
274 (n->nud_state == NUD_NOARP) || in neigh_forced_gc()
315 n->nud_state); in neigh_add_timer()
322 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
406 if (n->nud_state & NUD_VALID) in neigh_flush_one()
407 n->nud_state = NUD_NOARP; in neigh_flush_one()
409 n->nud_state = NUD_NONE; in neigh_flush_one()
430 (n->nud_state & NUD_PERMANENT || in neigh_flush_dev()
530 n->nud_state in neigh_alloc()
[all...]
H A Dfilter.c6217 if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID)) in bpf_ipv4_fib_lookup()
6359 if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID)) in bpf_ipv6_fib_lookup()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dneigh.c135 u8 nud_state, dead; in mlx5e_rep_neigh_update() local
146 nud_state = n->nud_state; in mlx5e_rep_neigh_update()
151 neigh_connected = (nud_state & NUD_VALID) && !dead; in mlx5e_rep_neigh_update()
/linux/include/net/
H A Dneighbour.h154 u8 nud_state;
479 if (!(READ_ONCE(neigh->nud_state) & (NUD_CONNECTED | NUD_DELAY | NUD_PROBE)))
548 /* n->nud_state and hh->hh_len could be changed under us. in neigh_output()
552 (READ_ONCE(n->nud_state) & NUD_CONNECTED) && in __neigh_lookup()
152 u8 nud_state; global() member
/linux/net/netfilter/
H A Dnf_flow_table_offload.c283 u8 nud_state; in flow_offload_eth_dst() local
301 nud_state = n->nud_state; in flow_offload_eth_dst()
306 if (!(nud_state & NUD_VALID)) in flow_offload_eth_dst()
/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/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/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/net/atm/
H A Dclip.c311 neigh->nud_state = NUD_NONE; in clip_constructor()
/linux/net/ipv6/
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()
729 u8 nud_state = READ_ONCE(neigh->nud_state); in rt6_check_neigh() local
731 if (nud_state & NUD_VALID) in rt6_check_neigh()
734 else if (!(nud_state & NUD_FAILED)) in rt6_check_neigh()
/linux/net/ipv4/
H A Dfib_semantics.c596 state = READ_ONCE(n->nud_state); in fib_detect_death()
2157 state = READ_ONCE(n->nud_state); in fib_good_nh()
H A Droute.c793 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in __ip_do_redirect()
/linux/drivers/infiniband/hw/irdma/
H A Dutils.c282 iwdev->netdev, neigh->nud_state, local_ipaddr, in irdma_net_event()
285 if (neigh->nud_state & NUD_VALID) in irdma_net_event()
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/net/bridge/
H A Dbr_netfilter_hooks.c289 if ((READ_ONCE(neigh->nud_state) & NUD_CONNECTED) && in br_nf_pre_routing_finish_bridge()
/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/mlxsw/
H A Dspectrum_span.c244 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/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()