Lines Matching refs:answer
354 mDNSlocal void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
365 if (answer->rrtype != kDNSType_PTR)
366 { LogMsg("FoundInstance: Should not be called with rrtype %d (not a PTR record)", answer->rrtype); return; }
368 if (!DeconstructServiceName(&answer->rdata->u.name, &name, &type, &domain))
371 answer->name->c, answer->rdata->u.name.c);
440 mDNSlocal void FoundServiceInfo(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
446 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL;
447 if (answer->rrtype == kDNSType_TXT && x->TXT == answer) x->TXT = mDNSNULL;
451 if (answer->rrtype == kDNSType_SRV) x->SRV = answer;
452 if (answeranswer;
456 ConvertDomainNameToCString(answer->name, fullname);
614 mDNSlocal void DNSServiceQueryRecordResponse(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
619 ConvertDomainNameToCString(answer->name, fullname);
621 fullname, answer->rrtype, answer->rrclass, answer->rdlength, answer->rdata->u.data, answer->rroriginalttl, x->context);