Lines Matching refs:inAnswer

105 …Slocal void QueryRecordOpCallback(mDNS *m, DNSQuestion *inQuestion, const ResourceRecord *inAnswer,
120 mDNSlocal void NotifyWebContentFilter(const ResourceRecord *inAnswer, uid_t inUID);
701 …ecordOpCallback(mDNS *m, DNSQuestion *inQuestion, const ResourceRecord *inAnswer, QC_result inAddR… in QueryRecordOpCallback() argument
712 if (inAnswer->rrtype != kDNSType_SOA) goto exit; in QueryRecordOpCallback()
723 if (inAnswer->RecordType != kDNSRecordTypePacketNegative) in QueryRecordOpCallback()
744 else if (inAnswer->RecordType == kDNSRecordTypePacketNegative) in QueryRecordOpCallback()
767 if (!inAnswer->InterfaceID && IsLocalDomain(inAnswer->name)) in QueryRecordOpCallback()
770 (inAnswer->negativeRecordType == kNegativeRecordType_NoData)) || in QueryRecordOpCallback()
798 …if (op->resultHandler) op->resultHandler(m, inQuestion, inAnswer, inAddRecord, resultErr, op->resu… in QueryRecordOpCallback()
802 NotifyWebContentFilter(inAnswer, inQuestion->euid); in QueryRecordOpCallback()
992 mDNSlocal void NotifyWebContentFilter(const ResourceRecord *inAnswer, uid_t inUID) in NotifyWebContentFilter() argument
998 if (WCFIsServerRunning(m->WCF) && inAnswer->rdlength != 0) in NotifyWebContentFilter()
1002 if (inAnswer->rrtype == kDNSType_A || inAnswer->rrtype == kDNSType_AAAA) in NotifyWebContentFilter()
1004 if (inAnswer->rrtype == kDNSType_A) in NotifyWebContentFilter()
1010 …ata(mDNSNULL, (mDNSu8 *)&sin->sin_addr, (mDNSu8 *)(&sin->sin_addr + sizeof(mDNSv4Addr)), inAnswer)) in NotifyWebContentFilter()
1018 else if (inAnswer->rrtype == kDNSType_AAAA) in NotifyWebContentFilter()
1027 …mDNSNULL, (mDNSu8 *)&sin6->sin6_addr, (mDNSu8 *)(&sin6->sin6_addr + sizeof(mDNSv6Addr)), inAnswer)) in NotifyWebContentFilter()
1038 ConvertDomainNameToCString(inAnswer->name, name); in NotifyWebContentFilter()
1047 else if (inAnswer->rrtype == kDNSType_CNAME) in NotifyWebContentFilter()
1053 if (!putRData(mDNSNULL, cname.c, (mDNSu8 *)(cname.c + MAX_DOMAIN_NAME), inAnswer)) in NotifyWebContentFilter()
1057 ConvertDomainNameToCString(inAnswer->name, name); in NotifyWebContentFilter()