Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_nvmetcp_ip_services.c55 if (!(neigh->nud_state & NUD_VALID)) in qed_route_ipv4()
60 while (!(neigh->nud_state & NUD_VALID) && retry > 0) { in qed_route_ipv4()
65 if (neigh->nud_state & NUD_VALID) { in qed_route_ipv4()
113 if (!(neigh->nud_state & NUD_VALID)) in qed_route_ipv6()
118 while (!(neigh->nud_state & NUD_VALID) && retry > 0) { in qed_route_ipv6()
123 if (neigh->nud_state & NUD_VALID) { in qed_route_ipv6()
/linux/include/trace/events/
A 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/drivers/net/ethernet/chelsio/cxgb3/
A 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/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun.c234 u8 nud_state; in mlx5e_tc_tun_create_header_ipv4() local
280 nud_state = attr.n->nud_state; in mlx5e_tc_tun_create_header_ipv4()
305 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv4()
349 u8 nud_state; in mlx5e_tc_tun_update_header_ipv4() local
383 nud_state = attr.n->nud_state; in mlx5e_tc_tun_update_header_ipv4()
410 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_update_header_ipv4()
504 u8 nud_state; in mlx5e_tc_tun_create_header_ipv6() local
549 nud_state = attr.n->nud_state; in mlx5e_tc_tun_create_header_ipv6()
573 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv6()
617 u8 nud_state; in mlx5e_tc_tun_update_header_ipv6() local
[all …]
/linux/net/core/
A Dneighbour.c295 n->nud_state); in neigh_add_timer()
363 n->nud_state = NUD_NOARP; in neigh_flush_dev()
365 n->nud_state = NUD_NONE; in neigh_flush_dev()
441 n->nud_state = NUD_NONE; in neigh_alloc()
954 state = n->nud_state; in neigh_periodic_work()
1056 state = neigh->nud_state; in neigh_timer_handler()
1174 neigh->nud_state = NUD_DELAY; in __neigh_event_send()
1271 old = neigh->nud_state; in __neigh_update()
1286 neigh->nud_state = new; in __neigh_update()
1295 neigh->nud_state = new; in __neigh_update()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
A 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
A Dneigh.c135 u8 nud_state, dead; in mlx5e_rep_neigh_update() local
146 nud_state = n->nud_state; in mlx5e_rep_neigh_update()
151 neigh_connected = (nud_state & NUD_VALID) && !dead; in mlx5e_rep_neigh_update()
/linux/net/ipv4/
A 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()
A Dfib_semantics.c555 state = n->nud_state; in fib_detect_death()
2208 state = n->nud_state; in fib_good_nh()
/linux/net/decnet/
A 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/net/netfilter/
A Dnft_flow_offload.c48 u8 nud_state; in nft_dev_fill_forward_path() local
55 nud_state = n->nud_state; in nft_dev_fill_forward_path()
60 if (!(nud_state & NUD_VALID)) in nft_dev_fill_forward_path()
A Dnf_flow_table_offload.c272 u8 nud_state; in flow_offload_eth_dst() local
290 nud_state = n->nud_state; in flow_offload_eth_dst()
295 if (!(nud_state & NUD_VALID)) in flow_offload_eth_dst()
/linux/net/ipv6/
A 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()
1660 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
A Droute.c638 if (neigh->nud_state & NUD_VALID) in rt6_probe()
642 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
688 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
691 else if (!(neigh->nud_state & NUD_FAILED)) in rt6_check_neigh()
/linux/include/net/
A Dneighbour.h147 u8 nud_state; member
455 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
523 (READ_ONCE(n->nud_state) & NUD_CONNECTED) && in neigh_output()
/linux/net/bridge/
A 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()
A Dbr_netfilter_hooks.c280 if ((neigh->nud_state & NUD_CONNECTED) && neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge()
/linux/drivers/infiniband/core/
A Daddr.c338 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
860 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/linux/drivers/infiniband/hw/qedr/
A 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()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A 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()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c2708 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2716 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2723 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
4039 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local
4060 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace()
4063 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
4135 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
4172 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
4175 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
A Dspectrum_span.c244 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/linux/net/atm/
A Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()
/linux/drivers/infiniband/hw/irdma/
A Dutils.c271 iwdev->netdev, neigh->nud_state, local_ipaddr, in irdma_net_event()
274 if (neigh->nud_state & NUD_VALID) in irdma_net_event()
/linux/drivers/net/ethernet/rocker/
A Drocker_ofdpa.c1366 if (n->nud_state & NUD_VALID) in ofdpa_port_ipv4_resolve()
2680 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) | in ofdpa_port_neigh_update()

Completed in 103 milliseconds

12