Lines Matching defs:updatelease
4893 opt.resrec.rdata->u.opt[0].u.updatelease = DEFAULT_UPDATE_LEASE;
7242 mDNSu32 updatelease = 0;
7268 if (o->opt == kDNSOpt_Lease) updatelease = o->u.updatelease;
7277 if (!updatelease || !owner.HMAC.l[0])
7284 !updatelease ? " No lease" : "", !owner.HMAC.l[0] ? " No owner" : "");
7303 if (updatelease > 24 * 60 * 60)
7304 updatelease = 24 * 60 * 60;
7306 if (updatelease > 0x40000000UL / mDNSPlatformOneSecond)
7307 updatelease = 0x40000000UL / mDNSPlatformOneSecond;
7340 ar->TimeExpire = m->timenow + updatelease * mDNSPlatformOneSecond;
7372 opt.resrec.rdata->u.opt[0].u.updatelease = updatelease;
7384 mDNSu32 updatelease = 60 * 60; // If SPS fails to indicate lease time, assume one hour
7396 updatelease = o->u.updatelease;
7397 LogSPS("Sleep Proxy granted lease time %4d seconds", updatelease);
7413 rr->expire = NonZeroTime(m->timenow + updatelease * mDNSPlatformOneSecond);
7414 LogSPS("Sleep Proxy %s record %5d %s", rr->WakeUp.HMAC.l[0] ? "transferred" : "registered", updatelease, ARDisplayString(m,rr));