Home
last modified time | relevance | path

Searched refs:SameDomainName (Results 1 – 9 of 9) sorted by relevance

/external/mdnsresponder/mDNSCore/
DDNSCommon.h147 SameRDataBody((r1), &(r2)->rdata->u, SameDomainName) && \
148 SameDomainName((r1)->name, (r2)->name))
155 SameRDataBody((r1), &(r2)->rdata->u, SameDomainName))
DDNSCommon.c353 mDNSexport mDNSBool SameDomainName(const domainname *const d1, const domainname *const d2) in SameDomainName() function
397 if (d1 && SameDomainName(d1, nL)) return(mDNStrue); in IsLocalDomain()
398 if (d4 && SameDomainName(d4, nR)) return(mDNStrue); in IsLocalDomain()
399 if (d5 && SameDomainName(d5, n8)) return(mDNStrue); in IsLocalDomain()
400 if (d5 && SameDomainName(d5, n9)) return(mDNStrue); in IsLocalDomain()
401 if (d5 && SameDomainName(d5, nA)) return(mDNStrue); in IsLocalDomain()
402 if (d5 && SameDomainName(d5, nB)) return(mDNStrue); in IsLocalDomain()
449 …if (parent && SameDomainName((const domainname *)src, parent)) return((mDNSu16)(src - name->c + 2)… in CompressedDomainNameLength()
720 if (SameDomainName((domainname*)s0, (const domainname*)"\x09_services\x07_dns-sd\x04_udp")) in ConstructServiceName()
748 …if (len < 2 || len >= 0x40 || (len > 16 && !SameDomainName(domain, &localdomain))) return(mDNSNULL… in ConstructServiceName()
[all …]
DuDNS.c124 …mDNSSameAddress(&(*p)->addr, addr) && mDNSSameIPPort((*p)->port, port) && SameDomainName(&(*p)->do… in mDNS_AddDNSServer()
292 if (SameDomainName(&ptr->domain, n)) in GetAuthInfoForName_direct()
868 …Lived && q->qtype == pktQ.qtype && q->qnamehash == pktQ.qnamehash && SameDomainName(&q->qname, &pk… in uDNS_recvLLQResponse()
1432 …if (SameDomainName(SkipLeadingLabels(rr->resrec.name, srvcount - x), SkipLeadingLabels(&hi->fqdn, … in GetServiceTarget()
1800 if (srvt && !SameDomainName(srvt, target)) in CompleteRecordNatMap()
1940 …mDNSBool TargetChanged = (newtarget->c[0] && rr->state == regState_NoTarget) || !SameDomainName(cu… in UpdateOneSRVRecord()
2219 if (AddRecord && answer->rdlength != 0 && !SameDomainName(pktname, storedname)) in FoundStaticHostname()
2237 else if (!AddRecord && SameDomainName(pktname, storedname)) in FoundStaticHostname()
2291 while (*ptr && !SameDomainName(fqdn, &(*ptr)->fqdn)) ptr = &(*ptr)->next; in mDNS_AddDynDNSHostName()
2314 while (*ptr && !SameDomainName(fqdn, &(*ptr)->fqdn)) ptr = &(*ptr)->next; in mDNS_RemoveDynDNSHostName()
[all …]
DmDNS.c242 if (ag->namehash == namehash && SameDomainName(ag->name, name)) in AuthGroupForName()
326 if (cg->namehash == namehash && SameDomainName(cg->name, name)) in CacheGroupForName()
395 const mDNSBool selfref = SameDomainName(&q->qname, &rr->rdata->u.name); in AnswerQuestionByFollowingCNAME()
625 SameDomainName(r1->resrec.name, r2->resrec.name)); in SameResourceRecordNameClassInterface()
648 SameDomainName(pktrr->resrec.name, authrr->resrec.name)); in PacketRRMatchesSignature()
831 if (target && SameDomainName(target, newname)) in SetTargetToHostName()
834 if (target && !SameDomainName(target, newname)) in SetTargetToHostName()
1640 SameDomainName(&rr->resrec.rdata->u.srv.target, rr2->resrec.name)) in AddAdditionalsToResponseList()
1649 SameDomainName(rr->resrec.name, rr2->resrec.name)) in AddAdditionalsToResponseList()
1846 …if (SameDomainName(suffix, (const domainname*)"\x7" "in-addr" "\x4" "arpa")) return mDNSAddrType_I… in ReverseMapDomainType()
[all …]
DDNSDigest.c1451 if (!SameDomainName(algo, &HMAC_MD5_AlgName)) in DNSDigest_VerifyMessage()
DmDNSEmbeddedAPI.h2291 extern mDNSBool SameDomainName(const domainname *const d1, const domainname *const d2);
/external/mdnsresponder/mDNSShared/
Duds_daemon.c590 …if ((bestDelta == -1 || delta <= bestDelta) && SameDomainName(&delem->name, SkipLeadingLabels(d, d…
726 …if (rr->resrec.rrtype == kDNSType_SRV && SameDomainName(rr->resrec.name, r->name) && !IdenticalSam… in CountPeerRegistrations()
740 SameDomainName(rr->resrec.name, srv)) in CountExistingRegistrations()
806 …DNSInterface_P2P || (!instance->request->u.servicereg.InterfaceID && SameDomainName(&instance->dom… in regservice_callback()
1110 …DNSInterface_P2P || (!instance->request->u.servicereg.InterfaceID && SameDomainName(&instance->dom… in add_record_to_service()
1442 const mDNSBool DomainIsLocal = SameDomainName(domain, &localdomain); in register_service_instance()
1468 if (SameDomainName(&(*ptr)->domain, domain)) in register_service_instance()
1481 if (SameDomainName(&request->u.servicereg.type, (const domainname *) "\x4" "_smb" "\x4" "_tcp")) in register_service_instance()
1543 while (*ptr && !SameDomainName(&(*ptr)->domain, &d->name)) ptr = &(*ptr)->next; in udsserver_default_reg_domain_changed()
1563 if (SameDomainName(&d->name, &p->name)) break; in udsserver_default_reg_domain_changed()
[all …]
Ddnsextd.c502 if ( SameDomainName( &zone->name, name ) ) in FindZone()
1415 if (SameDomainName((*rptr)->rr.resrec.name, rr->name) && in UpdateLeaseTable()
1801 …if (lcr.r.resrec.rrtype != e->type || lcr.r.resrec.rrclass != kDNSClass_IN || !SameDomainName(lcr.… in AnswerQuestion()
2062 while (a && (a->type != e->qtype ||!SameDomainName(&a->name, &e->qname))) a = a->next; in SetAnswerList()
2293 …(cli.sin_addr.s_addr == ptr->cli.sin_addr.s_addr) && (qtype == ptr->qtype) && SameDomainName(&ptr-… in LookupLLQ()
2478 if ( SameDomainName( lcr.r.resrec.name, &(*key)->keyname ) ) in IsAuthorized()
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c276 if (SameDomainName(&entry->revname, pktrr->name)) in RecordHostInfo()
419 while (*s && !SameDomainName(&(*s)->srvtype, &srvtype)) s = &(*s)->next; in recordstat()