Searched refs:llqlease (Results 1 – 4 of 4) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 1657 opt->resrec.rdata->u.opt[0].u.llq.llqlease = lease; in FormatLLQOpt() 2127 VLog("%s LLQ for %##s from %s", llq->llqlease ? "Refreshing" : "Deleting", e->qname.c, addr); in LLQRefresh() 2129 if (llq->llqlease) in LLQRefresh() 2132 if (llq->llqlease < LLQ_MIN_LEASE) llq->llqlease = LLQ_MIN_LEASE; in LLQRefresh() 2133 else if (llq->llqlease > LLQ_MAX_LEASE) llq->llqlease = LLQ_MIN_LEASE; in LLQRefresh() 2135 e->expire = t.tv_sec + llq->llqlease; in LLQRefresh() 2143 FormatLLQOpt(&opt, kLLQOp_Refresh, &e->id, llq->llqlease ? LLQLease(e) : 0); in LLQRefresh() 2150 if (llq->llqlease) e->state = Established; in LLQRefresh() 2170 llq->llqlease > e->lease + LLQ_LEASE_FUDGE || in LLQCompleteHandshake() 2171 llq->llqlease < e->lease - LLQ_LEASE_FUDGE) in LLQCompleteHandshake() [all …]
|
/external/mdnsresponder/mDNSCore/ |
D | uDNS.c | 770 llqBuf.llqlease = q->ReqLease; in sendChallengeResponse() 793 mDNSs32 lease = (mDNSs32)llq->llqlease * mDNSPlatformOneSecond; in SetLLQTimer() 794 q->ReqLease = llq->llqlease; in SetLLQTimer() 819 if (q->ReqLease != llq->llqlease) in recvSetupResponse() 820 debugf("recvSetupResponse: requested lease %lu, granted lease %lu", q->ReqLease, llq->llqlease); in recvSetupResponse() 823 q->ReqLease = llq->llqlease; in recvSetupResponse() 824 q->expire = m->timenow + ((mDNSs32)llq->llqlease * mDNSPlatformOneSecond); in recvSetupResponse() 926 if (opt->u.llq.llqlease == 0 && m->SleepLimit) m->NextScheduledSPRetry = m->timenow; in uDNS_recvLLQResponse() 927 GrantCacheExtensions(m, q, opt->u.llq.llqlease); in uDNS_recvLLQResponse() 1011 llqData.llqlease = kLLQ_DefLease; in tcpCallback() [all …]
|
D | DNSCommon.c | 223 length += mDNS_snprintf(buffer+length, RemSpc, " Lease %d", opt->u.llq.llqlease); in GetRRDisplayString_rdb() 1742 ptr = putVal32(ptr, opt->u.llq.llqlease); in putRData() 2308 …opt->u.llq.llqlease = (mDNSu32) ((mDNSu32)ptr[14] << 24 | (mDNSu32)ptr[15] << 16 | (mDNSu32)ptr[16… in GetLargeResourceRecord() 2309 if (opt->u.llq.llqlease > 0x70000000UL / mDNSPlatformOneSecond) in GetLargeResourceRecord() 2310 opt->u.llq.llqlease = 0x70000000UL / mDNSPlatformOneSecond; in GetLargeResourceRecord()
|
D | mDNSEmbeddedAPI.h | 753 mDNSu32 llqlease; member
|