Home
last modified time | relevance | path

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

/lk-master/external/lib/lwip/include/lwip/
A Ddhcp.h58 u32_t offered_t1_renew; /* recommended renew time (usually 50% of lease period) */ member
/lk-master/external/lib/lwip/core/
A Ddhcp.c530 dhcp->offered_t1_renew = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_T1); in dhcp_handle_ack()
533 dhcp->offered_t1_renew = dhcp->offered_t0_lease / 2; in dhcp_handle_ack()
938 if (dhcp->offered_t1_renew != 0xffffffffUL) { in dhcp_bind()
940 …DEBUG | LWIP_DBG_TRACE, ("dhcp_bind(): t1 renewal timer %"U32_F" secs\n", dhcp->offered_t1_renew)); in dhcp_bind()
941 timeout = (dhcp->offered_t1_renew + DHCP_COARSE_TIMER_SECS / 2) / DHCP_COARSE_TIMER_SECS; in dhcp_bind()
949 …WIP_DBG_STATE, ("dhcp_bind(): set request timeout %"U32_F" msecs\n", dhcp->offered_t1_renew*1000)); in dhcp_bind()
1185 dhcp->offered_t0_lease = dhcp->offered_t1_renew = dhcp->offered_t2_rebind = 0; in dhcp_release()

Completed in 5 milliseconds