Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c219 u8 nud_state, ttl; in mlx5e_tc_tun_create_header_ipv4() local
271 nud_state = n->nud_state; in mlx5e_tc_tun_create_header_ipv4()
296 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv4()
339 u8 nud_state, ttl; in mlx5e_tc_tun_create_header_ipv6() local
390 nud_state = n->nud_state; in mlx5e_tc_tun_create_header_ipv6()
414 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv6()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c205 e->state = (e->neigh->nud_state & NUD_STALE) ? in do_l2t_write_rpl()
403 unsigned int nud_state; in reuse_entry() local
408 nud_state = neigh->nud_state; in reuse_entry()
410 !(nud_state & NUD_VALID)) in reuse_entry()
412 else if (nud_state & NUD_CONNECTED) in reuse_entry()
563 if (neigh->nud_state & NUD_FAILED) { in t4_l2t_update()
565 } else if ((neigh->nud_state & (NUD_CONNECTED | NUD_STALE)) && in t4_l2t_update()
570 e->state = neigh->nud_state & NUD_CONNECTED ? in t4_l2t_update()
/Linux-v5.4/net/core/
Dneighbour.c141 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list()
240 if ((n->nud_state == NUD_FAILED) || in neigh_forced_gc()
264 n->nud_state); in neigh_add_timer()
271 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
308 if (skip_perm && n->nud_state & NUD_PERMANENT) { in neigh_flush_dev()
331 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
332 n->nud_state = NUD_NOARP; in neigh_flush_dev()
334 n->nud_state = NUD_NONE; in neigh_flush_dev()
410 n->nud_state = NUD_NONE; in neigh_alloc()
926 state = n->nud_state; in neigh_periodic_work()
[all …]
/Linux-v5.4/net/ipv4/
Darp.c247 neigh->nud_state = NUD_NOARP; in arp_constructor()
267 neigh->nud_state = NUD_NOARP; in arp_constructor()
270 neigh->nud_state = NUD_NOARP; in arp_constructor()
274 neigh->nud_state = NUD_NOARP; in arp_constructor()
283 if (neigh->nud_state & NUD_VALID) in arp_constructor()
375 if (!(neigh->nud_state & NUD_VALID)) in arp_solicit()
1079 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1081 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1099 if (!(neigh->nud_state & NUD_NOARP)) { in arp_req_get()
1120 if (neigh->nud_state & ~NUD_NOARP) in arp_invalidate()
Dnexthop.c456 state = n->nud_state; in ipv6_good_nh()
473 state = n->nud_state; in ipv4_good_nh()
Dfib_semantics.c549 state = n->nud_state; in fib_detect_death()
2150 state = n->nud_state; in fib_good_nh()
/Linux-v5.4/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()
/Linux-v5.4/include/net/
Dneighbour.h149 __u8 nud_state; member
444 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
508 if ((n->nud_state & NUD_CONNECTED) && hh->hh_len && !skip_cache) in neigh_output()
/Linux-v5.4/net/ipv6/
Dndisc.c341 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
346 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
349 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
354 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
361 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
729 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
1030 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1648 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c647 if (neigh->nud_state & NUD_VALID) in rt6_probe()
651 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
697 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
700 else if (!(neigh->nud_state & NUD_FAILED)) in rt6_check_neigh()
Dip6_output.c1071 err = n && !(n->nud_state & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
/Linux-v5.4/net/bridge/
Dbr_arp_nd_proxy.c188 if (!(n->nud_state & NUD_VALID)) { in br_do_proxy_suppress_arp()
439 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-v5.4/drivers/infiniband/core/
Daddr.c336 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
856 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c421 if (neigh->nud_state & NUD_VALID) { in qedr_addr4_resolve()
464 if (neigh->nud_state & NUD_VALID) { in qedr_addr6_resolve()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c648 u8 nud_state, dead; in mlx5e_rep_neigh_update() local
659 nud_state = n->nud_state; in mlx5e_rep_neigh_update()
663 neigh_connected = (nud_state & NUD_VALID) && !dead; in mlx5e_rep_neigh_update()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2467 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2475 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2482 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
3467 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local
3489 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace()
3492 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
3564 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
3602 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
3605 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
Dspectrum_span.c125 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/Linux-v5.4/net/atm/
Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c304 if (!(neigh->nud_state & NUD_VALID) || neigh->dead) { in nfp_tun_write_neigh()
/Linux-v5.4/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()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_utils.c292 if (neigh->nud_state & NUD_VALID) { in i40iw_net_event()
Di40iw_cm.c2007 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh()
2097 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh_ipv6()

12