Home
last modified time | relevance | path

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

12

/Linux-v6.6/include/trace/events/
Dneigh.h85 __field(u8, nud_state)
110 __entry->nud_state = n->nud_state;
147 __entry->flags, neigh_state_str(__entry->nud_state),
165 __field(u8, nud_state)
187 __entry->nud_state = n->nud_state;
220 __entry->flags, neigh_state_str(__entry->nud_state),
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c285 unsigned int nud_state; in reuse_entry() local
291 nud_state = neigh->nud_state; in reuse_entry()
293 !(nud_state & NUD_VALID)) in reuse_entry()
295 else if (nud_state & NUD_CONNECTED) in reuse_entry()
426 if (neigh->nud_state & NUD_FAILED) { in t3_l2t_update()
428 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) in t3_l2t_update()
431 e->state = neigh->nud_state & NUD_CONNECTED ? in t3_l2t_update()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c235 u8 nud_state; in mlx5e_tc_tun_create_header_ipv4() local
281 nud_state = attr.n->nud_state; in mlx5e_tc_tun_create_header_ipv4()
306 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv4()
350 u8 nud_state; in mlx5e_tc_tun_update_header_ipv4() local
384 nud_state = attr.n->nud_state; in mlx5e_tc_tun_update_header_ipv4()
411 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_update_header_ipv4()
505 u8 nud_state; in mlx5e_tc_tun_create_header_ipv6() local
550 nud_state = attr.n->nud_state; in mlx5e_tc_tun_create_header_ipv6()
574 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv6()
618 u8 nud_state; in mlx5e_tc_tun_update_header_ipv6() local
[all …]
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c205 e->state = (e->neigh->nud_state & NUD_STALE) ? in do_l2t_write_rpl()
399 unsigned int nud_state; in reuse_entry() local
404 nud_state = neigh->nud_state; in reuse_entry()
406 !(nud_state & NUD_VALID)) in reuse_entry()
408 else if (nud_state & NUD_CONNECTED) in reuse_entry()
538 if (neigh->nud_state & NUD_FAILED) { in t4_l2t_update()
540 } else if ((neigh->nud_state & (NUD_CONNECTED | NUD_STALE)) && in t4_l2t_update()
545 e->state = neigh->nud_state & NUD_CONNECTED ? in t4_l2t_update()
/Linux-v6.6/net/core/
Dneighbour.c141 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list()
269 if ((n->nud_state == NUD_FAILED) || in neigh_forced_gc()
270 (n->nud_state == NUD_NOARP) || in neigh_forced_gc()
306 n->nud_state); in neigh_add_timer()
313 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
392 if (skip_perm && n->nud_state & NUD_PERMANENT) { in neigh_flush_dev()
415 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
416 n->nud_state = NUD_NOARP; in neigh_flush_dev()
418 n->nud_state = NUD_NONE; in neigh_flush_dev()
495 n->nud_state = NUD_NONE; in neigh_alloc()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
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-v6.6/net/ipv4/
Darp.c250 neigh->nud_state = NUD_NOARP; in arp_constructor()
270 neigh->nud_state = NUD_NOARP; in arp_constructor()
273 neigh->nud_state = NUD_NOARP; in arp_constructor()
277 neigh->nud_state = NUD_NOARP; in arp_constructor()
286 if (neigh->nud_state & NUD_VALID) in arp_constructor()
378 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) in arp_solicit()
1106 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1108 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1126 if (!(READ_ONCE(neigh->nud_state) & NUD_NOARP)) { in arp_req_get()
1147 if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) { in arp_invalidate()
[all …]
Dfib_semantics.c567 state = READ_ONCE(n->nud_state); in fib_detect_death()
2213 state = READ_ONCE(n->nud_state); in fib_good_nh()
/Linux-v6.6/net/netfilter/
Dnft_flow_offload.c57 u8 nud_state; in nft_dev_fill_forward_path() local
67 nud_state = n->nud_state; in nft_dev_fill_forward_path()
72 if (!(nud_state & NUD_VALID)) in nft_dev_fill_forward_path()
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-v6.6/include/net/
Dneighbour.h150 u8 nud_state; member
465 if (!(READ_ONCE(neigh->nud_state) & (NUD_CONNECTED | NUD_DELAY | NUD_PROBE))) in neigh_event_send_probe()
538 (READ_ONCE(n->nud_state) & NUD_CONNECTED) && in neigh_output()
/Linux-v6.6/net/ipv6/
Dndisc.c346 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
351 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
354 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
359 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
366 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
749 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit()
1094 if (READ_ONCE(neigh->nud_state) & NUD_FAILED) in ndisc_recv_na()
1734 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c642 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe()
646 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
691 u8 nud_state = READ_ONCE(neigh->nud_state); in rt6_check_neigh() local
693 if (nud_state & NUD_VALID) in rt6_check_neigh()
696 else if (!(nud_state & NUD_FAILED)) in rt6_check_neigh()
/Linux-v6.6/net/bridge/
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()
Dbr_netfilter_hooks.c280 if ((READ_ONCE(neigh->nud_state) & NUD_CONNECTED) && in br_nf_pre_routing_finish_bridge()
/Linux-v6.6/drivers/infiniband/core/
Daddr.c337 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
859 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/Linux-v6.6/drivers/infiniband/hw/qedr/
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()
/Linux-v6.6/drivers/net/ethernet/sfc/
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-v6.6/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c458 bool neigh_invalid = !(neigh->nud_state & NUD_VALID) || neigh->dead; in nfp_tun_write_neigh()
633 neigh_invalid = !(n->nud_state & NUD_VALID) || n->dead; in nfp_tun_neigh_event_handler()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2778 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2786 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2793 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
4181 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local
4203 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace()
4206 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
4279 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
4320 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
4323 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
/Linux-v6.6/net/atm/
Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c809 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID)) in mlx5e_ipsec_netevent_event()
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dutils.c281 iwdev->netdev, neigh->nud_state, local_ipaddr, in irdma_net_event()
284 if (neigh->nud_state & NUD_VALID) in irdma_net_event()
/Linux-v6.6/drivers/net/ethernet/rocker/
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-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_router.c798 if (n->nud_state & NUD_VALID && !n->dead) { in __prestera_k_arb_nc_kern_n_fetch()

12