Home
last modified time | relevance | path

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

/linux-6.12.1/net/ipv4/
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 …]
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()
Dfib_semantics.c558 n = neigh_lookup(&arp_tbl, &nhc->nhc_gw.ipv4, nhc->nhc_dev); in fib_detect_death()
Droute.c774 n = neigh_create(&arp_tbl, &new_gw, rt->dst.dev); in __ip_do_redirect()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
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-6.12.1/include/net/
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()
Droute.h380 neigh = __neigh_create(&arp_tbl, &daddr, dev, false); in ip_neigh_gw4()
/linux-6.12.1/net/atm/
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-6.12.1/drivers/net/ethernet/marvell/prestera/
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-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
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-6.12.1/Documentation/networking/
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-6.12.1/net/bridge/
Dbr_arp_nd_proxy.c191 n = neigh_lookup(&arp_tbl, &tip, vlandev); in br_do_proxy_suppress_arp()
/linux-6.12.1/drivers/infiniband/ulp/ipoib/
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-6.12.1/drivers/net/ethernet/sfc/
Dtc_counters.c111 n = neigh_lookup(&arp_tbl, &encap->neigh->dst_ip, in efx_tc_counter_work()
Dtc_encap_actions.c529 if (n->tbl == &arp_tbl) { in efx_neigh_event()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
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-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c475 &arp_tbl, sparmsp); in mlxsw_sp_span_entry_gretap4_parms()
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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c394 tbl = &arp_tbl; in mlx5e_tc_update_neigh_used_value()
/linux-6.12.1/drivers/net/vxlan/
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-6.12.1/drivers/net/ethernet/rocker/
Drocker_main.c3141 if (n->tbl != &arp_tbl) in rocker_netevent_event()
Drocker_ofdpa.c1356 n = neigh_create(&arp_tbl, &ip_addr, dev); in ofdpa_port_ipv4_resolve()