Home
last modified time | relevance | path

Searched refs:NEIGH_VAR (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/net/core/
Dneighbour.c622 n->confirmed = jiffies - (NEIGH_VAR(n->parms, BASE_REACHABLE_TIME) << 1); in ___neigh_create()
914 neigh_rand_reach_time(NEIGH_VAR(p, BASE_REACHABLE_TIME)); in neigh_periodic_work()
941 time_after(jiffies, n->used + NEIGH_VAR(n->parms, GC_STALETIME)))) { in neigh_periodic_work()
969 NEIGH_VAR(&tbl->parms, BASE_REACHABLE_TIME) >> 1); in neigh_periodic_work()
976 return NEIGH_VAR(p, UCAST_PROBES) + NEIGH_VAR(p, APP_PROBES) + in neigh_max_probes()
977 (n->nud_state & NUD_PROBE ? NEIGH_VAR(p, MCAST_REPROBES) : in neigh_max_probes()
978 NEIGH_VAR(p, MCAST_PROBES)); in neigh_max_probes()
1045 NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME))) { in neigh_timer_handler()
1050 next = now + NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME); in neigh_timer_handler()
1061 NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME))) { in neigh_timer_handler()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dneigh.c22 return NEIGH_VAR(&ipv6_stub->nd_tbl->parms, DELAY_PROBE_TIME); in mlx5e_rep_ipv6_interval()
29 unsigned long ipv4_interval = NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME); in mlx5e_rep_neigh_update_init_interval()
259 NEIGH_VAR(p, DELAY_PROBE_TIME), in mlx5e_rep_netevent_event()
/kernel/linux/linux-5.10/net/ipv4/
Darp.c375 probes -= NEIGH_VAR(neigh->parms, UCAST_PROBES); in arp_solicit()
382 probes -= NEIGH_VAR(neigh->parms, APP_PROBES); in arp_solicit()
850 NEIGH_VAR(in_dev->arp_parms, PROXY_DELAY) == 0) { in arp_process()
902 NEIGH_VAR(n->parms, LOCKTIME)) || in arp_process()
/kernel/linux/linux-5.10/net/ipv6/
Dndisc.c730 probes -= NEIGH_VAR(neigh->parms, UCAST_PROBES); in ndisc_solicit()
738 } else if ((probes -= NEIGH_VAR(neigh->parms, APP_PROBES)) < 0) { in ndisc_solicit()
898 NEIGH_VAR(idev->nd_parms, PROXY_DELAY) != 0) { in ndisc_recv_ns()
1378 if (rtime != NEIGH_VAR(in6_dev->nd_parms, BASE_REACHABLE_TIME)) { in ndisc_router_discovery()
1871 if (ctl->data == &NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)) in ndisc_ifinfo_sysctl_change()
1873 neigh_rand_reach_time(NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)); in ndisc_ifinfo_sysctl_change()
Daddrconf.c1350 max(NEIGH_VAR(idev->nd_parms, RETRANS_TIME), HZ/100) / HZ; in ipv6_create_tempaddr()
4125 max(NEIGH_VAR(ifp->idev->nd_parms, RETRANS_TIME), in addrconf_dad_work()
4532 max(NEIGH_VAR(ifp->idev->nd_parms, RETRANS_TIME), HZ/100) / HZ; in addrconf_verify_rtnl()
5622 ci.retrans_time = jiffies_to_msecs(NEIGH_VAR(idev->nd_parms, RETRANS_TIME)); in inet6_fill_ifla6_attrs()
/kernel/linux/linux-5.10/include/net/
Dneighbour.h94 #define NEIGH_VAR(p, attr) ((p)->data[NEIGH_VAR_ ## attr]) macro
99 #define NEIGH_VAR_INIT(p, attr, val) (NEIGH_VAR(p, attr) = val)
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2168 NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME), in mlxsw_sp_router_neighs_update_interval_init()
2169 NEIGH_VAR(&nd_tbl.parms, DELAY_PROBE_TIME)); in mlxsw_sp_router_neighs_update_interval_init()
2171 interval = NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME); in mlxsw_sp_router_neighs_update_interval_init()
2653 interval = jiffies_to_msecs(NEIGH_VAR(p, DELAY_PROBE_TIME)); in mlxsw_sp_router_netevent_event()