Lines Matching refs:inOp
101 mDNSlocal mStatus QueryRecordOpStart(QueryRecordOp *inOp, const QueryRecordOpParams *inParams,
108 mDNSlocal mStatus QueryRecordOpStartQuestion(QueryRecordOp *inOp, DNSQuestion *inQuestion);
110 mDNSlocal mStatus QueryRecordOpRestartUnicastQuestion(QueryRecordOp *inOp, DNSQuestion *inQuestion,
115 mDNSlocal const domainname * NextSearchDomain(QueryRecordOp *inOp);
431 QueryRecordOp * inOp, in QueryRecordOpStartForClientRequest() argument
476 return QueryRecordOpStart(inOp, &opParams, inResultHandler, inResultContext); in QueryRecordOpStartForClientRequest()
512 mDNSlocal mStatus QueryRecordOpStart(QueryRecordOp *inOp, const QueryRecordOpParams *inParams, in QueryRecordOpStart() argument
516 DNSQuestion * const q = &inOp->q; in QueryRecordOpStart()
522 inOp->qname = (domainname *) mDNSPlatformMemAllocate(len); in QueryRecordOpStart()
523 if (!inOp->qname) in QueryRecordOpStart()
528 mDNSPlatformMemCopy(inOp->qname, inParams->qname, len); in QueryRecordOpStart()
530 inOp->interfaceID = inParams->interfaceID; in QueryRecordOpStart()
531 inOp->reqID = inParams->requestID; in QueryRecordOpStart()
532 inOp->resultHandler = inResultHandler; in QueryRecordOpStart()
533 inOp->resultContext = inResultContext; in QueryRecordOpStart()
599 …if (q->AppendSearchDomains && DomainNameIsSingleLabel(inOp->qname)) q->InterfaceID = mDNSInterface… in QueryRecordOpStart()
600 err = QueryRecordOpStartQuestion(inOp, q); in QueryRecordOpStart()
611 if ((RecordTypeIsAddress(q->qtype) || VALID_MSAD_SRV(&inOp->q)) && !q->ForceMCast && in QueryRecordOpStart()
616 q2 = (DNSQuestion *) mDNSPlatformMemAllocate((mDNSu32)sizeof(*inOp->q2)); in QueryRecordOpStart()
622 inOp->q2 = q2; in QueryRecordOpStart()
630 inOp->q2Type = q2->qtype; in QueryRecordOpStart()
631 inOp->q2LongLived = q2->LongLived; in QueryRecordOpStart()
632 inOp->q2ReturnIntermed = q2->ReturnIntermed; in QueryRecordOpStart()
633 inOp->q2TimeoutQuestion = q2->TimeoutQuestion; in QueryRecordOpStart()
634 inOp->q2AppendSearchDomains = q2->AppendSearchDomains; in QueryRecordOpStart()
646 inOp->reqID, DM_NAME_PARAM(&q2->qname), DNSTypeName(q2->qtype)); in QueryRecordOpStart()
648 err = QueryRecordOpStartQuestion(inOp, q2); in QueryRecordOpStart()
655 if (err) QueryRecordOpStop(inOp); in QueryRecordOpStart()
825 mDNSlocal mStatus QueryRecordOpStartQuestion(QueryRecordOp *inOp, DNSQuestion *inQuestion) in QueryRecordOpStartQuestion() argument
829 inQuestion->QuestionContext = inOp; in QueryRecordOpStartQuestion()
835 inOp->reqID, DM_NAME_PARAM(&inQuestion->qname), DNSTypeName(inQuestion->qtype), err); in QueryRecordOpStartQuestion()
850 mDNSlocal mStatus QueryRecordOpRestartUnicastQuestion(QueryRecordOp *inOp, DNSQuestion *inQuestion, in QueryRecordOpRestartUnicastQuestion() argument
855 inQuestion->InterfaceID = inOp->interfaceID; in QueryRecordOpRestartUnicastQuestion()
856 AssignDomainName(&inQuestion->qname, inOp->qname); in QueryRecordOpRestartUnicastQuestion()
866 err = QueryRecordOpStartQuestion(inOp, inQuestion); in QueryRecordOpRestartUnicastQuestion()
956 mDNSlocal const domainname * NextSearchDomain(QueryRecordOp *inOp) in NextSearchDomain() argument
960 …while ((domain = uDNS_GetNextSearchDomain(inOp->interfaceID, &inOp->searchListIndex, mDNSfalse)) !… in NextSearchDomain()
962 … if ((DomainNameLength(inOp->qname) - 1 + DomainNameLength(domain)) <= MAX_DOMAIN_NAME) break; in NextSearchDomain()
964 if (!domain) inOp->searchListIndex = -1; in NextSearchDomain()