Home | History | Annotate | Download | only in mDNSCore

Lines Matching refs:serviceID

14129 mDNSlocal mDNSBool DNSServerMatch(DNSServer *d, mDNSInterfaceID InterfaceID, mDNSs32 ServiceID)
14137 // 3) Scoped questions (non-zero ServiceID) should consider *only* scoped DNSServers (DNSServer
14141 // unscoped. The question is unscoped only if InterfaceID is zero and ServiceID is -1.
14144 // InterfaceID for discussion and the same holds good for ServiceID):
14156 if (((d->scopeType == kScopeNone) && (!InterfaceID && ServiceID == -1)) ||
14158 ((d->scopeType == kScopeServiceID) && d->serviceID == ServiceID))
14195 // Skip DNSServers that are InterfaceID Scoped but have no valid interfaceid set OR DNSServers that are ServiceID Scoped but have no valid serviceid set
14197 ((curr->scopeType == kScopeServiceID) && (curr->serviceID <= 0)))
14199 LogInfo("SetValidDNSServers: ScopeType[%d] Skipping DNS server %#a (Domain %##s) Interface:[%p] Serviceid:[%d]",
14200 (int)curr->scopeType, &curr->addr, curr->domain.c, curr->interface, curr->serviceID);
14205 if ((!DEQuery || !curr->isCell) && DNSServerMatch(curr, question->InterfaceID, question->ServiceID))
14243 mDNSlocal DNSServer *GetBestServer(mDNS *m, const domainname *name, mDNSInterfaceID InterfaceID, mDNSs32 ServiceID, mDNSOpaque128 validBits,
14286 if (DNSServerMatch(curr, InterfaceID, ServiceID))
14318 mDNSlocal DNSServer *GetServerForName(mDNS *m, const domainname *name, mDNSInterfaceID InterfaceID, mDNSs32 ServiceID)
14332 curmatch = GetBestServer(m, name, InterfaceID, ServiceID, allValid, mDNSNULL, mDNStrue);
14361 curmatch = GetBestServer(m, name, InterfaceID, question->ServiceID, question->validDNSServers, &currindex, mDNSfalse);
14372 ifname ? ifname : "None", InterfaceID, question->ServiceID, DM_NAME_PARAM(name),
14379 ifname ? ifname : "None", InterfaceID, question->ServiceID, DM_NAME_PARAM(name),
14967 // since we would already have the question->ServiceID in that case.
14970 question->ServiceID = -1;
14973 LogInfo("InitCommonState: Query for %##s (%s), PID[%d], EUID[%d], ServiceID[%d] is already set by client", question->qname.c,
14974 DNSTypeName(question->qtype), question->pid, question->euid, question->ServiceID);
18857 // active question's InterfaceID/ServiceID for looking up the right DNS server.
18866 ptr = GetServerForName(m, cr->resrec.name, cr->CRActiveQuestion->InterfaceID, cr->CRActiveQuestion->ServiceID);