Home
last modified time | relevance | path

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

/lk-master/external/lib/lwip/include/lwip/
A Ddhcp.h59 u32_t offered_t2_rebind; /* recommended rebind time (usually 66% of lease period) */ member
/lk-master/external/lib/lwip/core/
A Ddhcp.c539 dhcp->offered_t2_rebind = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_T2); in dhcp_handle_ack()
542 dhcp->offered_t2_rebind = dhcp->offered_t0_lease; in dhcp_handle_ack()
952 if (dhcp->offered_t2_rebind != 0xffffffffUL) { in dhcp_bind()
953 …DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(): t2 rebind timer %"U32_F" secs\n", dhcp->offered_t2_rebind)); in dhcp_bind()
954 timeout = (dhcp->offered_t2_rebind + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; in dhcp_bind()
962 …IP_DBG_STATE, ("dhcp_bind(): set request timeout %"U32_F" msecs\n", dhcp->offered_t2_rebind*1000)); in dhcp_bind()
1185 dhcp->offered_t0_lease = dhcp->offered_t1_renew = dhcp->offered_t2_rebind = 0; in dhcp_release()

Completed in 7 milliseconds