/external/mdnsresponder/mDNSCore/ |
DNSCommon.h | 142 (r1)->rrtype == (r2)->rrtype && \ 151 (r1)->rrtype == (r2)->rrtype && \ 157 // A given RRType answers a QuestionType if RRType is CNAME, or types match, or QuestionType is ANY, 158 // or the RRType is NSEC and positively asserts the nonexistence of the type being requested 159 #define RRTypeAnswersQuestionType(R,Q) ((R)->rrtype == kDNSType_CNAME || (R)->rrtype == (Q) || (Q) == kDNSQType_ANY || RRAssertsNonexistence((R),(Q))) 160 #define RRAssertsNonexistence(R,T) ((R)->rrtype == kDNSType_NSEC && (T) < kDNSQType_ANY && !((R)->rdata->u.nsec.bitmap[(T)>>3] & (128 >> ((T)&7))) [all...] |
DNSCommon.c | 145 mDNSexport char *DNSTypeName(mDNSu16 rrtype) 147 switch (rrtype) 165 mDNS_snprintf(buffer, sizeof(buffer), "(%d)", rrtype); 179 mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype)); 183 switch (rr->rrtype) 1932 mDNSu16 rrtype = kDNSQType_ANY; local [all...] |
mDNS.c | 119 ((rr)->resrec.rrtype == kDNSType_A || (rr)->resrec.rrtype == kDNSType_AAAA || \ 120 (rr)->resrec.rrtype == kDNSType_CNAME)) 124 (rr)->rrtype == kDNSType_CNAME) 611 // SameResourceRecordNameClassInterface is functionally the same as SameResourceRecordSignature, except rrtype does not have to match 613 #define SameResourceRecordSignature(A,B) (A)->resrec.rrtype == (B)->resrec.rrtype && SameResourceRecordNameClassInterface((A),(B)) 644 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse); [all...] |
uDNS.c | [all...] |
mDNSEmbeddedAPI.h | 1083 mDNSu16 rrtype; member in struct:__anon31419 [all...] |
/external/chromium_org/net/dns/ |
mdns_client.h | 145 // Create listener object for RRType |rrtype| and name |name|. 147 uint16 rrtype, 152 // network, or both for records of type |rrtype| and name |name|. |flags| is 155 uint16 rrtype,
|
mdns_client_impl.h | 119 // Send a query with a specific rrtype and name. Returns true on success. 120 bool SendQuery(uint16 rrtype, std::string name); 127 void QueryCache(uint16 rrtype, const std::string& name, 177 uint16 rrtype, 182 uint16 rrtype, 202 MDnsListenerImpl(uint16 rrtype, 250 MDnsTransactionImpl(uint16 rrtype,
|
mdns_client_impl.cc | 210 bool MDnsClientImpl::Core::SendQuery(uint16 rrtype, std::string name) { 215 DnsQuery query(0, name_dns, rrtype); 414 uint16 rrtype, const std::string& name, 416 cache_.FindDnsRecords(rrtype, name, records, base::Time::Now()); 444 uint16 rrtype, 448 new MDnsListenerImpl(rrtype, name, delegate, this)); 452 uint16 rrtype, 457 new MDnsTransactionImpl(rrtype, name, flags, callback, this)); 461 uint16 rrtype, 465 : rrtype_(rrtype), name_(name), client_(client), delegate_(delegate) [all...] |
/external/mdnsresponder/mDNSPosix/ |
Identify.c | 113 if (answer->rrtype == kDNSType_PTR || answer->rrtype == kDNSType_CNAME) 117 mprintf("%##s %s %##s\n", answer->name->c, DNSTypeName(answer->rrtype), answer->rdata->u.name.c); 126 if (answer->rrtype == kDNSType_A) 131 mprintf("%##s %s %.4a\n", answer->name->c, DNSTypeName(answer->rrtype), &answer->rdata->u.ipv4); 135 else if (answer->rrtype == kDNSType_AAAA) 140 mprintf("%##s %s %.16a\n", answer->name->c, DNSTypeName(answer->rrtype), &answer->rdata->u.ipv6); 147 else if (answer->rrtype == kDNSType_HINFO) 171 if (answer->rrtype == kDNSType_PTR && mDNSSameAddress(&lastsrc, &target)) 174 mprintf("%##s %s %##s\n", answer->name->c, DNSTypeName(answer->rrtype), answer->rdata->u.name.c) [all...] |
NetMonitor.c | 268 if (pktrr->rrtype == kDNSType_A || pktrr->rrtype == kDNSType_AAAA) 275 if (pktrr->rrtype == kDNSType_PTR) 282 else if (pktrr->rrtype == kDNSType_HINFO) 297 mDNSlocal void SendUnicastQuery(mDNS *const m, HostEntry *entry, domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID) 305 qptr = putQuestion(&query, qptr, limit, name, rrtype, kDNSClass_IN); 406 mDNSlocal void recordstat(HostEntry *entry, const domainname *fqdn, int op, mDNSu16 rrtype) 413 if (rrtype == kDNSType_SRV || rrtype == kDNSType_TXT) op = op - OP_browsegroup + OP_resolvegroup; 414 else if (rrtype != kDNSType_PTR) return [all...] |
nss_mdns.c | 209 rrtype 217 rr_to_af (ns_type_t rrtype); 579 uint16_t rrtype, 854 ns_type_t rrtype; local 866 rrtype = kDNSServiceType_A; 872 rrtype = kDNSServiceType_AAAA; 892 rrtype, // resource record type 1065 uint16_t rrtype, 1101 rrtype, 1102 ns_type_to_str (rrtype) [all...] |
Client.c | 55 assert(answer->rrtype == kDNSType_PTR);
|
/external/mdnsresponder/mDNSShared/ |
dnssd_clientshim.c | 294 uint16_t rrtype, 303 (void)rrtype; // Unused 365 if (answer->rrtype != kDNSType_PTR) 366 { LogMsg("FoundInstance: Should not be called with rrtype %d (not a PTR record)", answer->rrtype); return; } 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 (answer->rrtype == kDNSType_TXT) x->TXT = answer; 579 uint16_t rrtype, [all...] |
dns_sd.h | [all...] |
dnssd_clientstub.c | 1189 uint16_t rrtype, rrclass, rdlen; local 1247 uint16_t rrtype, rrclass, rdlen; local [all...] |
uds_daemon.c | 484 // Data must be in the following format: flags, interfaceIndex, name, rrtype, rrclass, rdlen, rdata, (optional) ttl 726 if (rr->resrec.rrtype == kDNSType_SRV && SameDomainName(rr->resrec.name, r->name) && !IdenticalSameNameRecord(&rr->resrec, r)) 738 if (rr->resrec.rrtype == kDNSType_SRV && 1123 mDNSu16 rrtype = get_uint16(&request->msgptr, request->msgend); local 1352 mDNSu16 rrtype = 0; local 2970 mDNSu16 rrtype, rrclass; local [all...] |
dnsextd.c | 570 if ( lcr.r.resrec.rrtype == kDNSType_OPT && lcr.r.resrec.rdlength >= DNSOpt_LLQData_Space && lcr.r.resrec.rdata->u.opt[0].opt == kDNSOpt_LLQ ) 871 ptr[0] = (mDNSu8)(rr->rrtype >> 8); 872 ptr[1] = (mDNSu8)(rr->rrtype & 0xFF); [all...] |
/external/mdnsresponder/Clients/ |
dns-sd.c | 680 const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context) 700 switch (rrtype) 738 printf("%s%6X%3d %-30s%4d%4d %s", op, flags, ifIndex, fullname, rrtype, rrclass, rdb); 754 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclass, rdlen, rdata); 1172 uint16_t rrtype, rrclass; local [all...] |
/external/chromium_org/chrome/common/local_discovery/ |
service_discovery_client_impl.h | 71 virtual void OnNsecRecord(const std::string& name, unsigned rrtype) OVERRIDE;
|
service_discovery_client_impl.cc | 322 unsigned rrtype) {
|