Home
last modified time | relevance | path

Searched refs:kDNSType_PTR (Results 1 – 12 of 12) sorted by relevance

/external/mdnsresponder/mDNSPosix/
DIdentify.c113 if (answer->rrtype == kDNSType_PTR || answer->rrtype == kDNSType_CNAME) in NameCallback()
171 if (answer->rrtype == kDNSType_PTR && mDNSSameAddress(&lastsrc, &target)) in ServicesCallback()
315 DoQuery(&q, buffer, kDNSType_PTR, &target, NameCallback); in main()
334 DoQuery(&q, buffer, kDNSType_PTR, &target, NameCallback); in main()
367 DoQuery(&q, "_services._dns-sd._udp.local.", kDNSType_PTR, &target, ServicesCallback); in main()
DClient.c55 assert(answer->rrtype == kDNSType_PTR); in BrowseCallback()
DNetMonitor.c275 if (pktrr->rrtype == kDNSType_PTR) in RecordHostInfo()
339 SendUnicastQuery(m, entry, &entry->revname, kDNSType_PTR, InterfaceID); in AnalyseHost()
414 else if (rrtype != kDNSType_PTR) return; in recordstat()
521 case kDNSType_PTR: n += mprintf("%##.*s", MaxWidth - n, rd->name.c); break; in DisplayResourceRecord()
DProxyResponder.c73 …mDNS_SetupResourceRecord(&p->RR_PTR, mDNSNULL, mDNSInterface_Any, kDNSType_PTR, 60, kDNSRecordType… in mDNS_RegisterProxyHost()
/external/mdnsresponder/mDNSCore/
DDNSCommon.c154 case kDNSType_PTR: return("PTR"); in DNSTypeName()
189 case kDNSType_PTR: mDNS_snprintf(buffer+length, RemSpc, "%##s", rd->name.c); break; in GetRRDisplayString_rdb()
1096 q->LongLived = (qtype == kDNSType_PTR); in mDNS_SetupQuestion()
1097 q->ExpectUnique = (qtype != kDNSType_PTR); in mDNS_SetupQuestion()
1119 case kDNSType_PTR: in RDataHashValue()
1173 case kDNSType_PTR: in SameRDataBody()
1405 case kDNSType_PTR: in GetRDLength()
1476 case kDNSType_PTR: len = DomainNameLengthLimit(&rd->u.name, rd->u.data + rdlength); in ValidateRData()
1663 case kDNSType_PTR: in putRData()
2215 case kDNSType_PTR: in GetLargeResourceRecord()
DDNSCommon.h173 …((RR)->rrtype == kDNSType_NS || (RR)->rrtype == kDNSType_CNAME || (RR)->rrtype == kDNSType_PTR || …
DuDNS.c200 if (q->qtype == kDNSType_PTR) in PenalizeDNSServer()
1701 if (r->resrec.rrtype == kDNSType_PTR) in UpdateAllServiceRecords()
2264 q->qtype = kDNSType_PTR; in GetStaticHostname()
3418 if (q->qtype != kDNSType_PTR) return(mDNStrue); // Don't need a test query for any non-PTR queries in NoTestQuery()
3445 if (pktq.qtype != kDNSType_PTR || pktq.qclass != kDNSClass_IN) return(mDNSfalse); in uDNS_ReceiveTestQuestionResponse()
4247 ….data, m->omsg.data + AbsoluteMaxDNSMessageData, DNSRelayTestQuestion, kDNSType_PTR, kDNSClass_IN); in uDNS_CheckCurrentQuestion()
4705 if (answer->rrtype != kDNSType_PTR) return; in FoundDomain()
4722 …mDNS_SetupResourceRecord(&arElem->ar, mDNSNULL, mDNSInterface_LocalOnly, kDNSType_PTR, 7200, kDNSR… in FoundDomain()
DmDNS.c879 if (rr->resrec.rrtype == kDNSType_PTR) in ActivateUnicastRegistration()
1652 …else if (rr->resrec.rrtype == kDNSType_PTR) // For service PTR, see if we want to add DeviceInfo… in AddAdditionalsToResponseList()
2164 …>ImmedAnswer && rr->resrec.RecordType == kDNSRecordTypeShared && rr->resrec.rrtype == kDNSType_PTR) in SendResponses()
2684 …if (cr->resrec.rrtype == kDNSType_PTR && cr->resrec.rdlength >= 6) // If record is PTR type, … in FindSPSInCache1()
7331 if (m->rec.r.resrec.rrtype == kDNSType_PTR) in mDNSCoreReceiveUpdate()
8748 question->qtype = kDNSType_PTR; in mDNS_StartBrowse_internal()
9043 question->qtype = kDNSType_PTR; in mDNS_GetDomains()
9176 …mDNS_SetupResourceRecord(&set->RR_PTR, mDNSNULL, set->InterfaceID, kDNSType_PTR, kHostNameTTL,… in AdvertiseInterface()
9799 …mDNS_SetupResourceRecord(&sr->RR_ADV, mDNSNULL, InterfaceID, kDNSType_PTR, kStandardTTL, kDNSRecor… in mDNS_RegisterService()
9800 …mDNS_SetupResourceRecord(&sr->RR_PTR, mDNSNULL, InterfaceID, kDNSType_PTR, kStandardTTL, kDNSRecor… in mDNS_RegisterService()
[all …]
DmDNSEmbeddedAPI.h168 kDNSType_PTR, // 12 Domain name pointer enumerator
/external/openscreen/osp/impl/discovery/mdns/
Dmdns_responder_adapter_impl.cc439 question.qtype = kDNSType_PTR; in StartPtrQuery()
887 OSP_DCHECK_EQ(answer->rrtype, kDNSType_PTR); in PtrQueryCallback()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientshim.c380 if (answer->rrtype != kDNSType_PTR) in FoundInstance()
Duds_daemon.c1747 if (answer->rrtype != kDNSType_PTR) in FoundInstance()
1805 external_start_browsing_for_service(&mDNSStorage, &tmp, kDNSType_PTR); in add_domain_to_browser()
1822 external_stop_browsing_for_service(&mDNSStorage, &tmp, kDNSType_PTR); in browse_termination_callback()
1911 …mDNS_SetupResourceRecord(&ptr->ar, mDNSNULL, mDNSInterface_LocalOnly, kDNSType_PTR, 7200, kDNSReco… in RegisterLocalOnlyDomainEnumPTR()
3099 if (answer->rrtype != kDNSType_PTR) return; in enum_result_callback()