| /linux/include/trace/events/ |
| H A D | neigh.h | 85 __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 D | l2t.c | 248 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/net/core/ |
| H A D | neighbour.c | 160 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list() 272 if ((n->nud_state == NUD_FAILED) || in neigh_forced_gc() 273 (n->nud_state == NUD_NOARP) || in neigh_forced_gc() 314 n->nud_state); in neigh_add_timer() 321 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer() 405 if (n->nud_state & NUD_VALID) in neigh_flush_one() 406 n->nud_state = NUD_NOARP; in neigh_flush_one() 408 n->nud_state = NUD_NONE; in neigh_flush_one() 429 (n->nud_state & NUD_PERMANENT || in neigh_flush_dev() 529 n->nud_state in neigh_alloc() [all...] |
| H A D | filter.c | 6223 if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID)) in bpf_ipv4_fib_lookup() 6362 if (!neigh || !(READ_ONCE(neigh->nud_state) & NUD_VALID)) in bpf_ipv6_fib_lookup()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | l2t.c | 205 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 D | arp.c | 250 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 D | nexthop.c | 1387 state = READ_ONCE(n->nud_state); in ipv6_good_nh() 1404 state = READ_ONCE(n->nud_state); in ipv4_good_nh()
|
| /linux/net/netfilter/ |
| H A D | nf_flow_table_path.c | 54 u8 nud_state; in nft_dev_fill_forward_path() local 64 nud_state = n->nud_state; in nft_dev_fill_forward_path() 69 if (!(nud_state & NUD_VALID)) in nft_dev_fill_forward_path()
|
| H A D | nf_flow_table_offload.c | 295 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/net/ipv6/ |
| H A D | ndisc.c | 344 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() 753 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) { in ndisc_solicit() 1091 if (READ_ONCE(neigh->nud_state) & NUD_FAILED) in ndisc_recv_na() 1725 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
|
| H A D | route.c | 679 if (READ_ONCE(neigh->nud_state) & NUD_VALID) in rt6_probe() 683 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe() 729 u8 nud_state = READ_ONCE(neigh->nud_state); in rt6_check_neigh() local 731 if (nud_state & NUD_VALID) in rt6_check_neigh() 734 else if (!(nud_state & NUD_FAILED)) in rt6_check_neigh()
|
| /linux/net/bridge/ |
| H A D | br_arp_nd_proxy.c | 197 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_proxy_suppress_arp() 466 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) { in br_do_suppress_nd()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr_iw_cm.c | 461 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/mellanox/mlxsw/ |
| H A D | spectrum_router.c | 2780 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local 2788 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work() 2795 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work() 4302 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local 4326 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace() 4329 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace() 4398 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local 4444 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init() 4447 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
|
| H A D | spectrum_span.c | 244 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | utils.c | 282 iwdev->netdev, neigh->nud_state, local_ipaddr, in irdma_net_event() 285 if (neigh->nud_state & NUD_VALID) in irdma_net_event()
|
| H A D | cm.c | 2000 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/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 798 if (n->nud_state & NUD_VALID && !n->dead) { in __prestera_k_arb_nc_kern_n_fetch()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec.c | 953 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID)) in mlx5e_ipsec_netevent_event()
|
| /linux/drivers/target/iscsi/cxgbit/ |
| H A D | cxgbit_cm.c | 916 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l3_main.c | 1796 n->nud_state = NUD_NOARP; in qeth_l3_neigh_setup_noarp()
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_core.c | 1884 if (!(READ_ONCE(n->nud_state) & NUD_CONNECTED)) { in arp_reduce() 2054 if (!(READ_ONCE(n->nud_state) & NUD_CONNECTED)) { in neigh_reduce()
|
| /linux/drivers/scsi/cxgbi/cxgb4i/ |
| H A D | cxgb4i.c | 1804 if (!(n->nud_state & NUD_VALID)) in init_act_open()
|