Home
last modified time | relevance | path

Searched refs:timeleft (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv4/
Ddhcpv4.c479 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()
[all …]
/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv6/
Ddhcpv6.c1876 uint64_t timeleft = dhcpv6_timeleft(iface, now); in dhcpv6_manage_timers() local
1879 net_dhcpv6_state_name(iface->config.dhcpv6.state), timeleft); in dhcpv6_manage_timers()
1881 if (timeleft != 0U) { in dhcpv6_manage_timers()