| /Linux-v5.4/include/trace/events/ |
| D | neigh.h | 85 __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/ |
| 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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_tun.c | 219 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/ |
| 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() 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/ |
| D | neighbour.c | 141 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/ |
| D | arp.c | 247 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()
|
| D | nexthop.c | 456 state = n->nud_state; in ipv6_good_nh() 473 state = n->nud_state; in ipv4_good_nh()
|
| D | fib_semantics.c | 549 state = n->nud_state; in fib_detect_death() 2150 state = n->nud_state; in fib_good_nh()
|
| /Linux-v5.4/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-v5.4/include/net/ |
| D | neighbour.h | 149 __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/ |
| 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() 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()
|
| D | route.c | 647 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()
|
| D | ip6_output.c | 1071 err = n && !(n->nud_state & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
|
| /Linux-v5.4/net/bridge/ |
| D | br_arp_nd_proxy.c | 188 if (!(n->nud_state & NUD_VALID)) { in br_do_proxy_suppress_arp() 439 if (!(n->nud_state & NUD_VALID)) { in br_do_suppress_nd()
|
| D | br_netfilter_hooks.c | 280 if ((neigh->nud_state & NUD_CONNECTED) && neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge()
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | addr.c | 336 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/ |
| 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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_rep.c | 648 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/ |
| D | spectrum_router.c | 2467 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()
|
| D | spectrum_span.c | 125 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
|
| /Linux-v5.4/net/atm/ |
| D | clip.c | 300 neigh->nud_state = NUD_NONE; in clip_constructor()
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
| D | tunnel_conf.c | 304 if (!(neigh->nud_state & NUD_VALID) || neigh->dead) { in nfp_tun_write_neigh()
|
| /Linux-v5.4/drivers/net/ethernet/rocker/ |
| D | rocker_ofdpa.c | 1366 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/ |
| D | i40iw_utils.c | 292 if (neigh->nud_state & NUD_VALID) { in i40iw_net_event()
|
| D | i40iw_cm.c | 2007 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh() 2097 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh_ipv6()
|