Home
last modified time | relevance | path

Searched refs:arp_tbl (Results 1 – 22 of 22) sorted by relevance

/linux/net/ipv4/
H A Darp.c152 struct neigh_table arp_tbl = { variable
163 .tbl = &arp_tbl,
185 EXPORT_SYMBOL(arp_tbl);
232 memcpy(neigh->primary_key, &inaddr_any, arp_tbl.key_len); in arp_constructor()
850 n = neigh_event_ns(&arp_tbl, sha, &sip, dev); in arp_process()
865 pneigh_lookup(&arp_tbl, net, &tip, dev, 0)))) { in arp_process()
866 n = neigh_event_ns(&arp_tbl, sha, &sip, dev); in arp_process()
878 pneigh_enqueue(&arp_tbl, in arp_process()
889 n = __neigh_lookup(&arp_tbl, &sip, dev, 0); in arp_process()
910 n = __neigh_lookup(&arp_tbl, &sip, dev, 1); in arp_process()
[all …]
H A Ddevinet.c291 in_dev->arp_parms = neigh_parms_alloc(dev, &arp_tbl); in inetdev_init()
305 neigh_parms_release(&arp_tbl, in_dev->arp_parms); in inetdev_init()
346 neigh_parms_release(&arp_tbl, in_dev->arp_parms); in inetdev_destroy()
H A Dfib_semantics.c558 n = neigh_lookup(&arp_tbl, &nhc->nhc_gw.ipv4, nhc->nhc_dev); in fib_detect_death()
H A Droute.c774 n = neigh_create(&arp_tbl, &new_gw, rt->dst.dev); in __ip_do_redirect()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dneigh.c29 unsigned long ipv4_interval = NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME); in mlx5e_rep_neigh_update_init_interval()
220 if (n->tbl != ipv6_stub->nd_tbl && n->tbl != &arp_tbl) in mlx5e_rep_netevent_event()
222 if (n->tbl != &arp_tbl) in mlx5e_rep_netevent_event()
241 if (!p->dev || (p->tbl != ipv6_stub->nd_tbl && p->tbl != &arp_tbl)) in mlx5e_rep_netevent_event()
243 if (!p->dev || p->tbl != &arp_tbl) in mlx5e_rep_netevent_event()
/linux/include/net/
H A Darp.h11 extern struct neigh_table arp_tbl;
27 return ___neigh_lookup_noref(&arp_tbl, neigh_key_eq32, arp_hashfn, &key, dev); in __ipv4_neigh_lookup_noref()
H A Droute.h380 neigh = __neigh_create(&arp_tbl, &daddr, dev, false); in ip_neigh_gw4()
/linux/net/atm/
H A Dclip.c159 write_lock(&arp_tbl.lock); in idle_timer_check()
160 __neigh_for_each_release(&arp_tbl, neigh_check_cb); in idle_timer_check()
162 write_unlock(&arp_tbl.lock); in idle_timer_check()
469 neigh = __neigh_lookup(&arp_tbl, &ip, rt->dst.dev, 1); in clip_setentry()
840 return neigh_seq_start(seq, pos, &arp_tbl, NEIGH_SEQ_NEIGH_ONLY); in clip_seq_start()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c686 n = neigh_lookup(&arp_tbl, &nc->key.addr.u.ipv4, in __prestera_k_arb_n_offload_set()
793 n = neigh_lookup(&arp_tbl, &nc->key.addr.u.ipv4, nc->key.dev); in __prestera_k_arb_nc_kern_n_fetch()
1055 n = neigh_lookup(&arp_tbl, &nc->key.addr.u.ipv4, in __prestera_k_arb_hw_state_upd()
1058 n = neigh_create(&arp_tbl, &nc->key.addr.u.ipv4, in __prestera_k_arb_hw_state_upd()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c238 n = neigh_lookup(&arp_tbl, &ipv4_addr, netdev); in nfp_tunnel_keep_alive()
733 if (n->tbl != ipv6_stub->nd_tbl && n->tbl != &arp_tbl) in nfp_tun_neigh_event_handler()
735 if (n->tbl != &arp_tbl) in nfp_tun_neigh_event_handler()
/linux/Documentation/networking/
H A Dswitchdev.rst404 arp_tbl neighbor table. To resolve the routes nexthop gateways, the driver
408 The driver can monitor for updates to arp_tbl using the netevent notifier
410 for the routes as arp_tbl updates. The driver implements ndo_neigh_destroy
411 to know when arp_tbl neighbor entries are purged from the port.
/linux/net/bridge/
H A Dbr_arp_nd_proxy.c191 n = neigh_lookup(&arp_tbl, &tip, vlandev); in br_do_proxy_suppress_arp()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1353 dt = 2 * arp_tbl.gc_interval; in __ipoib_reap_neigh()
1393 arp_tbl.gc_interval); in ipoib_reap_neigh()
1555 size = roundup_pow_of_two(arp_tbl.gc_thresh3); in ipoib_neigh_hash_init()
1570 arp_tbl.gc_interval); in ipoib_neigh_hash_init()
/linux/drivers/net/ethernet/sfc/
H A Dtc_counters.c111 n = neigh_lookup(&arp_tbl, &encap->neigh->dst_ip, in efx_tc_counter_work()
H A Dtc_encap_actions.c529 if (n->tbl == &arp_tbl) { in efx_neigh_event()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c299 n = neigh_lookup(&arp_tbl, pkey, netdev); in mlx5e_ipsec_init_macs()
301 n = neigh_create(&arp_tbl, pkey, netdev); in mlx5e_ipsec_init_macs()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.c475 &arp_tbl, sparmsp); in mlxsw_sp_span_entry_gretap4_parms()
H A Dspectrum_router.c2403 NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME), in mlxsw_sp_router_neighs_update_interval_init()
2406 interval = NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME); in mlxsw_sp_router_neighs_update_interval_init()
2433 n = neigh_lookup(&arp_tbl, &dipn, dev); in mlxsw_sp_router_neigh_ent_ipv4_process()
3017 neigh_for_each(&arp_tbl, mlxsw_sp_neigh_rif_made_sync_each, &rms); in mlxsw_sp_neigh_rif_made_sync()
4622 nh->neigh_tbl = &arp_tbl; in mlxsw_sp_nexthop4_init()
5120 nh->neigh_tbl = &arp_tbl; in mlxsw_sp_nexthop_obj_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c394 tbl = &arp_tbl; in mlx5e_tc_update_neigh_used_value()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c1885 n = neigh_lookup(&arp_tbl, &tip, dev); in arp_reduce()
2113 n = neigh_lookup(&arp_tbl, &pip->daddr, dev); in route_shortcircuit()
/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c1356 n = neigh_create(&arp_tbl, &ip_addr, dev); in ofdpa_port_ipv4_resolve()
H A Drocker_main.c3141 if (n->tbl != &arp_tbl) in rocker_netevent_event()