Lines Matching refs:timeleft
479 static uint32_t dhcpv4_calculate_renew_rebind_timeout(uint32_t timeleft) in dhcpv4_calculate_renew_rebind_timeout() argument
491 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() local
781 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()
820 if (timeleft == 0U) { in dhcpv4_manage_timers()
825 return timeleft; in dhcpv4_manage_timers()
827 timeleft = dhcpv4_rebinding_timeleft(iface, now); in dhcpv4_manage_timers()
828 if (timeleft == 0U) { in dhcpv4_manage_timers()
834 timeleft = dhcpv4_lease_timeleft(iface, now); in dhcpv4_manage_timers()
835 if (timeleft == 0U) { in dhcpv4_manage_timers()