Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DDNSCommon.h164 SameRDataBody((r1), &(r2)->rdata->u, SameDomainName) && \
165 SameDomainName((r1)->name, (r2)->name))
172 SameRDataBody((r1), &(r2)->rdata->u, SameDomainName))
H A DuDNS.c161 if (!SameDomainName(&server->domain, domain)) continue; in mDNS_AddDNSServer()
382 if (SameDomainName(&ptr->domain, n)) in GetAuthInfoForName_direct()
1169 …Lived && q->qtype == pktQ.qtype && q->qnamehash == pktQ.qnamehash && SameDomainName(&q->qname, &pk… in uDNS_recvLLQResponse()
1715 …if (SameDomainName(SkipLeadingLabels(rr->resrec.name, srvcount - x), SkipLeadingLabels(&hi->fqdn, … in GetServiceTarget()
2080 if (srvt && !SameDomainName(srvt, target)) in CompleteRecordNatMap()
2220 …mDNSBool TargetChanged = (newtarget->c[0] && rr->state == regState_NoTarget) || !SameDomainName(cu… in UpdateOneSRVRecord()
2499 if (AddRecord && answer->rdlength != 0 && !SameDomainName(pktname, storedname)) in FoundStaticHostname()
2517 else if (!AddRecord && SameDomainName(pktname, storedname)) in FoundStaticHostname()
2572 while (*ptr && !SameDomainName(fqdn, &(*ptr)->fqdn)) ptr = &(*ptr)->next; in mDNS_AddDynDNSHostName()
2594 while (*ptr && !SameDomainName(fqdn, &(*ptr)->fqdn)) ptr = &(*ptr)->next; in mDNS_RemoveDynDNSHostName()
[all …]
H A DDNSCommon.c510 mDNSexport mDNSBool SameDomainName(const domainname *const d1, const domainname *const d2) in SameDomainName() function
554 if (d1 && SameDomainName(d1, nL)) return(mDNStrue); in IsLocalDomain()
555 if (d4 && SameDomainName(d4, nR)) return(mDNStrue); in IsLocalDomain()
556 if (d5 && SameDomainName(d5, n8)) return(mDNStrue); in IsLocalDomain()
557 if (d5 && SameDomainName(d5, n9)) return(mDNStrue); in IsLocalDomain()
558 if (d5 && SameDomainName(d5, nA)) return(mDNStrue); in IsLocalDomain()
559 if (d5 && SameDomainName(d5, nB)) return(mDNStrue); in IsLocalDomain()
606 …if (parent && SameDomainName((const domainname *)src, parent)) return((mDNSu16)(src - name->c + 2)… in CompressedDomainNameLength()
874 … if (SameDomainName((domainname*)s0, (const domainname*)"\x09_services\x07_dns-sd\x04_udp")) in ConstructServiceName()
898 …if (len < 2 || len >= 0x40 || (len > 16 && !SameDomainName(domain, &localdomain))) return(mDNSNULL… in ConstructServiceName()
[all …]
H A DmDNS.c382 if (ag->namehash == namehash && SameDomainName(ag->name, name)) in AuthGroupForName()
468 if (cg->namehash == namehash && SameDomainName(cg->name, name)) in CacheGroupForName()
570 const mDNSBool selfref = SameDomainName(&q->qname, &rr->rdata->u.name); in AnswerQuestionByFollowingCNAME()
980 SameDomainName(r1->resrec.name, r2->resrec.name)); in SameResourceRecordNameClassInterface()
1005 SameDomainName(pktrr->resrec.name, authrr->resrec.name)); in PacketRRMatchesSignature()
1197 if (target && SameDomainName(target, newname)) in SetTargetToHostName()
1200 if (target && !SameDomainName(target, newname)) in SetTargetToHostName()
2210 SameDomainName(rr2->resrec.name, additional->resrec.name)) in AddRRSetAdditionalsToResponseList()
2244 SameDomainName(&rr->resrec.rdata->u.srv.target, rr2->resrec.name)) in AddAdditionalsToResponseList()
2253 SameDomainName(rr->resrec.name, rr2->resrec.name)) in AddAdditionalsToResponseList()
[all …]
H A DDNSDigest.c1459 if (!SameDomainName(algo, (domainname *)HMAC_MD5_AlgName)) in DNSDigest_VerifyMessage()
H A DmDNSEmbeddedAPI.h2739 extern mDNSBool SameDomainName(const domainname *const d1, const domainname *const d2);
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A DClientRequests.c627 … if ((CountLabels(&q2->qname) == 2) && !SameDomainName(&q2->qname, &ActiveDirectoryPrimaryDomain) in QueryRecordOpStart()
977 if (inExcludeLocal && SameDomainName(&item->domain, &localdomain)) continue; in DomainNameIsInSearchList()
981 … if (SameDomainName(&item->domain, SkipLeadingLabels(inName, (labelCount - domainLabelCount)))) in DomainNameIsInSearchList()
H A Duds_daemon.c725 …if ((bestDelta == -1 || delta <= bestDelta) && SameDomainName(&delem->name, SkipLeadingLabels(d, d…
908 …if (rr->resrec.rrtype == kDNSType_SRV && SameDomainName(rr->resrec.name, r->name) && !IdenticalSam… in CountPeerRegistrations()
922 SameDomainName(rr->resrec.name, srv)) in CountExistingRegistrations()
1996 const mDNSBool DomainIsLocal = SameDomainName(domain, &localdomain); in register_service_instance()
2009 if (SameDomainName(&(*ptr)->domain, domain)) in register_service_instance()
2074 while (*ptr && !SameDomainName(&(*ptr)->domain, &d->name)) ptr = &(*ptr)->next; in udsserver_default_reg_domain_changed()
2094 if (SameDomainName(&d->name, &p->name)) break; in udsserver_default_reg_domain_changed()
2488 …if (SameDomainName(&req->u.browser.regtype, (const domainname*)"\x09_services\x07_dns-sd\x04_udp")) in FoundInstance()
2545 if (SameDomainName(&p->domain, d)) in add_domain_to_browser()
2634 while (*ptr && !SameDomainName(&(*ptr)->domain, &d->name)) ptr = &(*ptr)->next; in udsserver_automatic_browse_domain_changed()
[all …]