Lines Matching refs:leasetime
868 if (ifo->leasetime != 0) { in make_message()
871 ul = htonl(ifo->leasetime); in make_message()
1443 if (get_option_uint32(ctx, &lease->leasetime, dhcp, DHO_LEASETIME) != 0) in get_lease()
1444 lease->leasetime = ~0U; /* Default to infinite lease */ in get_lease()
1898 lease->leasetime - lease->renewaltime); in dhcp_renew()
1925 ifp->name, lease->leasetime - lease->rebindtime); in dhcp_rebind()
2081 lease->leasetime = ~0U; in dhcp_bind()
2086 lease->leasetime = ~0U; in dhcp_bind()
2096 lease->leasetime = ~0U; in dhcp_bind()
2101 if (lease->leasetime == ~0U) { in dhcp_bind()
2104 lease->leasetime; in dhcp_bind()
2108 if (lease->leasetime < DHCP_MIN_LEASE) { in dhcp_bind()
2112 lease->leasetime = DHCP_MIN_LEASE; in dhcp_bind()
2116 (uint32_t)(lease->leasetime * T2); in dhcp_bind()
2117 else if (lease->rebindtime >= lease->leasetime) { in dhcp_bind()
2119 (uint32_t)(lease->leasetime * T2); in dhcp_bind()
2127 (uint32_t)(lease->leasetime * T1); in dhcp_bind()
2130 (uint32_t)(lease->leasetime * T1); in dhcp_bind()
2141 inet_ntoa(lease->addr), lease->leasetime); in dhcp_bind()
2174 if (lease->leasetime == ~0U) in dhcp_bind()
2175 lease->renewaltime = lease->rebindtime = lease->leasetime; in dhcp_bind()
2182 (time_t)lease->leasetime, dhcp_expire, ifp); in dhcp_bind()
3665 } else if (state->lease.leasetime != ~0U && in dhcp_start1()
3673 (time_t)state->lease.leasetime < now - st.st_mtime) in dhcp_start1()
3698 state->lease.leasetime -= l; in dhcp_start1()