/external/mdnsresponder/mDNSCore/ |
mDNSEmbeddedAPI.h | 403 // For records containing a hostname (in the name on the left, or in the rdata on the right), 633 // -- It is okay for several hosts to have RRs with the same name but different RDATA 643 // -- If two entities on the network have RRs with the same name but different RDATA, this is a conflict 1104 RData *rdata; \/\/ Pointer to storage for this rdata member in struct:__anon25416 [all...] |
DNSCommon.h | 128 // the same name, type, class, and identical rdata (InterfaceID and TTL may differ) 134 // it's common to have a whole bunch or records with exactly the same name (e.g. "_http._tcp.local") but different RDATA. 136 // used to waste a lot of CPU time verifying that the names match, only then to find that the RDATA is different. 138 // By swapping the checks so that we check the RDATA first, we can quickly detect when it's different 147 SameRDataBody((r1), &(r2)->rdata->u, SameDomainName) && \ 155 SameRDataBody((r1), &(r2)->rdata->u, SameDomainName)) 160 #define RRAssertsNonexistence(R,T) ((R)->rrtype == kDNSType_NSEC && (T) < kDNSQType_ANY && !((R)->rdata->u.nsec.bitmap[(T)>>3] & (128 >> ((T)&7)))) 170 extern mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd); 173 ((RR)->rrtype == kDNSType_NS || (RR)->rrtype == kDNSType_CNAME || (RR)->rrtype == kDNSType_PTR || (RR)->rrtype == kDNSType_DNAME) ? &(RR)->rdata->u.name : \ 174 ((RR)->rrtype == kDNSType_MX || (RR)->rrtype == kDNSType_AFSDB || (RR)->rrtype == kDNSType_RT || (RR)->rrtype == kDNSType_KX ) ? &(RR)->rdata->u.mx.exchange : [all...] |
DNSCommon.c | 172 // the rdata from the RDataBody object. Sometimes this could be the wrong length -- but as 181 if (!rr->rdlength) { mDNS_snprintf(buffer+length, RemSpc, "<< ZERO RDATA LENGTH >>"); return(buffer); } [all...] |
mDNS.c | 395 const mDNSBool selfref = SameDomainName(&q->qname, &rr->rdata->u.name); 422 AssignDomainName(&q->qname, &rr->rdata->u.name); // Update qname 606 // TTL and rdata may differ. 635 // and require the rrtypes to match for the rdata to be considered potentially conflicting 657 // so now we just need to check the name, type, class, rdata and TTL. [all...] |
/external/llvm/lib/CodeGen/ |
ScheduleDAGInstrs.cpp | [all...] |
/external/mdnsresponder/mDNSShared/ |
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 ) 793 cr->resrec.rdata = (RData*)&cr->smallrdatastorage; 854 GetRRDisplayString_rdb(&ptr->rr.resrec, &ptr->rr.resrec.rdata->u, rrbuf)); 875 mDNSPlatformMemZero(ptr+4, sizeof(rr->rroriginalttl) + sizeof(rr->rdlength)); // zero ttl/rdata 890 rr.resrec.rdata->u.srv.priority = 0; 891 rr.resrec.rdata->u.srv.weight = 0; 892 rr.resrec.rdata->u.srv.port = port; 893 if (gethostname(hostname, 1024) < 0 || !MakeDomainNameFromDNSNameString(&rr.resrec.rdata->u.srv.target, hostname)) 894 rr.resrec.rdata->u.srv.target.c[0] = '\0' [all...] |
uds_daemon.c | 484 // Data must be in the following format: flags, interfaceIndex, name, rrtype, rrclass, rdlen, rdata, (optional) ttl 495 const char *rdata = get_rdata (&request->msgptr, request->msgend, rdlen); local 542 rr->resrec.rdata->MaxRDLength = rdlen; 543 mDNSPlatformMemCopy(rr->resrec.rdata->u.data, rdata, rdlen); 679 if (rr->resrec.rdata != &rr->rdatastorage) 680 freeL("Extra RData", rr->resrec.rdata); 709 if (srv->srs.RR_TXT.resrec.rdata != &srv->srs.RR_TXT.rdatastorage) 710 freeL("TXT RData", srv->srs.RR_TXT.resrec.rdata) 1125 const char *rdata = get_rdata (&request->msgptr, request->msgend, rdlen); local 1214 const char *rdata = get_rdata (&request->msgptr, request->msgend, rdlen); local [all...] |