| /Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
| D | l2t.c | 285 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/ |
| D | neighbour.c | 128 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/ |
| D | l2t.c | 205 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/ |
| D | arp.c | 251 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()
|
| D | fib_semantics.c | 445 state = n->nud_state; in fib_detect_death() 1747 state = n->nud_state; in fib_good_nh()
|
| /Linux-v4.19/net/decnet/ |
| D | dn_neigh.c | 136 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/ |
| D | neighbour.h | 149 __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/ |
| D | ndisc.c | 341 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()
|
| D | route.c | 546 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()
|
| D | ip6_output.c | 995 err = n && !(n->nud_state & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
|
| /Linux-v4.19/net/bridge/ |
| D | br_arp_nd_proxy.c | 190 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/ |
| D | en_rep.c | 397 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()
|
| D | en_tc.c | 2319 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/ |
| D | addr.c | 321 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/ |
| D | qedr_iw_cm.c | 421 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/ |
| D | tunnel_conf.c | 320 if (!(neigh->nud_state & NUD_VALID) || neigh->dead) { in nfp_tun_write_neigh()
|
| /Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 2355 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()
|
| D | spectrum_span.c | 125 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
|
| /Linux-v4.19/net/atm/ |
| D | clip.c | 299 neigh->nud_state = NUD_NONE; in clip_constructor()
|
| /Linux-v4.19/drivers/infiniband/hw/nes/ |
| D | nes.c | 234 if (neigh->nud_state & NUD_VALID) { in nes_net_event()
|
| /Linux-v4.19/drivers/net/ethernet/rocker/ |
| D | rocker_ofdpa.c | 1369 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/ |
| D | i40iw_utils.c | 278 if (neigh->nud_state & NUD_VALID) { in i40iw_net_event()
|
| D | i40iw_cm.c | 2004 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/ |
| D | vxlan.c | 1529 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/ |
| D | cxgbit_cm.c | 896 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()
|