Home
last modified time | relevance | path

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

12

/openbmc/linux/include/trace/events/
H A 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),
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
/openbmc/linux/net/core/
H A Dneighbour.c141 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list()
271 if ((n->nud_state == NUD_FAILED) || in neigh_forced_gc()
272 (n->nud_state == NUD_NOARP) || in neigh_forced_gc()
313 n->nud_state); in neigh_add_timer()
320 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
399 if (skip_perm && n->nud_state & NUD_PERMANENT) { in neigh_flush_dev()
422 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
423 n->nud_state = NUD_NOARP; in neigh_flush_dev()
425 n->nud_state = NUD_NONE; in neigh_flush_dev()
502 n->nud_state = NUD_NONE; in neigh_alloc()
[all …]
/openbmc/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()
/openbmc/linux/net/ipv4/
H A 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()
1108 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1110 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1128 if (!(READ_ONCE(neigh->nud_state) & NUD_NOARP)) { in arp_req_get()
1150 if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) { in arp_invalidate()
[all …]
H A Dfib_semantics.c567 state = READ_ONCE(n->nud_state); in fib_detect_death()
2212 state = READ_ONCE(n->nud_state); in fib_good_nh()
/openbmc/linux/net/netfilter/
H A 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()
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()
/openbmc/linux/include/net/
H A 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()
/openbmc/linux/net/ipv6/
H A Dndisc.c348 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()
1098 if (READ_ONCE(neigh->nud_state) & NUD_FAILED) in ndisc_recv_na()
1740 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
H A Droute.c648 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe()
652 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
697 u8 nud_state = READ_ONCE(neigh->nud_state); in rt6_check_neigh() local
699 if (nud_state & NUD_VALID) in rt6_check_neigh()
702 else if (!(nud_state & NUD_FAILED)) in rt6_check_neigh()
/openbmc/linux/net/bridge/
H A 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()
H A Dbr_netfilter_hooks.c285 if ((READ_ONCE(neigh->nud_state) & NUD_CONNECTED) && in br_nf_pre_routing_finish_bridge()
/openbmc/linux/drivers/infiniband/core/
H A Daddr.c337 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
859 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/openbmc/linux/drivers/infiniband/hw/qedr/
H A 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()
/openbmc/linux/drivers/net/ethernet/sfc/
H A 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()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c2779 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2787 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2794 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
4182 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local
4204 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace()
4207 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
4280 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
4321 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
4324 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
/openbmc/linux/net/atm/
H A Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dutils.c281 iwdev->netdev, neigh->nud_state, local_ipaddr, in irdma_net_event()
284 if (neigh->nud_state & NUD_VALID) in irdma_net_event()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c851 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID)) in mlx5e_ipsec_netevent_event()
/openbmc/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()
/openbmc/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()

12