Lines Matching refs:qptr
2893 mDNSu8 *qptr = m->omsg.data; in SendQueries() local
2901 qptr = putQuestion(&m->omsg, qptr, limit, &q->qname, q->qtype, q->qclass); in SendQueries()
2902 …mDNSSendDNSMessage(m, &m->omsg, qptr, mDNSInterface_Any, q->LocalSocket, &q->Target, q->TargetPort… in SendQueries()
3451 DNSQuestion *qptr; in AnswerQuestionsForDNSServerChanges() local
3454 for (qptr = q->next ; qptr; qptr = qptr->next) in AnswerQuestionsForDNSServerChanges()
3455 …if (qptr->DuplicateOf == q) { qptr->validDNSServers = q->validDNSServers; qptr->qDNSServer = q->qD… in AnswerQuestionsForDNSServerChanges()
6543 DNSQuestion q, *qptr = mDNSNULL; in mDNSCoreReceiveResponse() local
6545 … if (ptr && (qptr = ExpectingUnicastResponseForQuestion(m, dstport, response->h.id, &q, !dstaddr))) in mDNSCoreReceiveResponse()
6553 if (SameNameRecordAnswersQuestion(&rr->resrec, qptr)) in mDNSCoreReceiveResponse()
6564 if (qptr) in mDNSCoreReceiveResponse()
6566 …LogInfo("mDNSCoreReceiveResponse: Server %p responded with code %d to query %##s (%s)", qptr->qDNS… in mDNSCoreReceiveResponse()
6567 PenalizeDNSServer(m, qptr); in mDNSCoreReceiveResponse()
7052 DNSQuestion *qptr = mDNSNULL; in mDNSCoreReceiveResponse() local
7054 if (ptr && (qptr = ExpectingUnicastResponseForQuestion(m, dstport, response->h.id, &q, !dstaddr))) in mDNSCoreReceiveResponse()
7060 if (SameNameRecordAnswersQuestion(&rr->resrec, qptr)) in mDNSCoreReceiveResponse()
7081 if (qptr->AppendSearchDomains && !rr) in mDNSCoreReceiveResponse()
7084 m->CurrentQuestion = qptr; in mDNSCoreReceiveResponse()
7165 …heRecord(m, &m->rec.r, name, hash, q.qtype, q.qclass, negttl, mDNSInterface_Any, qptr->qDNSServer); in mDNSCoreReceiveResponse()
8124 DNSQuestion *qptr; in CacheRecordRmvEventsForCurrentQuestion() local
8130 for (qptr = m->Questions; qptr; qptr=qptr->next) in CacheRecordRmvEventsForCurrentQuestion()
8131 if (qptr != q && ActiveQuestion(qptr) && ResourceRecordAnswersQuestion(&rr->resrec, qptr)) in CacheRecordRmvEventsForCurrentQuestion()
8134 if (qptr) in CacheRecordRmvEventsForCurrentQuestion()
8137 …qptr, CRDisplayString(m,rr), q->CurrentAnswers, qptr->CurrentAnswers, qptr->SuppressUnusable, qptr… in CacheRecordRmvEventsForCurrentQuestion()
8139 rr->CRActiveQuestion = qptr; // Question used to be active; new value may or may not be null in CacheRecordRmvEventsForCurrentQuestion()
8140 if (!qptr) m->rrcache_active--; // If no longer active, decrement rrcache_active count in CacheRecordRmvEventsForCurrentQuestion()
10871 DNSQuestion *qptr; in CacheRecordResetDNSServer() local
10977 for (qptr = q->next; qptr; qptr = qptr->next) in CacheRecordResetDNSServer()
10978 if (qptr->DuplicateOf == q) qptr->deliverAddEvents = mDNStrue; in CacheRecordResetDNSServer()
10989 DNSQuestion *qptr; in DNSServerChangeForQuestion() local
11021 for (qptr = q->next ; qptr; qptr = qptr->next) in DNSServerChangeForQuestion()
11023 …if (qptr->DuplicateOf == q) { qptr->validDNSServers = q->validDNSServers; qptr->qDNSServer = new; } in DNSServerChangeForQuestion()
11121 DNSQuestion *qptr; in uDNS_SetupDNSConfig() local
11160 for (qptr = q->next ; qptr; qptr = qptr->next) in uDNS_SetupDNSConfig()
11162 if (qptr->DuplicateOf == q) ActivateUnicastQuery(m, qptr, mDNStrue); in uDNS_SetupDNSConfig()
11170 for (qptr = q->next ; qptr; qptr = qptr->next) in uDNS_SetupDNSConfig()
11171 …if (qptr->DuplicateOf == q) { qptr->validDNSServers = q->validDNSServers; qptr->qDNSServer = q->qD… in uDNS_SetupDNSConfig()
11202 DNSQuestion *qptr = cr->CRActiveQuestion; in uDNS_SetupDNSConfig() local
11203 if (qptr->qDNSServer == mDNSNULL) in uDNS_SetupDNSConfig()
11205 CRDisplayString(m, cr), qptr->qname.c, DNSTypeName(qptr->qtype), &ptr->addr); in uDNS_SetupDNSConfig()
11208 …CRDisplayString(m, cr), qptr->qname.c, DNSTypeName(qptr->qtype), &qptr->qDNSServer->addr, &ptr->a… in uDNS_SetupDNSConfig()
11210 if (qptr->qDNSServer == ptr) in uDNS_SetupDNSConfig()
11212 qptr->validDNSServers = zeroOpaque64; in uDNS_SetupDNSConfig()
11213 qptr->qDNSServer = mDNSNULL; in uDNS_SetupDNSConfig()
11218 cr->resrec.rDNSServer = qptr->qDNSServer; in uDNS_SetupDNSConfig()