Lines Matching refs:timenow

70     rr->LastAPTime = m->timenow;  in SetRecordRetry()
74 mDNSs32 remaining = rr->expire - m->timenow; in SetRecordRetry()
84 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
90 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
185 (*p)->lasttest = m->timenow - INIT_UCAST_POLL_INTERVAL; in mDNS_AddDNSServer()
250 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME); in PenalizeDNSServer()
295 q->LastQTime = m->timenow - q->ThisQInterval; in PenalizeDNSServer()
355 if ((*p)->deltime && m->timenow - (*p)->deltime >= 0 && AutoTunnelUnregistered(*p)) in GetAuthInfoForName_internal()
469 m->retryGetAddr = NonZeroTime(m->timenow + 0x78000000); in uDNS_RequestAddress()
472 else if (m->timenow - m->retryGetAddr >= 0) in uDNS_RequestAddress()
514 m->retryGetAddr = NonZeroTime(m->timenow + m->retryIntervalGetAddr); in uDNS_RequestAddress()
653 mDNSu32 when = NonZeroTime(m->timenow + waitTicks); in RecreateNATMappings()
677 m->NextScheduledNATOp = m->timenow; // Need to send packets immediately in RecreateNATMappings()
709 m->retryGetAddr = m->timenow + m->retryIntervalGetAddr; in natTraversalHandleAddressReply()
736 n->retryPortMap = m->timenow; in natTraversalHandleAddressReply()
741 m->NextScheduledNATOp = m->timenow; // Need to send packets immediately in natTraversalHandleAddressReply()
749 n->retryInterval = (n->ExpiryTime - m->timenow)/2; in NATSetNextRenewalTime()
752 n->retryPortMap = m->timenow + n->retryInterval; in NATSetNextRenewalTime()
765 n->retryPortMap = m->timenow + NATMAP_MAX_RETRY_INTERVAL; in natTraversalHandlePortMapReplyWithAddress()
774 n->ExpiryTime = NonZeroTime(m->timenow + lease * mDNSPlatformOneSecond); in natTraversalHandlePortMapReplyWithAddress()
793 m->NextScheduledNATOp = m->timenow; // May need to invoke client callback immediately in natTraversalHandlePortMapReplyWithAddress()
835 traversal->retryPortMap = m->timenow; in mDNS_StartNATOperation_internal()
854 m->retryGetAddr = m->timenow; in mDNS_StartNATOperation_internal()
866 …m->NextScheduledNATOp = m->timenow; // This will always trigger sending the packet ASAP, and gener… in mDNS_StartNATOperation_internal()
977 q->LastQTime = m->timenow - q->ThisQInterval + 1; in StartLLQPolling()
1056 q->LastQTime = m->timenow; in sendChallengeResponse()
1077 q->LastQTime = m->timenow; in SetLLQTimer()
1078 q->expire = m->timenow + lease; in SetLLQTimer()
1106 q->expire = m->timenow + ((mDNSs32)llq->llqlease * mDNSPlatformOneSecond); in recvSetupResponse()
1180 q->LastQTime = m->timenow; in uDNS_recvLLQResponse()
1208 … if (opt->u.llq.llqlease == 0 && m->SleepLimit) m->NextScheduledSPRetry = m->timenow; in uDNS_recvLLQResponse()
1323 q->LastQTime = m->timenow; in tcpCallback()
1465 q->LastQTime = m->timenow; in tcpCallback()
1493 …else if (NextQSendTime(q) - m->timenow > (q->LongLived ? LLQ_POLL_INTERVAL : MAX_UCAST_POLL_INTERV… in tcpCallback()
1497 q->LastQTime = m->timenow; in tcpCallback()
1591 q->LastQTime = m->timenow; in startLLQHandshake()
1610 q->LastQTime = m->timenow; in startLLQHandshake()
1650 q->LastQTime = m->timenow; in startLLQHandshake()
1687 q->LastQTime = m->timenow; in startLLQHandshake()
2019 r->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in UpdateAllServiceRecords()
2078 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in CompleteRecordNatMap()
2129 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in CompleteRecordNatMap()
2130 if (IsRecordMergeable(m, rr, m->timenow + MERGE_DELAY_TIME)) in CompleteRecordNatMap()
2336 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in UpdateOneSRVRecord()
2494 m->NextSRVUpdate = NonZeroTime(m->timenow); in HostnameCallback()
2531 m->NextSRVUpdate = NonZeroTime(m->timenow + 5 * mDNSPlatformOneSecond); in FoundStaticHostname()
2532 … debugf("FoundStaticHostname: NextSRVUpdate in %d %d", m->NextSRVUpdate - m->timenow, m->timenow); in FoundStaticHostname()
2538 m->NextSRVUpdate = NonZeroTime(m->timenow); in FoundStaticHostname()
2545 m->NextSRVUpdate = NonZeroTime(m->timenow); in FoundStaticHostname()
2644 m->NextSRVUpdate = NonZeroTime(m->timenow); in mDNS_RemoveDynDNSHostName()
2734 m->NextSRVUpdate = NonZeroTime(m->timenow); in mDNS_SetPrimaryInterfaceInfo()
3032 …e: Time %d not reached for %s", rr->LastAPTime + rr->ThisAPInterval - m->timenow, ARDisplayString(… in IsRecordMergeable()
3038 …if (info && info->deltime && m->timenow - info->deltime >= 0) {debugf("IsRecordMergeable: Domain %… in IsRecordMergeable()
3183 if (!IsRecordMergeable(m, rr, m->timenow + MERGE_DELAY_TIME)) continue; in MarkRRForSending()
3186 else if (!AreRecordsMergeable(m, firstRR, rr, m->timenow + MERGE_DELAY_TIME)) continue; in MarkRRForSending()
3210 (!AreRecordsMergeable(m, firstRR, rr, m->timenow + rr->ThisAPInterval/2))) in MarkRRForSending()
3320 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in SendGroupUpdates()
3390 if (rr->LastAPTime + rr->ThisAPInterval - m->timenow > 0) in CheckGroupRecordUpdates()
3429 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in hndlSRVChanged()
3572 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in hndlRecordUpdateReply()
3589 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in hndlRecordUpdateReply()
3632 m->NextScheduledNATOp = m->timenow; in uDNS_ReceiveNATPMPPacket()
3650 our_elapsed = (m->timenow - m->LastNATReplyLocalTime) / mDNSPlatformOneSecond; in uDNS_ReceiveNATPMPPacket()
3667 m->LastNATReplyLocalTime = m->timenow; in uDNS_ReceiveNATPMPPacket()
3742 client_delta = (m->timenow - m->LastNATReplyLocalTime) / mDNSPlatformOneSecond; in uDNS_ReceivePCPPacket()
3748 m->LastNATReplyLocalTime = m->timenow; in uDNS_ReceivePCPPacket()
3974 q->LastQTime = m->timenow - q->ThisQInterval; in uDNS_ReceiveTestQuestionResponse()
3975 m->NextScheduledQuery = m->timenow; in uDNS_ReceiveTestQuestionResponse()
4009 …[0] & kDNSFlag0_TC && mDNSSameOpaque16(qptr->TargetQID, msg->h.id) && m->timenow - qptr->LastQTime… in uDNS_ReceiveMsg()
4026 mDNSs32 expire = m->timenow + (mDNSs32)lease * mDNSPlatformOneSecond; in uDNS_ReceiveMsg()
4070 … if ((q->state == LLQ_Established && q->ntries >= kLLQ_MAX_TRIES) || q->expire - m->timenow < 0) in sendLLQRefresh()
4137 q->LastQTime = m->timenow; in sendLLQRefresh()
4217 q->LastQTime = m->timenow - q->ThisQInterval; in PrivateQueryGotZoneData()
4401 newRR->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in RecordRegistrationGotZoneData()
4403 if (IsRecordMergeable(m, newRR, m->timenow + MERGE_DELAY_TIME)) in RecordRegistrationGotZoneData()
4569 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in uDNS_DeregisterRecord()
4571 if (IsRecordMergeable(m, rr, m->timenow + MERGE_DELAY_TIME)) in uDNS_DeregisterRecord()
4628 rr->LastAPTime = m->timenow - INIT_RECORD_REG_INTERVAL; in uDNS_UpdateRecord()
4696 if (m->timenow - NextQSendTime(q) < 0) return; in uDNS_CheckCurrentQuestion()
4781 …else if (m->timenow - q->qDNSServer->lasttest >= INIT_UCAST_POLL_INTERVAL) // Make sure at least … in uDNS_CheckCurrentQuestion()
4785 q->qDNSServer->lasttest = m->timenow; in uDNS_CheckCurrentQuestion()
4840 q->LastQTime = m->timenow; in uDNS_CheckCurrentQuestion()
4879 q->LastQTime = m->timenow; in uDNS_CheckCurrentQuestion()
4921 CreateNewCacheEntry(m, slot, cg, NonZeroTime(m->timenow), mDNStrue, mDNSNULL); in uDNS_CheckCurrentQuestion()
4922 ScheduleNextCacheCheckTime(m, slot, NonZeroTime(m->timenow)); in uDNS_CheckCurrentQuestion()
4934 m->NextScheduledNATOp = m->timenow + 0x3FFFFFFF; in CheckNATMappings()
4981 … if (m->timenow - cur->retryPortMap >= 0) // Time to send a mapping request for this packet in CheckNATMappings()
4983 if (cur->ExpiryTime && cur->ExpiryTime - m->timenow < 0) // Mapping has expired in CheckNATMappings()
4998 cur->retryPortMap = m->timenow + cur->retryInterval; in CheckNATMappings()
5055 … (cur->ExpiryTime - m->timenow + mDNSPlatformOneSecond/2) / mDNSPlatformOneSecond : 0; in CheckNATMappings()
5071 mDNSs32 nextevent = m->timenow + 0x3FFFFFFF; in CheckRecordUpdates()
5085 if (rr->LastAPTime + rr->ThisAPInterval - m->timenow <= 0) in CheckRecordUpdates()
5129 m->NextuDNSEvent = m->timenow + 0x3FFFFFFF; in uDNS_Tasks()
5138 if (m->timenow - d->penaltyTime >= 0) in uDNS_Tasks()