Searched refs:timeleft (Results 1 – 2 of 2) sorted by relevance
479 static uint32_t dhcpv4_calculate_renew_rebind_timeout(uint32_t timeleft) in dhcpv4_calculate_renew_rebind_timeout() argument491 if (timeleft < DHCPV4_RENEW_REBIND_TIMEOUT_MIN) { in dhcpv4_calculate_renew_rebind_timeout()492 timeout = timeleft; in dhcpv4_calculate_renew_rebind_timeout()493 } else if (timeleft / 2U < DHCPV4_RENEW_REBIND_TIMEOUT_MIN) { in dhcpv4_calculate_renew_rebind_timeout()496 timeout = timeleft / 2U; in dhcpv4_calculate_renew_rebind_timeout()777 uint32_t timeleft = dhcpv4_request_timeleft(iface, now); in dhcpv4_manage_timers() local781 net_dhcpv4_state_name(iface->config.dhcpv4.state), timeleft); in dhcpv4_manage_timers()783 if (timeleft != 0U) { in dhcpv4_manage_timers()784 return timeleft; in dhcpv4_manage_timers()819 timeleft = dhcpv4_renewal_timeleft(iface, now); in dhcpv4_manage_timers()[all …]
1876 uint64_t timeleft = dhcpv6_timeleft(iface, now); in dhcpv6_manage_timers() local1879 net_dhcpv6_state_name(iface->config.dhcpv6.state), timeleft); in dhcpv6_manage_timers()1881 if (timeleft != 0U) { in dhcpv6_manage_timers()