Lines Matching refs:domain
1463 // However, mDNS_Deregister could have been called from a client callback (e.g. from the domain enumeration callback FoundDomain)
2960 // It's not especially noteworthy if a query finds no results -- this usually happens for domain
6621 LogInfo("mDNSCoreReceiveResponse: CNAME loop domain name %##s", m->rec.r.resrec.name->c);
6649 // that are not long lived e.g., AAAA lookup in a Private domain), it is indicated by !dstaddr.
6848 // <rdar://problem/4015377> mDNS -F returns the same domain multiple times with different casing
7106 // internal top-level domain, we make sure to cache the negative result for at least one day.
7141 // the case where the record doesn't exist (e.g. particularly for things like our lb._dns-sd._udp.<domain> query),
7720 while (*p) // Check if we already have this {interface, domain} tuple registered
7722 if ((*p)->interface == interface && SameDomainName(&(*p)->domain, d))
7724 if (!((*p)->flags & DNSServer_FlagDelete)) LogMsg("Note: Mcast Resolver domain %##s (%p) registered more than once", d->c, interface);
7745 AssignDomainName(&(*p)->domain, d);
7780 // If the name contains fewer labels than the new server's domain or the new name
7815 currcount = CountLabels(&curr->domain);
7816 bettermatch = BetterMatchForName(&question->qname, namecount, &curr->domain, currcount, bestmatchlen);
7843 debugf("SetValidDNSServers: Parsing DNS server Address %#a (Domain %##s), Scope: %d", &curr->addr, curr->domain.c, curr->scoped);
7846 { debugf("SetValidDNSServers: Delete set for index %d, DNS server %#a (Domain %##s), scoped %d", index, &curr->addr, curr->domain.c, curr->scoped); continue; }
7857 { debugf("SetValidDNSServers: Scoped DNS server %#a (Domain %##s) with Interface Any", &curr->addr, curr->domain.c); continue; }
7859 currcount = CountLabels(&curr->domain);
7862 bettermatch = BetterMatchForName(&question->qname, namecount, &curr->domain, currcount, bestmatchlen);
7873 debugf("SetValidDNSServers: question %##s Setting the bit for DNS server Address %#a (Domain %##s), Scoped:%d index %d,"
7874 " Timeout %d, interface %p", question->qname.c, &curr->addr, curr->domain.c, curr->scoped, index, curr->timeout,
7908 { debugf("GetBestServer: Delete set for index %d, DNS server %#a (Domain %##s), scoped %d", index, &curr->addr, curr->domain.c, curr->scoped); continue; }
7913 currcount = CountLabels(&curr->domain);
7916 debugf("GetBestServer: Address %#a (Domain %##s), PenaltyTime(abs) %d, PenaltyTime(rel) %d",
7917 &curr->addr, curr->domain.c, curr->penaltyTime, currPenaltyTime);
7931 // if it is picked e.g., domain match, when the packet is sent out later, the packet will
7949 if (nameMatch) bettermatch = BetterMatchForName(name, namecount, &curr->domain, currcount, bestmatchlen);
8057 // Skip Private domains as we have special addresses to get the hosts in the Private domain
8060 { LogInfo("ShouldSuppressQuery: Query not suppressed for %##s, qtype %s, Private Domain", qname, DNSTypeName(qtype)); return mDNSfalse; }
8468 // a networking change/search domain change that calls this function again we keep
8743 const domainname *const srv, const domainname *const domain,
8763 if (!ConstructServiceName(&question->qname, mDNSNULL, srv, domain)) return(mStatus_BadParamErr);
8769 const domainname *const srv, const domainname *const domain,
8774 status = mDNS_StartBrowse_internal(m, question, srv, domain, InterfaceID, ForceMCast, Callback, Context);
9760 // Name is first label of domain name (any dots in the name are actual dots, not label separators)
9762 // Domain is fully qualified domain name (i.e. ending with a null label)
9765 // If the host parameter is mDNSNULL or the root domain (ASCII NUL),
9769 const domainlabel *const name, const domainname *const type, const domainname *const domain,
9812 return(mDNS_RegisterNoSuchService(m, &sr->RR_SRV, name, type, domain, mDNSNULL, InterfaceID, NSSCallback, sr, (flags & regFlagIncludeP2P)));
9822 if (ConstructServiceName(&sr->RR_ADV.namestorage, (const domainlabel*)"\x09_services", (const domainname*)"\x07_dns-sd\x04_udp", domain) == mDNSNULL)
9824 if (ConstructServiceName(&sr->RR_PTR.namestorage, mDNSNULL, type, domain) == mDNSNULL) return(mStatus_BadParamErr);
9825 if (ConstructServiceName(&sr->RR_SRV.namestorage, name, type, domain) == mDNSNULL) return(mStatus_BadParamErr);
9848 if (ConstructServiceName(&sr->SubTypes[i].namestorage, mDNSNULL, &st, domain) == mDNSNULL) return(mStatus_BadParamErr);
9975 domainname type, domain;
9980 DeconstructServiceName(sr->RR_SRV.resrec.name, &name1, &type, &domain);
9988 if (SameDomainName(&domain, &localdomain))
9990 else debugf("%##s service (domain %##s) renamed from \"%#s\" to \"%#s\"",type.c, domain.c, name1.c, newname->c);
9992 err = mDNS_RegisterService(m, sr, newname, &type, &domain,
10079 const domainlabel *const name, const domainname *const type, const domainname *const domain,
10095 if (ConstructServiceName(&rr->namestorage, name, type, domain) == mDNSNULL) return(mStatus_BadParamErr);
10796 domainname type, domain;
10797 DeconstructServiceName(m->SPSRecords.RR_SRV.resrec.name, &name, &type, &domain);
10832 ptr, &ptr->addr, mDNSVal16(ptr->port), ptr->domain.c, CRDisplayString(m, cr));
11043 // The m->StartWABQueries is set when we get the first domain enumeration query (no need to hit the network
11044 // with domain enumeration queries until we actually need that information). Even if it is not set, we still
11075 debugf("uDNS_SetupDNSConfig: Deleting mcast resolver %##s", mr, mr->domain.c);
11131 t, t ? &t->addr : mDNSNULL, mDNSVal16(t ? t->port : zeroIPPort), t ? t->domain.c : (mDNSu8*)"",
11132 s, s ? &s->addr : mDNSNULL, mDNSVal16(s ? s->port : zeroIPPort), s ? s->domain.c : (mDNSu8*)"",
11232 debugf("uDNS_SetupDNSConfig: Deleting server %p %#a:%d (%##s)", ptr, &ptr->addr, mDNSVal16(ptr->port), ptr->domain.c);