/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...] |
/external/chromium/net/base/ |
dnsrr_resolver.h | 99 Handle Resolve(const std::string& name, uint16 rrtype, 114 void HandleResult(const std::string& name, uint16 rrtype, int result, 119 // < name , rrtype>
|
dnssec_keyset.h | 30 // rrtype: the type of the resource records 35 uint16 rrtype,
|
dnssec_chain_verifier.cc | 51 uint16 RRtype 57 |RRtype| may be either DS, CERT or CNAME: 237 uint16 DNSSECChainVerifier::rrtype() const { function in class:net::DNSSECChainVerifier 640 uint16 rrtype; local 644 !U16(&rrtype) || 651 if (rrtype == kDNS_DS) { 653 } else if (rrtype == kDNS_CERT || rrtype == kDNS_TXT) { 655 } else if (rrtype == kDNS_CNAME) { 664 *next_name, current_zone_->name, sig, rrtype, rrdatas)) [all...] |
dnsrr_resolver.cc | 86 static bool DnsRRIsParsedByWindows(uint16 rrtype) { 88 switch (rrtype) { 148 RRResolverWorker(const std::string& name, uint16 rrtype, uint16 flags, 151 rrtype_(rrtype), 701 intptr_t DnsRRResolver::Resolve(const std::string& name, uint16 rrtype, 713 if (rrtype == kDNS_ANY) 718 const std::pair<std::string, uint16> key(make_pair(name, rrtype)); 757 RRResolverWorker* worker = new RRResolverWorker(name, rrtype, flags, this); 791 void DnsRRResolver::HandleResult(const std::string& name, uint16 rrtype, 795 const std::pair<std::string, uint16> key(std::make_pair(name, rrtype)); [all...] |
dnssec_chain_verifier.h | 28 UNKNOWN_TERMINAL_RRTYPE, // The chain proved an unknown RRTYPE. 50 // rrtype returns the RRTYPE of the proven resource records. Only call this 52 uint16 rrtype() const;
|
dnssec_keyset.cc | 54 uint16 rrtype, 92 signed_data_len += 2; // rrtype 99 signed_data_len += 2; // rrtype 109 signed_data[j++] = static_cast<uint8>(rrtype >> 8); 110 signed_data[j++] = static_cast<uint8>(rrtype); 120 signed_data[j++] = static_cast<uint8>(rrtype >> 8); 121 signed_data[j++] = static_cast<uint8>(rrtype);
|
/external/chromium_org/net/dns/ |
mdns_client.h | 131 // Create listener object for RRType |rrtype| and name |name|. 133 uint16 rrtype, 138 // network, or both for records of type |rrtype| and name |name|. |flags| is 141 uint16 rrtype,
|
mdns_client_impl.h | 115 // Send a query with a specific rrtype and name. Returns true on success. 116 bool SendQuery(uint16 rrtype, std::string name); 123 void QueryCache(uint16 rrtype, const std::string& name, 174 uint16 rrtype, 179 uint16 rrtype, 201 MDnsListenerImpl(uint16 rrtype, 238 MDnsTransactionImpl(uint16 rrtype,
|
mdns_client_impl.cc | 208 bool MDnsClientImpl::Core::SendQuery(uint16 rrtype, std::string name) { 213 DnsQuery query(0, name_dns, rrtype); 430 uint16 rrtype, const std::string& name, 432 cache_.FindDnsRecords(rrtype, name, records, base::Time::Now()); 462 uint16 rrtype, 466 new MDnsListenerImpl(rrtype, name, delegate, this)); 470 uint16 rrtype, 475 new MDnsTransactionImpl(rrtype, name, flags, callback, this)); 479 uint16 rrtype, 483 : 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/chromium/net/tools/dnssec_chain_verify/ |
dnssec_chain_verify.cc | 107 fprintf(stderr, "Chain good: rrtype:%d\n", verifier.rrtype());
|
/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/utility/local_discovery/ |
service_discovery_client_impl.h | 68 virtual void OnNsecRecord(const std::string& name, unsigned rrtype) OVERRIDE;
|