Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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()
354 if (skip_perm && n->nud_state & NUD_PERMANENT) { in neigh_flush_dev()
377 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
378 n->nud_state = NUD_NOARP; in neigh_flush_dev()
380 n->nud_state = NUD_NONE; in neigh_flush_dev()
456 n->nud_state = NUD_NONE; in neigh_alloc()
[all …]
/linux-5.19.10/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-5.19.10/net/ipv4/
Darp.c249 neigh->nud_state = NUD_NOARP; in arp_constructor()
269 neigh->nud_state = NUD_NOARP; in arp_constructor()
272 neigh->nud_state = NUD_NOARP; in arp_constructor()
276 neigh->nud_state = NUD_NOARP; in arp_constructor()
285 if (neigh->nud_state & NUD_VALID) in arp_constructor()
377 if (!(neigh->nud_state & NUD_VALID)) in arp_solicit()
1085 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1087 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1105 if (!(neigh->nud_state & NUD_NOARP)) { in arp_req_get()
1126 if ((neigh->nud_state & NUD_VALID) && !force) { in arp_invalidate()
[all …]
Dfib_semantics.c564 state = n->nud_state; in fib_detect_death()
2199 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-5.19.10/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-5.19.10/net/decnet/
Ddn_neigh.c136 neigh->nud_state = NUD_NOARP; in dn_neigh_construct()
403 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_router_hello()
463 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_endnode_hello()
528 *(s->rs) = neigh->nud_state & NUD_CONNECTED ? 0x80 : 0x0; in neigh_elist_cb()
563 dn->n.nud_state, in dn_neigh_format_entry()
/linux-5.19.10/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-5.19.10/include/net/
Dneighbour.h148 u8 nud_state; member
472 if (!(neigh->nud_state & (NUD_CONNECTED | NUD_DELAY | NUD_PROBE))) in neigh_event_send_probe()
545 (READ_ONCE(n->nud_state) & NUD_CONNECTED) && in neigh_output()
/linux-5.19.10/net/ipv6/
Dndisc.c344 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
349 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
352 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
357 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
364 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
747 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
1074 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1708 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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2768 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2776 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2783 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
4100 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local
4121 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace()
4124 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
4196 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
4233 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
4236 __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-5.19.10/net/atm/
Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()
/linux-5.19.10/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-5.19.10/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()

12