Lines Matching refs:expires
96 lease->expires = (time_t)ei + now; in lease_init()
98 lease->expires = (time_t)0; in lease_init()
103 lease->expires = (time_t)ei; in lease_init()
191 ourprintf(&err, "%lu ", (unsigned long)lease->expires); in lease_update_file()
225 if (lease->expires != 0 && in lease_update_file()
226 (next_event == 0 || difftime(next_event, lease->expires + 10) > 0.0)) in lease_update_file()
227 next_event = lease->expires + 10; in lease_update_file()
254 cache_add_dhcp_entry(lease->fqdn, &lease->addr, lease->expires); in lease_update_dns()
257 cache_add_dhcp_entry(lease->hostname, &lease->addr, lease->expires); in lease_update_dns()
271 if ((lease->expires != 0 && difftime(now, lease->expires) > 0) || lease == target) in lease_prune()
336 lease->expires = 1; in lease_allocate()
359 if (exp != lease->expires) in lease_set_expires()
362 lease->expires = exp; in lease_set_expires()