Lines Matching refs:timenow
856 if (m->mDNS_busy && m->timenow) return(m->timenow); in mDNSPlatformTimeNow()
2774 mDNSs32 timenow = mDNSPlatformTimeNow(m); in uDNS_ReceiveMsg() local
2794 if (timenow - (qptr->LastQTime + RESPONSE_WINDOW) > 0) in uDNS_ReceiveMsg()
2964 mDNSs32 timenow; in sendLLQRefresh() local
2966 timenow = mDNSPlatformTimeNow(m); in sendLLQRefresh()
2968 info->expire - timenow < 0) in sendLLQRefresh()
2994 q->LastQTime = timenow; in sendLLQRefresh()
3056 mDNSs32 timenow = mDNSPlatformTimeNow(m); in sendChallengeResponse() local
3063 info->retry = timenow + (kLLQ_DEF_RETRY * mDNSPlatformOneSecond); in sendChallengeResponse()
3078 q->LastQTime = timenow; in sendChallengeResponse()
3079 info->retry = timenow + (kLLQ_INIT_RESEND * info->ntries * mDNSPlatformOneSecond); in sendChallengeResponse()
3100 mDNSs32 timenow = mDNSPlatformTimeNow(m); in hndlRequestChallenge() local
3106 info->retry = timenow + ((mDNSs32)llq->lease * mDNSPlatformOneSecond); in hndlRequestChallenge()
3134 info->expire = timenow + ((mDNSs32)llq->lease * mDNSPlatformOneSecond); in hndlRequestChallenge()
3190 mDNSs32 timenow = mDNSPlatformTimeNow(m); in startLLQHandshake() local
3239 info->retry = timenow + (kLLQ_INIT_RESEND * mDNSPlatformOneSecond); in startLLQHandshake()
3240 q->LastQTime = timenow; in startLLQHandshake()
4790 mDNSlocal mDNSs32 CheckNATMappings(mDNS *m, mDNSs32 timenow) in CheckNATMappings() argument
4793 mDNSs32 nextevent = timenow + MIN_UCAST_PERIODIC_EXEC; in CheckNATMappings()
4801 if (cur->retry - timenow < 0) in CheckNATMappings()
4816 mDNSlocal mDNSs32 CheckQueries(mDNS *m, mDNSs32 timenow) in CheckQueries() argument
4822 mDNSs32 nextevent = timenow + MIN_UCAST_PERIODIC_EXEC; in CheckQueries()
4836 info->RestartTime + RESTART_GOODBYE_DELAY - timenow < 0) in CheckQueries()
4857 if (llq->retry - timenow < 0) in CheckQueries()
4880 if (sendtime - timenow < 0) in CheckQueries()
4897 m->SuppressStdPort53Queries = NonZeroTime(m->timenow + (mDNSPlatformOneSecond+99)/100); in CheckQueries()
4898 q->LastQTime = timenow; in CheckQueries()
4911 mDNSlocal mDNSs32 CheckRecordRegistrations(mDNS *m, mDNSs32 timenow) in CheckRecordRegistrations() argument
4916 mDNSs32 nextevent = timenow + MIN_UCAST_PERIODIC_EXEC; in CheckRecordRegistrations()
4924 if (rr->LastAPTime + rr->ThisAPInterval - timenow < 0) in CheckRecordRegistrations()
4941 if (rInfo->expire - timenow < 0) in CheckRecordRegistrations()
4953 mDNSlocal mDNSs32 CheckServiceRegistrations(mDNS *m, mDNSs32 timenow) in CheckServiceRegistrations() argument
4957 mDNSs32 nextevent = timenow + MIN_UCAST_PERIODIC_EXEC; in CheckServiceRegistrations()
4970 if (srs->RR_SRV.LastAPTime + srs->RR_SRV.ThisAPInterval - timenow < 0) in CheckServiceRegistrations()
4989 if (rInfo->expire - timenow < 0) in CheckServiceRegistrations()
5004 mDNSs32 nexte, timenow = mDNSPlatformTimeNow(m); in uDNS_Execute() local
5006 u->nextevent = timenow + MIN_UCAST_PERIODIC_EXEC; in uDNS_Execute()
5008 if (u->DelaySRVUpdate && u->NextSRVUpdate - timenow < 0) in uDNS_Execute()
5014 nexte = CheckNATMappings(m, timenow); in uDNS_Execute()
5017 if (m->SuppressStdPort53Queries && m->timenow - m->SuppressStdPort53Queries >= 0) in uDNS_Execute()
5020 nexte = CheckQueries(m, timenow); in uDNS_Execute()
5023 nexte = CheckRecordRegistrations(m, timenow); in uDNS_Execute()
5026 nexte = CheckServiceRegistrations(m, timenow); in uDNS_Execute()
5074 mDNSs32 timenow = mDNSPlatformTimeNow(m); in RestartQueries() local
5082 q->uDNS_info.RestartTime = timenow; in RestartQueries()
5104 …else { q->LastQTime = timenow; q->ThisQInterval = INIT_UCAST_POLL_INTERVAL; } // trigger poll in 1… in RestartQueries()
5134 mDNSs32 timenow = mDNSPlatformTimeNow(m); in SleepRecordRegistrations() local
5152 rr->LastAPTime = timenow; in SleepRecordRegistrations()
5161 mDNSs32 timenow = mDNSPlatformTimeNow(m); in WakeRecordRegistrations() local
5169 rr->LastAPTime = timenow; in WakeRecordRegistrations()
5221 mDNSs32 timenow = mDNSPlatformTimeNow(m); in WakeServiceRegistrations() local
5228 srs->RR_SRV.LastAPTime = timenow; in WakeServiceRegistrations()