Home
last modified time | relevance | path

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

12

/linux/include/trace/events/
H A Dneigh.h85 __field(u8, nud_state)
110 __entry->nud_state = n->nud_state;
141 TP_printk("family %d dev %s lladdr %s flags %02x nud_state %s type %02x "
147 __entry->flags, neigh_state_str(__entry->nud_state),
165 __field(u8, nud_state)
187 __entry->nud_state = n->nud_state;
215 TP_printk("family %d dev %s lladdr %s flags %02x nud_state %s type %02x "
220 __entry->flags, neigh_state_str(__entry->nud_state),
[all...]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c248 unsigned int nud_state; in reuse_entry() local
254 nud_state = neigh->nud_state; in reuse_entry()
256 !(nud_state & NUD_VALID)) in reuse_entry()
258 else if (nud_state & NUD_CONNECTED) in reuse_entry()
389 if (neigh->nud_state & NUD_FAILED) { in t3_l2t_update()
391 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) in t3_l2t_update()
394 e->state = neigh->nud_state & NUD_CONNECTED ? in t3_l2t_update()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H 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/net/ipv4/
H A Darp.c250 neigh->nud_state = NUD_NOARP; in arp_constructor()
270 neigh->nud_state = NUD_NOARP; in arp_constructor()
273 neigh->nud_state = NUD_NOARP; in arp_constructor()
277 neigh->nud_state = NUD_NOARP; in arp_constructor()
286 if (neigh->nud_state & NUD_VALID) in arp_constructor()
378 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) in arp_solicit()
1157 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1159 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1186 if (READ_ONCE(neigh->nud_state) & NUD_NOARP) { in arp_req_get()
1212 if ((READ_ONCE(neigh->nud_state) & NUD_VALID) && !force) { in arp_invalidate()
[all …]
H A Dfib_semantics.c624 state = READ_ONCE(n->nud_state); in fib_detect_death()
2171 state = READ_ONCE(n->nud_state); in fib_good_nh()
H A Dnexthop.c1394 state = READ_ONCE(n->nud_state); in ipv6_good_nh()
1411 state = READ_ONCE(n->nud_state); in ipv4_good_nh()
H A Droute.c822 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in __ip_do_redirect()
/linux/net/netfilter/
H A Dnf_flow_table_path.c58 u8 nud_state; in nft_dev_fill_forward_path() local
70 nud_state = n->nud_state; in nft_dev_fill_forward_path()
75 if (!(nud_state & NUD_VALID)) in nft_dev_fill_forward_path()
H A Dnf_flow_table_offload.c295 u8 nud_state; in flow_offload_eth_dst() local
316 nud_state = n->nud_state; in flow_offload_eth_dst()
321 if (!(nud_state & NUD_VALID)) in flow_offload_eth_dst()
/linux/include/net/
H A Dneighbour.h154 u8 nud_state; member
479 if (!(READ_ONCE(neigh->nud_state) & (NUD_CONNECTED | NUD_DELAY | NUD_PROBE))) in neigh_event_send_probe()
556 (READ_ONCE(n->nud_state) & NUD_CONNECTED) && in neigh_output()
/linux/net/ipv6/
H A Dndisc.c345 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
350 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
353 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
358 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
365 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
754 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit()
1090 if (READ_ONCE(neigh->nud_state) & NUD_FAILED) in ndisc_recv_na()
1728 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
H A Droute.c682 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe()
686 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
732 u8 nud_state = READ_ONCE(neigh->nud_state); in rt6_check_neigh() local
734 if (nud_state & NUD_VALID) in rt6_check_neigh()
737 else if (!(nud_state & NUD_FAILED)) in rt6_check_neigh()
H A Dip6_output.c1207 err = n && !(READ_ONCE(n->nud_state) & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
/linux/net/bridge/
H A Dbr_arp_nd_proxy.c201 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_proxy_suppress_arp()
478 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_suppress_nd()
H A Dbr_netfilter_hooks.c290 if ((READ_ONCE(neigh->nud_state) & NUD_CONNECTED) && in br_nf_pre_routing_finish_bridge()
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_iw_cm.c461 if (neigh->nud_state & NUD_VALID) { in qedr_addr4_resolve()
504 if (neigh->nud_state & NUD_VALID) { in qedr_addr6_resolve()
/linux/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c198 neigh->n_valid = n->nud_state & NUD_VALID; in efx_bind_neigh()
552 n_valid = (n->nud_state & NUD_VALID) && !n->dead; in efx_neigh_event()
/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c1349 if (n->nud_state & NUD_VALID) in ofdpa_port_ipv4_resolve()
2667 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) | in ofdpa_port_neigh_update()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c954 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID)) in mlx5e_ipsec_netevent_event()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c798 if (n->nud_state & NUD_VALID && !n->dead) { in __prestera_k_arb_nc_kern_n_fetch()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.c244 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/linux/drivers/infiniband/hw/irdma/
H A Dcm.c2000 if (neigh->nud_state & NUD_VALID) in irdma_addr_resolve_neigh()
2076 if (neigh->nud_state & NUD_VALID) in irdma_addr_resolve_neigh_ipv6()
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c916 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()
/linux/drivers/s390/net/
H A Dqeth_l3_main.c1801 n->nud_state = NUD_NOARP; in qeth_l3_neigh_setup_noarp()
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1804 if (!(n->nud_state & NUD_VALID)) in init_act_open()

12