Home
last modified time | relevance | path

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

/Linux-v5.15/net/core/
Dneighbour.c621 n->confirmed = jiffies - (NEIGH_VAR(n->parms, BASE_REACHABLE_TIME) << 1); in ___neigh_create()
910 neigh_rand_reach_time(NEIGH_VAR(p, BASE_REACHABLE_TIME)); in neigh_periodic_work()
937 time_after(jiffies, n->used + NEIGH_VAR(n->parms, GC_STALETIME)))) { in neigh_periodic_work()
965 NEIGH_VAR(&tbl->parms, BASE_REACHABLE_TIME) >> 1); in neigh_periodic_work()
972 return NEIGH_VAR(p, UCAST_PROBES) + NEIGH_VAR(p, APP_PROBES) + in neigh_max_probes()
973 (n->nud_state & NUD_PROBE ? NEIGH_VAR(p, MCAST_REPROBES) : in neigh_max_probes()
974 NEIGH_VAR(p, MCAST_PROBES)); in neigh_max_probes()
1041 NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME))) { in neigh_timer_handler()
1046 next = now + NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME); in neigh_timer_handler()
1057 NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME))) { in neigh_timer_handler()
[all …]
/Linux-v5.15/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-v5.15/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()
/Linux-v5.15/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()
1382 if (rtime != NEIGH_VAR(in6_dev->nd_parms, BASE_REACHABLE_TIME)) { in ndisc_router_discovery()
1880 if (ctl->data == &NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)) in ndisc_ifinfo_sysctl_change()
1882 neigh_rand_reach_time(NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)); in ndisc_ifinfo_sysctl_change()
Daddrconf.c1359 max(NEIGH_VAR(idev->nd_parms, RETRANS_TIME), HZ/100) / HZ; in ipv6_create_tempaddr()
4128 max(NEIGH_VAR(ifp->idev->nd_parms, RETRANS_TIME), in addrconf_dad_work()
4537 max(NEIGH_VAR(ifp->idev->nd_parms, RETRANS_TIME), HZ/100) / HZ; in addrconf_verify_rtnl()
5632 ci.retrans_time = jiffies_to_msecs(NEIGH_VAR(idev->nd_parms, RETRANS_TIME)); in inet6_fill_ifla6_attrs()
/Linux-v5.15/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)
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2273 NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME), in mlxsw_sp_router_neighs_update_interval_init()
2274 NEIGH_VAR(&nd_tbl.parms, DELAY_PROBE_TIME)); in mlxsw_sp_router_neighs_update_interval_init()
2276 interval = NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME); in mlxsw_sp_router_neighs_update_interval_init()
2762 interval = jiffies_to_msecs(NEIGH_VAR(p, DELAY_PROBE_TIME)); in mlxsw_sp_router_netevent_event()