Lines Matching refs:expires
96 lease->expires = (time_t)ei + now;
98 lease->expires = (time_t)0;
103 lease->expires = (time_t)ei;
191 ourprintf(&err, "%lu ", (unsigned long)lease->expires);
223 /* Set alarm for when the first lease expires + slop. */
225 if (lease->expires != 0 &&
226 (next_event == 0 || difftime(next_event, lease->expires + 10) > 0.0))
227 next_event = lease->expires + 10;
254 cache_add_dhcp_entry(lease->fqdn, &lease->addr, lease->expires);
257 cache_add_dhcp_entry(lease->hostname, &lease->addr, lease->expires);
271 if ((lease->expires != 0 && difftime(now, lease->expires) > 0) || lease == target)
336 lease->expires = 1;
359 if (exp != lease->expires)
362 lease->expires = exp;