Searched refs:NEIGH_VAR (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/net/core/ |
D | neighbour.c | 680 n->confirmed = jiffies - (NEIGH_VAR(n->parms, BASE_REACHABLE_TIME) << 1); in ___neigh_create() 970 neigh_rand_reach_time(NEIGH_VAR(p, BASE_REACHABLE_TIME)); in neigh_periodic_work() 999 n->used + NEIGH_VAR(n->parms, GC_STALETIME)))) { in neigh_periodic_work() 1029 NEIGH_VAR(&tbl->parms, BASE_REACHABLE_TIME) >> 1); in neigh_periodic_work() 1036 return NEIGH_VAR(p, UCAST_PROBES) + NEIGH_VAR(p, APP_PROBES) + in neigh_max_probes() 1037 (n->nud_state & NUD_PROBE ? NEIGH_VAR(p, MCAST_REPROBES) : in neigh_max_probes() 1038 NEIGH_VAR(p, MCAST_PROBES)); in neigh_max_probes() 1105 NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME))) { in neigh_timer_handler() 1110 next = now + NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME); in neigh_timer_handler() 1121 NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME))) { in neigh_timer_handler() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | neigh.c | 22 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.6.21/net/ipv4/ |
D | arp.c | 376 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.6.21/net/ipv6/ |
D | ndisc.c | 747 probes -= NEIGH_VAR(neigh->parms, UCAST_PROBES); in ndisc_solicit() 755 } else if ((probes -= NEIGH_VAR(neigh->parms, APP_PROBES)) < 0) { in ndisc_solicit() 912 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() 1966 if (ctl->data == &NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)) in ndisc_ifinfo_sysctl_change() 1968 neigh_rand_reach_time(NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)); in ndisc_ifinfo_sysctl_change()
|
D | addrconf.c | 1390 max(NEIGH_VAR(idev->nd_parms, RETRANS_TIME), HZ/100) / HZ; in ipv6_create_tempaddr() 4221 max(NEIGH_VAR(ifp->idev->nd_parms, RETRANS_TIME), in addrconf_dad_work() 4593 max(NEIGH_VAR(ifp->idev->nd_parms, RETRANS_TIME), HZ/100) / HZ; in addrconf_verify_rtnl() 5745 ci.retrans_time = jiffies_to_msecs(NEIGH_VAR(idev->nd_parms, RETRANS_TIME)); in inet6_fill_ifla6_attrs()
|
/linux-6.6.21/include/net/ |
D | neighbour.h | 97 #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.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 2401 NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME), in mlxsw_sp_router_neighs_update_interval_init() 2402 NEIGH_VAR(&nd_tbl.parms, DELAY_PROBE_TIME)); in mlxsw_sp_router_neighs_update_interval_init() 2404 interval = NEIGH_VAR(&arp_tbl.parms, DELAY_PROBE_TIME); in mlxsw_sp_router_neighs_update_interval_init() 2916 interval = jiffies_to_msecs(NEIGH_VAR(p, DELAY_PROBE_TIME)); in mlxsw_sp_router_netevent_event()
|