Lines Matching refs:AddRecord
122 #define FollowCNAME(q, rr, AddRecord) (AddRecord && (q)->qtype != kDNSType_CNAME && \ argument
442 …cal void AnswerLocalQuestionWithLocalAuthRecord(mDNS *const m, AuthRecord *rr, QC_result AddRecord) in AnswerLocalQuestionWithLocalAuthRecord() argument
453 followcname = FollowCNAME(q, &rr->resrec, AddRecord); in AnswerLocalQuestionWithLocalAuthRecord()
459 AddRecord ? "Add" : "Rmv", rr->resrec.RecordType, ARDisplayString(m, rr)); in AnswerLocalQuestionWithLocalAuthRecord()
464 if (AddRecord) rr->AnsweredLocalQ = mDNStrue; in AnswerLocalQuestionWithLocalAuthRecord()
468 q->CurrentAnswers += AddRecord ? 1 : -1; in AnswerLocalQuestionWithLocalAuthRecord()
475 q->LOAddressAnswers += AddRecord ? 1 : -1; in AnswerLocalQuestionWithLocalAuthRecord()
476 q->QuestionCallback(m, q, &rr->resrec, AddRecord); in AnswerLocalQuestionWithLocalAuthRecord()
486 q->QuestionCallback(m, q, &rr->resrec, AddRecord); in AnswerLocalQuestionWithLocalAuthRecord()
491 … AnswerInterfaceAnyQuestionsWithLocalAuthRecord(mDNS *const m, AuthRecord *rr, QC_result AddRecord) in AnswerInterfaceAnyQuestionsWithLocalAuthRecord() argument
506 AnswerLocalQuestionWithLocalAuthRecord(m, rr, AddRecord); // MUST NOT dereference q again in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
524 …void AnswerAllLocalQuestionsWithLocalAuthRecord(mDNS *const m, AuthRecord *rr, QC_result AddRecord) in AnswerAllLocalQuestionsWithLocalAuthRecord() argument
541 AnswerLocalQuestionWithLocalAuthRecord(m, rr, AddRecord); // MUST NOT dereference q again in AnswerAllLocalQuestionsWithLocalAuthRecord()
550 AnswerInterfaceAnyQuestionsWithLocalAuthRecord(m, rr, AddRecord); in AnswerAllLocalQuestionsWithLocalAuthRecord()
3303 …rCurrentQuestionWithResourceRecord(mDNS *const m, CacheRecord *const rr, const QC_result AddRecord) in AnswerCurrentQuestionWithResourceRecord() argument
3306 mDNSBool followcname = FollowCNAME(q, &rr->resrec, AddRecord); in AnswerCurrentQuestionWithResourceRecord()
3309 q->CurrentAnswers, AddRecord ? "Add" : "Rmv", rr->resrec.rroriginalttl, CRDisplayString(m, rr)); in AnswerCurrentQuestionWithResourceRecord()
3337 if (AddRecord == QC_add && !q->DuplicateOf && rr->CRActiveQuestion != q) in AnswerCurrentQuestionWithResourceRecord()
3353 if ((AddRecord == QC_addnocache && !q->RequestUnicast) || in AnswerCurrentQuestionWithResourceRecord()
3354 …(AddRecord == QC_add && (q->ExpectUnique || (rr->resrec.RecordType & kDNSRecordTypePacketUniqueMas… in AnswerCurrentQuestionWithResourceRecord()
3369 if (!AddRecord || !q->ReturnIntermed) return; in AnswerCurrentQuestionWithResourceRecord()
3379 q->QuestionCallback(m, q, &neg.resrec, AddRecord); in AnswerCurrentQuestionWithResourceRecord()
3382 q->QuestionCallback(m, q, &rr->resrec, AddRecord); in AnswerCurrentQuestionWithResourceRecord()
4984 …olve(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) in NetWakeResolve() argument
4989 LogSPS("NetWakeResolve: SPS: %d Add: %d %s", sps, AddRecord, RRDisplayString(m, answer)); in NetWakeResolve()
4991 if (!AddRecord) return; // Don't care about REMOVE events in NetWakeResolve()
8787 …oSRV(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) in FoundServiceInfoSRV() argument
8791 if (!AddRecord) return; in FoundServiceInfoSRV()
8848 …oTXT(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) in FoundServiceInfoTXT() argument
8851 if (!AddRecord) return; in FoundServiceInfoTXT()
8873 …Info(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) in FoundServiceInfo() argument
8877 if (!AddRecord) return; in FoundServiceInfo()