Home
last modified time | relevance | path

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

/linux-6.1.9/net/core/
Dneighbour.c693 n->confirmed = jiffies - (NEIGH_VAR(n->parms, BASE_REACHABLE_TIME) << 1); in ___neigh_create()
982 neigh_rand_reach_time(NEIGH_VAR(p, BASE_REACHABLE_TIME)); in neigh_periodic_work()
1009 time_after(jiffies, n->used + NEIGH_VAR(n->parms, GC_STALETIME)))) { in neigh_periodic_work()
1037 NEIGH_VAR(&tbl->parms, BASE_REACHABLE_TIME) >> 1); in neigh_periodic_work()
1044 return NEIGH_VAR(p, UCAST_PROBES) + NEIGH_VAR(p, APP_PROBES) + in neigh_max_probes()
1045 (n->nud_state & NUD_PROBE ? NEIGH_VAR(p, MCAST_REPROBES) : in neigh_max_probes()
1046 NEIGH_VAR(p, MCAST_PROBES)); in neigh_max_probes()
1113 NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME))) { in neigh_timer_handler()
1118 next = now + NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME); in neigh_timer_handler()
1129 NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME))) { in neigh_timer_handler()
[all …]
/linux-6.1.9/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()
260 NEIGH_VAR(p, DELAY_PROBE_TIME), in mlx5e_rep_netevent_event()
/linux-6.1.9/net/ipv6/
Dndisc.c746 probes -= NEIGH_VAR(neigh->parms, UCAST_PROBES); in ndisc_solicit()
754 } else if ((probes -= NEIGH_VAR(neigh->parms, APP_PROBES)) < 0) { in ndisc_solicit()
914 NEIGH_VAR(idev->nd_parms, PROXY_DELAY) != 0) { in ndisc_recv_ns()
1450 if (rtime != NEIGH_VAR(in6_dev->nd_parms, BASE_REACHABLE_TIME)) { in ndisc_router_discovery()
1958 if (ctl->data == &NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)) in ndisc_ifinfo_sysctl_change()
1960 neigh_rand_reach_time(NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)); in ndisc_ifinfo_sysctl_change()
Daddrconf.c1366 max(NEIGH_VAR(idev->nd_parms, RETRANS_TIME), HZ/100) / HZ; in ipv6_create_tempaddr()
4164 max(NEIGH_VAR(ifp->idev->nd_parms, RETRANS_TIME), in addrconf_dad_work()
4535 max(NEIGH_VAR(ifp->idev->nd_parms, RETRANS_TIME), HZ/100) / HZ; in addrconf_verify_rtnl()
5681 ci.retrans_time = jiffies_to_msecs(NEIGH_VAR(idev->nd_parms, RETRANS_TIME)); in inet6_fill_ifla6_attrs()
/linux-6.1.9/net/ipv4/
Darp.c376 probes -= NEIGH_VAR(neigh->parms, UCAST_PROBES); in arp_solicit()
383 probes -= NEIGH_VAR(neigh->parms, APP_PROBES); in arp_solicit()
871 NEIGH_VAR(in_dev->arp_parms, PROXY_DELAY) == 0) { in arp_process()
923 NEIGH_VAR(n->parms, LOCKTIME)) || in arp_process()
/linux-6.1.9/include/net/
Dneighbour.h97 #define NEIGH_VAR(p, attr) ((p)->data[NEIGH_VAR_ ## attr]) macro
102 #define NEIGH_VAR_INIT(p, attr, val) (NEIGH_VAR(p, attr) = val)
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2299 NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME), in mlxsw_sp_router_neighs_update_interval_init()
2300 NEIGH_VAR(&nd_tbl.parms, DELAY_PROBE_TIME)); in mlxsw_sp_router_neighs_update_interval_init()
2302 interval = NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME); in mlxsw_sp_router_neighs_update_interval_init()
2791 interval = jiffies_to_msecs(NEIGH_VAR(p, DELAY_PROBE_TIME)); in mlxsw_sp_router_netevent_event()