Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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),
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/core/
Dneighbour.c141 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list()
241 if ((n->nud_state == NUD_FAILED) || in neigh_forced_gc()
242 (n->nud_state == NUD_NOARP) || in neigh_forced_gc()
268 n->nud_state); in neigh_add_timer()
275 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
312 if (skip_perm && n->nud_state & NUD_PERMANENT) { in neigh_flush_dev()
335 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
336 n->nud_state = NUD_NOARP; in neigh_flush_dev()
338 n->nud_state = NUD_NONE; in neigh_flush_dev()
414 n->nud_state = NUD_NONE; in neigh_alloc()
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c196 u8 nud_state, ttl; in mlx5e_tc_tun_create_header_ipv4() local
248 nud_state = n->nud_state; in mlx5e_tc_tun_create_header_ipv4()
273 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv4()
362 u8 nud_state, ttl; in mlx5e_tc_tun_create_header_ipv6() local
413 nud_state = n->nud_state; in mlx5e_tc_tun_create_header_ipv6()
437 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv6()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dneigh.c136 u8 nud_state, dead; in mlx5e_rep_neigh_update() local
147 nud_state = n->nud_state; in mlx5e_rep_neigh_update()
151 neigh_connected = (nud_state & NUD_VALID) && !dead; in mlx5e_rep_neigh_update()
/kernel/linux/linux-5.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_NOARP) in arp_invalidate()
Dfib_semantics.c563 state = n->nud_state; in fib_detect_death()
2215 state = n->nud_state; in fib_good_nh()
Dnexthop.c518 state = n->nud_state; in ipv6_good_nh()
535 state = n->nud_state; in ipv4_good_nh()
/kernel/linux/linux-5.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()
462 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_endnode_hello()
527 *(s->rs) = neigh->nud_state & NUD_CONNECTED ? 0x80 : 0x0; in neigh_elist_cb()
562 dn->n.nud_state, in dn_neigh_format_entry()
/kernel/linux/linux-5.10/include/net/
Dneighbour.h148 __u8 nud_state; member
447 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
515 (READ_ONCE(n->nud_state) & NUD_CONNECTED) && in neigh_output()
/kernel/linux/linux-5.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()
732 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
1033 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1651 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c636 if (neigh->nud_state & NUD_VALID) in rt6_probe()
640 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
686 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
689 else if (!(neigh->nud_state & NUD_FAILED)) in rt6_check_neigh()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_flow_table_offload.c216 u8 nud_state; in flow_offload_eth_dst() local
225 nud_state = n->nud_state; in flow_offload_eth_dst()
229 if (!(nud_state & NUD_VALID)) { in flow_offload_eth_dst()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Daddr.c338 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
860 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2542 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2550 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2557 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
3589 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local
3611 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace()
3614 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
3686 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
3724 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
3727 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
Dspectrum_span.c242 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c462 if (!(neigh->nud_state & NUD_VALID) || neigh->dead) { in nfp_tun_write_neigh_v4()
498 if (!(neigh->nud_state & NUD_VALID) || neigh->dead) { in nfp_tun_write_neigh_v6()
/kernel/linux/linux-5.10/net/atm/
Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
Drocker_ofdpa.c1366 if (n->nud_state & NUD_VALID) in ofdpa_port_ipv4_resolve()
2692 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) | in ofdpa_port_neigh_update()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_utils.c290 if (neigh->nud_state & NUD_VALID) { in i40iw_net_event()
Di40iw_cm.c2003 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh()
2089 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh_ipv6()

12