| /linux-6.15/include/trace/events/ |
| H A D | neigh.h | 85 __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.15/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | l2t.c | 285 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.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_tun.c | 232 u8 nud_state; in mlx5e_tc_tun_create_header_ipv4() local 278 nud_state = attr.n->nud_state; in mlx5e_tc_tun_create_header_ipv4() 304 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv4() 348 u8 nud_state; in mlx5e_tc_tun_update_header_ipv4() local 382 nud_state = attr.n->nud_state; in mlx5e_tc_tun_update_header_ipv4() 410 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_update_header_ipv4() 504 u8 nud_state; in mlx5e_tc_tun_create_header_ipv6() local 549 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.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | l2t.c | 205 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.15/net/core/ |
| H A D | neighbour.c | 263 (n->nud_state == NUD_NOARP) || in neigh_forced_gc() 304 n->nud_state); in neigh_add_timer() 311 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer() 402 if (n->nud_state & NUD_VALID) in neigh_flush_dev() 403 n->nud_state = NUD_NOARP; in neigh_flush_dev() 405 n->nud_state = NUD_NONE; in neigh_flush_dev() 481 n->nud_state = NUD_NONE; in neigh_alloc() 938 state = n->nud_state; in neigh_periodic_work() 1040 state = neigh->nud_state; in neigh_timer_handler() 1199 if (neigh->nud_state & NUD_STALE) in __neigh_event_send() [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| H A D | neigh.c | 135 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.15/net/ipv4/ |
| H A D | arp.c | 250 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() 1154 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags() 1156 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags() 1183 if (READ_ONCE(neigh->nud_state) & NUD_NOARP) { in arp_req_get() 1209 if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) { in arp_invalidate() [all …]
|
| H A D | fib_semantics.c | 596 state = READ_ONCE(n->nud_state); in fib_detect_death() 2163 state = READ_ONCE(n->nud_state); in fib_good_nh()
|
| /linux-6.15/net/netfilter/ |
| H A D | nft_flow_offload.c | 58 u8 nud_state; in nft_dev_fill_forward_path() local 68 nud_state = n->nud_state; in nft_dev_fill_forward_path() 73 if (!(nud_state & NUD_VALID)) in nft_dev_fill_forward_path()
|
| H A D | nf_flow_table_offload.c | 283 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.15/include/net/ |
| H A D | neighbour.h | 152 u8 nud_state; member 462 if (!(READ_ONCE(neigh->nud_state) & (NUD_CONNECTED | NUD_DELAY | NUD_PROBE))) in neigh_event_send_probe() 535 (READ_ONCE(n->nud_state) & NUD_CONNECTED) && in neigh_output()
|
| /linux-6.15/net/ipv6/ |
| H A D | ndisc.c | 348 neigh->nud_state = NUD_NOARP; in ndisc_constructor() 353 neigh->nud_state = NUD_NOARP; in ndisc_constructor() 356 neigh->nud_state = NUD_NOARP; in ndisc_constructor() 361 neigh->nud_state = NUD_NOARP; in ndisc_constructor() 368 if (neigh->nud_state&NUD_VALID) in ndisc_constructor() 753 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit() 1099 if (READ_ONCE(neigh->nud_state) & NUD_FAILED) in ndisc_recv_na() 1752 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
|
| H A D | route.c | 680 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe() 684 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe() 730 u8 nud_state = READ_ONCE(neigh->nud_state); in rt6_check_neigh() local 732 if (nud_state & NUD_VALID) in rt6_check_neigh() 735 else if (!(nud_state & NUD_FAILED)) in rt6_check_neigh()
|
| /linux-6.15/net/bridge/ |
| H A D | br_arp_nd_proxy.c | 195 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()
|
| H A D | br_netfilter_hooks.c | 289 if ((READ_ONCE(neigh->nud_state) & NUD_CONNECTED) && in br_nf_pre_routing_finish_bridge()
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | addr.c | 337 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha() 853 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
|
| /linux-6.15/drivers/infiniband/hw/qedr/ |
| H A D | qedr_iw_cm.c | 461 if (neigh->nud_state & NUD_VALID) { in qedr_addr4_resolve() 504 if (neigh->nud_state & NUD_VALID) { in qedr_addr6_resolve()
|
| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | tc_encap_actions.c | 197 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-6.15/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | tunnel_conf.c | 470 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-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_router.c | 2780 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local 2788 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work() 2795 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work() 4302 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local 4324 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace() 4327 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace() 4400 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local 4441 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init() 4444 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
|
| /linux-6.15/net/atm/ |
| H A D | clip.c | 300 neigh->nud_state = NUD_NONE; in clip_constructor()
|
| /linux-6.15/drivers/infiniband/hw/irdma/ |
| H A D | utils.c | 281 iwdev->netdev, neigh->nud_state, local_ipaddr, in irdma_net_event() 284 if (neigh->nud_state & NUD_VALID) in irdma_net_event()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec.c | 862 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID)) in mlx5e_ipsec_netevent_event()
|
| /linux-6.15/drivers/net/ethernet/rocker/ |
| H A D | rocker_ofdpa.c | 1366 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-6.15/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 798 if (n->nud_state & NUD_VALID && !n->dead) { in __prestera_k_arb_nc_kern_n_fetch()
|