Lines Matching refs:lease
136 " -f, --foreground Do not fork after getting lease\n"
137 " -b, --background Fork to background if lease cannot be\n"
140 " -n, --now Exit with failure if lease cannot be\n"
143 " -q, --quit Quit after obtaining lease\n"
280 unsigned long start = 0, lease;
502 LOG(LOG_INFO, "No lease, forking to background.");
505 LOG(LOG_INFO, "No lease, failing.");
531 /* No lease found yet, signal 'autoipd'
570 if ((t2 - t1) <= (lease / 14400 + 1)) {
585 if ((lease - t2) <= (lease / 14400 + 1)) {
597 t2 = (lease - t2) / 2 + t2;
670 LOG(LOG_ERR, "No lease time with ACK, using 1 hour lease");
671 lease = 60 * 60;
673 memcpy(&lease, temp, 4);
674 lease = ntohl(lease);
704 t1 = lease / 2;
707 t2 = (lease * 0x7) >> 3;
711 LOG(LOG_INFO, "Lease of %s obtained, lease time %ld",
712 inet_ntoa(temp_addr), lease);