Searched refs:kDNSType_PTR (Results 1 – 11 of 11) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
D | Identify.c | 113 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()
|
D | Client.c | 55 assert(answer->rrtype == kDNSType_PTR); in BrowseCallback()
|
D | NetMonitor.c | 275 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()
|
D | ProxyResponder.c | 73 …mDNS_SetupResourceRecord(&p->RR_PTR, mDNSNULL, mDNSInterface_Any, kDNSType_PTR, 60, kDNSRecordType… in mDNS_RegisterProxyHost()
|
/external/mdnsresponder/mDNSCore/ |
D | DNSCommon.c | 154 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()
|
D | DNSCommon.h | 173 …((RR)->rrtype == kDNSType_NS || (RR)->rrtype == kDNSType_CNAME || (RR)->rrtype == kDNSType_PTR || …
|
D | uDNS.c | 200 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()
|
D | mDNS.c | 879 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 …]
|
D | mDNSEmbeddedAPI.h | 157 kDNSType_PTR, // 12 Domain name pointer enumerator
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientshim.c | 380 if (answer->rrtype != kDNSType_PTR) in FoundInstance()
|
D | uds_daemon.c | 1741 if (answer->rrtype != kDNSType_PTR) in FoundInstance() 1799 external_start_browsing_for_service(&mDNSStorage, &tmp, kDNSType_PTR); in add_domain_to_browser() 1816 external_stop_browsing_for_service(&mDNSStorage, &tmp, kDNSType_PTR); in browse_termination_callback() 1905 …mDNS_SetupResourceRecord(&ptr->ar, mDNSNULL, mDNSInterface_LocalOnly, kDNSType_PTR, 7200, kDNSReco… in RegisterLocalOnlyDomainEnumPTR() 3093 if (answer->rrtype != kDNSType_PTR) return; in enum_result_callback()
|