Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/net/core/
Dneighbour.c141 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list()
268 if ((n->nud_state == NUD_FAILED) || in neigh_forced_gc()
269 (n->nud_state == NUD_NOARP) || in neigh_forced_gc()
295 n->nud_state); in neigh_add_timer()
302 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
381 if (skip_perm && n->nud_state & NUD_PERMANENT) { in neigh_flush_dev()
404 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
405 n->nud_state = NUD_NOARP; in neigh_flush_dev()
407 n->nud_state = NUD_NONE; in neigh_flush_dev()
484 n->nud_state = NUD_NONE; in neigh_alloc()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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 (!(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 (!(neigh->nud_state & NUD_NOARP)) { in arp_req_get()
1147 if ((neigh->nud_state & NUD_VALID) && !force) { in arp_invalidate()
[all …]
Dfib_semantics.c566 state = n->nud_state; in fib_detect_death()
2205 state = n->nud_state; in fib_good_nh()
Dnexthop.c1131 state = n->nud_state; in ipv6_good_nh()
1148 state = n->nud_state; in ipv4_good_nh()
/linux-6.1.9/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-6.1.9/include/net/
Dneighbour.h150 u8 nud_state; member
469 if (!(neigh->nud_state & (NUD_CONNECTED | NUD_DELAY | NUD_PROBE))) in neigh_event_send_probe()
542 (READ_ONCE(n->nud_state) & NUD_CONNECTED) && in neigh_output()
/linux-6.1.9/net/ipv6/
Dndisc.c345 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
350 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
353 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
358 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
365 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
748 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
1094 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1728 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c641 if (neigh->nud_state & NUD_VALID) in rt6_probe()
645 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
691 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
694 else if (!(neigh->nud_state & NUD_FAILED)) in rt6_check_neigh()
/linux-6.1.9/net/bridge/
Dbr_arp_nd_proxy.c195 if (!(n->nud_state & NUD_VALID)) { in br_do_proxy_suppress_arp()
455 if (!(n->nud_state & NUD_VALID)) { in br_do_suppress_nd()
Dbr_netfilter_hooks.c280 if ((neigh->nud_state & NUD_CONNECTED) && neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c453 bool neigh_invalid = !(neigh->nud_state & NUD_VALID) || neigh->dead; in nfp_tun_write_neigh()
591 neigh_invalid = !(n->nud_state & NUD_VALID) || n->dead; in nfp_tun_neigh_event_handler()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2676 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2684 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2691 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
4008 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local
4029 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace()
4032 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
4104 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
4141 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
4144 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
Dspectrum_span.c244 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/linux-6.1.9/net/atm/
Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()
/linux-6.1.9/drivers/net/ethernet/rocker/
Drocker_ofdpa.c1366 if (n->nud_state & NUD_VALID) in ofdpa_port_ipv4_resolve()
2680 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) | in ofdpa_port_neigh_update()
/linux-6.1.9/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-6.1.9/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