Lines Matching refs:mDNSu32
204 mDNSu32 oldtotalused = r->rrauth_totalused; in GetAuthEntity()
205 mDNSu32 slot; in GetAuthEntity()
238 mDNSexport AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, con… in AuthGroupForName()
247 mDNSexport AuthGroup *AuthGroupForRecord(AuthHash *r, const mDNSu32 slot, const ResourceRecord *con… in AuthGroupForRecord()
252 mDNSlocal AuthGroup *GetAuthGroup(AuthHash *r, const mDNSu32 slot, const ResourceRecord *const rr) in GetAuthGroup()
283 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); in InsertAuthRecord()
300 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); in RemoveAuthRecord()
322 mDNSexport CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 nam… in CacheGroupForName()
331 mDNSlocal CacheGroup *CacheGroupForRecord(const mDNS *const m, const mDNSu32 slot, const ResourceRe… in CacheGroupForRecord()
401 const mDNSu32 c = q->CNAMEReferrals + 1; // Stash a copy of the new q->CNAMEReferrals value in AnswerQuestionByFollowingCNAME()
956 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); in CheckAuthIdenticalRecord()
983 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); in CheckAuthRecordConflict()
1006 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); in CheckAuthSameRecord()
1372 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); in mDNS_Deregister_internal()
1892 mDNSlocal mDNSu16 CheckSum(const void *const data, mDNSs32 length, mDNSu32 sum) in CheckSum()
1901 …, const mDNSv6Addr *const dst, const mDNSu8 protocol, const void *const data, const mDNSu32 length) in IPv6CheckSum()
2500 mDNSexport void ScheduleNextCacheCheckTime(mDNS *const m, const mDNSu32 slot, const mDNSs32 event) in ScheduleNextCacheCheckTime()
2522 rr->NextRequiredQuery += mDNSRandom((mDNSu32)TicksTTL(rr)/50); in SetNextCacheCheckTimeForRecord()
2530 #define kMinimumReconfirmTime ((mDNSu32)mDNSPlatformOneSecond * 5)
2531 #define kDefaultReconfirmTimeForWake ((mDNSu32)mDNSPlatformOneSecond * 5)
2532 #define kDefaultReconfirmTimeForNoAnswer ((mDNSu32)mDNSPlatformOneSecond * 5)
2533 #define kDefaultReconfirmTimeForFlappingInterface ((mDNSu32)mDNSPlatformOneSecond * 30)
2535 mDNSlocal mStatus mDNS_Reconfirm_internal(mDNS *const m, CacheRecord *const rr, mDNSu32 interval) in mDNS_Reconfirm_internal()
2565 CacheRecord ***kalistptrptr, mDNSu32 *answerforecast) in BuildQuestion()
2578 mDNSu32 forecast = *answerforecast; in BuildQuestion()
2579 const mDNSu32 slot = HashSlot(&q->qname); in BuildQuestion()
2648 mDNSlocal void ReconfirmAntecedents(mDNS *const m, const domainname *const name, const mDNSu32 name… in ReconfirmAntecedents()
2650 mDNSu32 slot; in ReconfirmAntecedents()
2670 …rd *CacheHasAddressTypeForName(mDNS *const m, const domainname *const name, const mDNSu32 namehash) in CacheHasAddressTypeForName()
2682 mDNSu32 bestmetric = 1000000; in FindSPSInCache1()
2689 mDNSu32 metric = SPSMetric(cr->resrec.rdata->u.name.c); in FindSPSInCache1()
2817 mDNSu32 forecast = (mDNSu32)DomainNameLength(&q->qname) + 4; in AccelerateThisQuery()
2818 const mDNSu32 slot = HashSlot(&q->qname); in AccelerateThisQuery()
2851 mDNSu32 slot; in SendQueries()
3088 …mDNSu32 answerforecast = OwnerRecordSpace; // We start by assuming we'll need at least enough spa… in SendQueries()
3121 mDNSu32 forecast = answerforecast + 12 + ar->resrec.rdestimate; in SendQueries()
3139 mDNSu32 SecsSinceRcvd = ((mDNSu32)(m->timenow - ka->TimeRcvd)) / mDNSPlatformOneSecond; in SendQueries()
3414 mDNSu32 slot; in AnswerQuestionsForDNSServerChanges()
3486 …ireRecords(mDNS *const m, const domainname *const name, const mDNSu32 namehash, const mDNSu32 slot) in CheckForSoonToExpireRecords()
3533 …q->LastQTime = m->timenow - InitialQuestionInterval + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatfo… in CacheRecordAdd()
3711 mDNSlocal void CheckCacheExpiration(mDNS *const m, const mDNSu32 slot, CacheGroup *const cg) in CheckCacheExpiration()
3787 mDNSu32 slot = HashSlot(&q->qname); in AnswerNewQuestion()
3908 mDNSu32 SecsSinceRcvd = ((mDNSu32)(m->timenow - rr->TimeRcvd)) / mDNSPlatformOneSecond; in AnswerNewQuestion()
3978 mDNSu32 slot; in AnswerNewLocalOnlyQuestion()
4067 mDNSu32 oldtotalused = m->rrcache_totalused; in GetCacheEntity()
4068 mDNSu32 slot; in GetCacheEntity()
4134 mDNSlocal CacheGroup *GetCacheGroup(mDNS *const m, const mDNSu32 slot, const ResourceRecord *const … in GetCacheGroup()
4297 mDNSu32 slot; in mDNS_Execute()
4318 mDNSu32 numchecked = 0; in mDNS_Execute()
4559 mDNSu32 slot; in QuestionHasLocalAnswers()
5181 mDNSu32 slot; in mDNSCoreMachineSleep()
5424 mDNSu32 maxttl = 0x70000000; in GenerateUnicastResponse()
5651 mDNSu32 slot = HashSlot(pktrr->name); in FindIdenticalRecordInCache()
5871 const mDNSu32 slot = HashSlot(&pktq.qname); in ProcessQuery()
6107 …m->SuppressSending = m->timenow + (delayresponse + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatformOneSec… in ProcessQuery()
6181 mDNSu32 remain = (mDNSu32)(RRExpireTime(cr) - m->timenow) / 4; in ProcessQuery()
6182 if (remain > 240 * (mDNSu32)mDNSPlatformOneSecond) in ProcessQuery()
6183 remain = 240 * (mDNSu32)mDNSPlatformOneSecond; in ProcessQuery()
6190 if (remain <= 60 * (mDNSu32)mDNSPlatformOneSecond) in ProcessQuery()
6332 …if (SrcLocal && q->ExpectUnicastResp && (mDNSu32)(m->timenow - q->ExpectUnicastResp) < (mDNSu32)(m… in ExpectingUnicastResponseForRecord()
6356 mDNSexport CacheRecord *CreateNewCacheEntry(mDNS *const m, const mDNSu32 slot, CacheGroup *cg, mDNS… in CreateNewCacheEntry()
6394 mDNSlocal void RefreshCacheRecord(mDNS *const m, CacheRecord *rr, mDNSu32 ttl) in RefreshCacheRecord()
6407 mDNSexport void GrantCacheExtensions(mDNS *const m, DNSQuestion *q, mDNSu32 lease) in GrantCacheExtensions()
6410 const mDNSu32 slot = HashSlot(&q->qname); in GrantCacheExtensions()
6420 mDNSlocal mDNSu32 GetEffectiveTTL(const uDNS_LLQType LLQType, mDNSu32 ttl) // TTL in seconds in GetEffectiveTTL()
6550 const mDNSu32 slot = HashSlot(&q.qname); in mDNSCoreReceiveResponse()
6813 const mDNSu32 slot = HashSlot(m->rec.r.resrec.name); in mDNSCoreReceiveResponse()
6946 const mDNSu32 slot = HashSlot(r1->resrec.name); in mDNSCoreReceiveResponse()
7057 mDNSu32 slot = HashSlot(&q.qname); in mDNSCoreReceiveResponse()
7096 mDNSu32 negttl = 60; in mDNSCoreReceiveResponse()
7099 mDNSu32 hash = q.qnamehash; in mDNSCoreReceiveResponse()
7116 mDNSu32 ttl_s = soa->min; in mDNSCoreReceiveResponse()
7242 mDNSu32 updatelease = 0; in mDNSCoreReceiveUpdate()
7384 mDNSu32 updatelease = 60 * 60; // If SPS fails to indicate lease time, assume one hour in mDNSCoreReceiveUpdateR()
7434 …const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass,… in MakeNegativeCacheRecord()
7708 …McastResolver(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, mDNSu32 timeout) in mDNS_AddMcastResolver()
7807 mDNSlocal mDNSu32 GetTimeoutForMcastQuestion(mDNS *m, DNSQuestion *question) in GetTimeoutForMcastQuestion()
7831 mDNSexport mDNSu32 SetValidDNSServers(mDNS *m, DNSQuestion *question) in SetValidDNSServers()
7838 mDNSu32 timeout = 0; in SetValidDNSServers()
8098 mDNSu32 slot; in CacheRecordRmvEventsForCurrentQuestion()
8159 mDNSu32 slot; in LocalRecordRmvEventsForQuestion()
8466 mDNSu32 timeout = SetValidDNSServers(m, question); in mDNS_StartQuery_internal()
8541 const mDNSu32 slot = HashSlot(&question->qname); in mDNS_StopQuery_internal()
8704 const mDNSu32 slot = HashSlot(&question->qname); in mDNS_StopQueryWithRemoves()
9080 mDNSexport mStatus mDNS_Update(mDNS *const m, AuthRecord *const rr, mDNSu32 newttl, in mDNS_Update()
9131 …mDNSu32 delay = 6 - rr->UpdateCredits; // Delay 1 second, then 2, then 3, etc. up to 6 seconds ma… in mDNS_Update()
9225 mDNSPlatformMemCopy(p, &m->HIHardware, 1 + (mDNSu32)m->HIHardware.c[0]); in AdvertiseInterface()
9227 mDNSPlatformMemCopy(p, &m->HISoftware, 1 + (mDNSu32)m->HISoftware.c[0]); in AdvertiseInterface()
9505 …if (!m->SuppressSending) m->SuppressSending = m->timenow + (mDNSs32)mDNSRandom((mDNSu32)InitialQue… in mDNS_RegisterInterface()
9616 mDNSu32 slot; in mDNS_DeregisterInterface()
9678 mDNSu32 slot; in mDNS_DeregisterInterface()
9724 mDNSu32 i; in ServiceCallback()
9771 AuthRecord *SubTypes, mDNSu32 NumSubTypes, in mDNS_RegisterService()
9772 mDNSInterfaceID InterfaceID, mDNSServiceCallback Callback, void *Context, mDNSu32 flags) in mDNS_RegisterService()
9775 mDNSu32 i; in mDNS_RegisterService()
9776 mDNSu32 hostTTL; in mDNS_RegisterService()
9905 ExtraResourceRecord *extra, RData *rdata, mDNSu32 ttl, mDNSu32 includeP2P) in mDNS_AddRecordToService()
10042 mDNSu32 i; in mDNS_DeregisterService_drt()
10590 mDNSlocal void mDNS_GrowCache_internal(mDNS *const m, CacheEntity *storage, mDNSu32 numrecords) in mDNS_GrowCache_internal()
10594 mDNSu32 i; in mDNS_GrowCache_internal()
10603 mDNSexport void mDNS_GrowCache(mDNS *const m, CacheEntity *storage, mDNSu32 numrecords) in mDNS_GrowCache()
10611 CacheEntity *rrcachestorage, mDNSu32 rrcachesize, in mDNS_Init()
10614 mDNSu32 slot; in mDNS_Init()
10848 const mDNSu32 slot = HashSlot(&q->qname); in mDNS_PurgeBeforeResolve()
10864 const mDNSu32 slot = HashSlot(&q->qname); in CacheRecordResetDNSServer()
11029 mDNSu32 slot; in uDNS_SetupDNSConfig()
11436 mDNSu32 rrcache_active = 0; in mDNS_FinalExit()
11437 mDNSu32 rrcache_totalused = 0; in mDNS_FinalExit()
11438 mDNSu32 slot; in mDNS_FinalExit()