Home
last modified time | relevance | path

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

12

/Linux-v4.19/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-v4.19/net/core/
Dneighbour.c128 if (refcount_read(&n->refcnt) == 1 && !(n->nud_state & state) && in neigh_del()
210 n->nud_state); in neigh_add_timer()
217 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
273 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
274 n->nud_state = NUD_NOARP; in neigh_flush_dev()
276 n->nud_state = NUD_NONE; in neigh_flush_dev()
332 n->nud_state = NUD_NONE; in neigh_alloc()
824 state = n->nud_state; in neigh_periodic_work()
872 (n->nud_state & NUD_PROBE ? NEIGH_VAR(p, MCAST_REPROBES) : in neigh_max_probes()
891 while (neigh->nud_state == NUD_FAILED && in neigh_invalidate()
[all …]
/Linux-v4.19/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()
564 if (neigh->nud_state & NUD_FAILED) { in t4_l2t_update()
566 } else if ((neigh->nud_state & (NUD_CONNECTED | NUD_STALE)) && in t4_l2t_update()
571 e->state = neigh->nud_state & NUD_CONNECTED ? in t4_l2t_update()
/Linux-v4.19/net/ipv4/
Darp.c251 neigh->nud_state = NUD_NOARP; in arp_constructor()
271 neigh->nud_state = NUD_NOARP; in arp_constructor()
274 neigh->nud_state = NUD_NOARP; in arp_constructor()
278 neigh->nud_state = NUD_NOARP; in arp_constructor()
287 if (neigh->nud_state & NUD_VALID) in arp_constructor()
379 if (!(neigh->nud_state & NUD_VALID)) in arp_solicit()
1083 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1085 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1103 if (!(neigh->nud_state & NUD_NOARP)) { in arp_req_get()
1124 if (neigh->nud_state & ~NUD_NOARP) in arp_invalidate()
Dfib_semantics.c445 state = n->nud_state; in fib_detect_death()
1747 state = n->nud_state; in fib_good_nh()
/Linux-v4.19/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-v4.19/include/net/
Dneighbour.h149 __u8 nud_state; member
435 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
480 if ((n->nud_state & NUD_CONNECTED) && hh->hh_len) in neigh_output()
/Linux-v4.19/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()
715 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
1016 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1635 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c546 if (neigh->nud_state & NUD_VALID) in rt6_probe()
550 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
607 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
610 else if (!(neigh->nud_state & NUD_FAILED)) in rt6_check_neigh()
Dip6_output.c995 err = n && !(n->nud_state & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
/Linux-v4.19/net/bridge/
Dbr_arp_nd_proxy.c190 if (!(n->nud_state & NUD_VALID)) { in br_do_proxy_suppress_arp()
440 if (!(n->nud_state & NUD_VALID)) { in br_do_suppress_nd()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c397 u8 nud_state, dead; in mlx5e_rep_neigh_update() local
408 nud_state = n->nud_state; in mlx5e_rep_neigh_update()
412 neigh_connected = (nud_state & NUD_VALID) && !dead; in mlx5e_rep_neigh_update()
Den_tc.c2319 u8 nud_state, tos, ttl; in mlx5e_create_encap_header_ipv4() local
2373 nud_state = n->nud_state; in mlx5e_create_encap_header_ipv4()
2392 if (!(nud_state & NUD_VALID)) { in mlx5e_create_encap_header_ipv4()
2428 u8 nud_state, tos, ttl; in mlx5e_create_encap_header_ipv6() local
2482 nud_state = n->nud_state; in mlx5e_create_encap_header_ipv6()
2502 if (!(nud_state & NUD_VALID)) { in mlx5e_create_encap_header_ipv6()
/Linux-v4.19/drivers/infiniband/core/
Daddr.c321 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
757 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/Linux-v4.19/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-v4.19/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c320 if (!(neigh->nud_state & NUD_VALID) || neigh->dead) { in nfp_tun_write_neigh()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2355 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2363 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2370 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
3384 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
3422 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
3425 __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-v4.19/net/atm/
Dclip.c299 neigh->nud_state = NUD_NONE; in clip_constructor()
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes.c234 if (neigh->nud_state & NUD_VALID) { in nes_net_event()
/Linux-v4.19/drivers/net/ethernet/rocker/
Drocker_ofdpa.c1369 if (n->nud_state & NUD_VALID) in ofdpa_port_ipv4_resolve()
2705 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) | in ofdpa_port_neigh_update()
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_utils.c278 if (neigh->nud_state & NUD_VALID) { in i40iw_net_event()
Di40iw_cm.c2004 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh()
2094 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh_ipv6()
/Linux-v4.19/drivers/net/
Dvxlan.c1529 if (!(n->nud_state & NUD_CONNECTED)) { in arp_reduce()
1684 if (!(n->nud_state & NUD_CONNECTED)) { in neigh_reduce()
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c896 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()

12