/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/ |
H A D | ClientRequests.c | 70 const domainname * qname; member 191 opParams.qname = &hostname; in GetAddrInfoClientRequestStart() 291 if (inRequest->op4) return &inRequest->op4->q.qname; in GetAddrInfoClientRequestGetQName() 292 if (inRequest->op6) return &inRequest->op6->q.qname; in GetAddrInfoClientRequestGetQName() 315 domainname qname; in QueryRecordClientRequestStart() local 326 if (!MakeDomainNameFromDNSNameString(&qname, inParams->qnameStr)) in QueryRecordClientRequestStart() 335 (AlwaysAppendSearchDomains || DomainNameIsSingleLabel(&qname))) in QueryRecordClientRequestStart() 345 opParams.qname = &qname; in QueryRecordClientRequestStart() 366 if (FLAGS_CONTAIN_DNSOK_BIT(inParams->flags) && is_eligible_for_dnssec(&qname, inParams->qtype)) in QueryRecordClientRequestStart() 369 …err = create_dnssec_context_t(inRequest, inParams->requestID, &qname, inParams->qtype, inParams->q… in QueryRecordClientRequestStart() [all …]
|
H A D | uds_daemon.c | 212 … %##s (%s) (%s) Client(%d)[%s]", status ? "+Question" : "-Question", q->qname.c, DNSTypeName(q->… in LogMcastQuestion() 2482 …GenerateBrowseReply(&question->qname, answer->InterfaceID, req, &rep, browse_reply_op, flags, kDNS… in FoundInstance() 2505 …req->request_id, mDNSVal16(question->TargetQID), DM_NAME_PARAM(&question->qname), DNSTypeName(ques… in FoundInstance() 2612 info->request_id, info->flags, info->interfaceIndex, DM_NAME_PARAM(&ptr->q.qname), in browse_termination_callback() 3156 …request_id, request->flags, request->interfaceIndex, DM_NAME_PARAM(&request->u.resolve.qtxt.qname), in resolve_termination_callback() 3164 …ing_service(request->u.resolve.qsrv.InterfaceID, &request->u.resolve.qsrv.qname, request->flags, r… in resolve_termination_callback() 3219 req->sd, question->qname.c, AddRecord ? "ADD" : "RMV", in resolve_result_callback() 3453 AssignDomainName(&request->u.resolve.qsrv.qname, ¶ms.fqdn); in handle_resolve_request() 3473 AssignDomainName(&request->u.resolve.qtxt.qname, ¶ms.fqdn); in handle_resolve_request() 3502 … request->request_id, flags, interfaceIndex, DM_NAME_PARAM(&request->u.resolve.qsrv.qname), in handle_resolve_request() [all …]
|
H A D | ClientRequests.h | 29 domainname * qname; // Name of the original record. member
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_ho.c | 113 char qname[MAXDNAME +1]; /*%< domain name */ member 163 const char *qname, int qtype, 400 qp = q->qname; in ho_byaddr() 410 qp = q->qname; in ho_byaddr() 419 if (strlen(q->qname) + strlen(nibsuff) + 1 > in ho_byaddr() 420 sizeof q->qname) { in ho_byaddr() 430 qp = q2->qname; in ho_byaddr() 439 if (strlen(q2->qname) + strlen(nibsuff2) + 1 > in ho_byaddr() 440 sizeof q2->qname) { in ho_byaddr() 465 if ((n = res_nquery(pvt->res, p->qname, p->qclass, p->qtype, in ho_byaddr() [all …]
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 221 ctf_format_int(ctf_decl_t *cd, const char *vname, const char *qname, in ctf_format_int() argument 227 if (qname != NULL) in ctf_format_int() 228 ctf_decl_sprintf(cd, "%s`%s", qname, name); in ctf_format_int() 298 const char *vname, const char *qname) in ctf_type_qlname() argument 352 vname = ctf_format_int(&cd, vname, qname, name); in ctf_type_qlname() 356 if (qname != NULL) in ctf_type_qlname() 357 ctf_decl_sprintf(&cd, "%s`", qname); in ctf_type_qlname() 386 if (qname != NULL) in ctf_type_qlname() 387 ctf_decl_sprintf(&cd, "%s`", qname); in ctf_type_qlname() 392 if (qname != NULL) in ctf_type_qlname() [all …]
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/ |
H A D | mDNS.c | 233 …: Duplicate Question %p should not have LocalSocket set %##s (%s)", q, q->qname.c, DNSTypeName(q->… in mDNS_ValidateLists() 549 q->request_id, mDNSVal16(q->TargetQID), DM_NAME_PARAM(&q->qname), DNSTypeName(q->qtype)); in GenerateNegativeResponseEx() 551 …MakeNegativeCacheRecord(m, &m->rec.r, &q->qname, q->qnamehash, q->qtype, q->qclass, 60, InterfaceI… in GenerateNegativeResponseEx() 570 const mDNSBool selfref = SameDomainName(&q->qname, &rr->rdata->u.name); in AnswerQuestionByFollowingCNAME() 575 … q->request_id, mDNSVal16(q->TargetQID), q, DM_NAME_PARAM(&q->qname), DNSTypeName(q->qtype), in AnswerQuestionByFollowingCNAME() 606 … q->request_id, mDNSVal16(q->TargetQID), q, DM_NAME_PARAM(&q->qname), DNSTypeName(q->qtype), in AnswerQuestionByFollowingCNAME() 622 qNameLen = DomainNameLength(&q->qname); in AnswerQuestionByFollowingCNAME() 628 mDNSPlatformMemCopy(qName->c, q->qname.c, qNameLen); in AnswerQuestionByFollowingCNAME() 639 AssignDomainName(&q->qname, &rr->rdata->u.name); // Update qname in AnswerQuestionByFollowingCNAME() 640 q->qnamehash = DomainNameHashValue(&q->qname); // and namehash in AnswerQuestionByFollowingCNAME() [all …]
|
H A D | uDNS.c | 248 …(q->qDNSServer ? &q->qDNSServer->addr : mDNSNULL), q, DM_NAME_PARAM(&q->qname), DNSTypeName(q->qty… in PenalizeDNSServer() 332 …DM_NAME_PARAM(&q->qname), DNSTypeName(q->qtype), &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->po… in PenalizeDNSServer() 362 q, DM_NAME_PARAM(&q->qname), DNSTypeName(q->qtype), q->ThisQInterval); in PenalizeDNSServer() 412 q->AuthInfo = GetAuthInfoForName_direct(m, &q->qname); in GetAuthInfoForName_internal() 414 …info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); in GetAuthInfoForName_internal() 484 newinfo ? newinfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); in mDNS_SetSecretForDomain() 1011 debugf("StartLLQPolling: %##s", q->qname.c); in StartLLQPolling() 1027 …ptr = putQuestion(msg, ptr, msg->data + AbsoluteMaxDNSMessageData, &question->qname, question->qty… in putLLQ() 1071 …Msg("sendChallengeResponse: ERROR!!: question %##s (%s) tcp non-NULL", q->qname.c, DNSTypeName(q->… in sendChallengeResponse() 1075 … LogMsg("sendChallengeResponse: %d failed attempts for LLQ %##s", kLLQ_MAX_TRIES, q->qname.c); in sendChallengeResponse() [all …]
|
H A D | DNSCommon.c | 1267 AssignDomainName(&q->qname, name); in mDNS_SetupQuestion() 1575 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in RecordAnswersQuestion() 1665 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in LocalOnlyRecordAnswersQuestion() 1704 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in AnyTypeRecordAnswersQuestion() 1735 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in ResourceRecordAnswersUnicastResponse() 3269 ptr = getDomainName(msg, ptr, end, &question->qname); in getQuestion() 3273 question->qnamehash = DomainNameHashValue(&question->qname); in getQuestion() 3815 m->NewQuestions->qname.c, DNSTypeName(m->NewQuestions->qtype)); in ShowTaskSchedulingError() 3819 m->NewLocalOnlyQuestions->qname.c, DNSTypeName(m->NewLocalOnlyQuestions->qtype)); in ShowTaskSchedulingError()
|
H A D | mDNSEmbeddedAPI.h | 1519 …e_P2P && (Q)->InterfaceID != mDNSInterface_BLE && !(Q)->ForceMCast && !IsLocalDomain(&(Q)->qname))) 1531 #define ApplySearchDomainsFirst(q) ((q)->AppendSearchDomains && (CountLabels(&((q)->qname))) == 1) 1931 domainname qname; member 3274 extern mDNSBool DomainEnumQuery(const domainname *qname);
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_newmsg.c | 119 ns_newmsg_q(ns_newmsg *handle, ns_nname_ct qname, in ns_newmsg_q() argument 133 n = ns_name_pack(qname, t, msg->_eom - t, in ns_newmsg_q()
|
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 248 _nss_mdns_querybyname(mdns_backend_ptr_t be, char *qname, in _nss_mdns_querybyname() argument 267 name = strdup(qname); in _nss_mdns_querybyname() 279 " srchidx:%d af:%d hname:%s", srchidx, af, qname); in _nss_mdns_querybyname()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_dds.c | 237 char qname[TASKQ_NAMELEN]; in vdds_init() local 241 (void) snprintf(qname, TASKQ_NAMELEN, "vdds_taskq%d", vnetp->instance); in vdds_init() 242 if ((vdds->dds_taskqp = ddi_taskq_create(vnetp->dip, qname, 1, in vdds_init()
|
H A D | vsw.c | 584 char qname[TASKQ_NAMELEN]; in vsw_attach() local 656 (void) snprintf(qname, TASKQ_NAMELEN, "taskq%d", vswp->instance); in vsw_attach() 657 if ((vswp->taskq_p = ddi_taskq_create(vswp->dip, qname, 1, in vsw_attach() 666 (void) snprintf(qname, TASKQ_NAMELEN, "rxpool_taskq%d", in vsw_attach() 668 if ((vswp->rxp_taskq = ddi_taskq_create(vswp->dip, qname, 1, in vsw_attach()
|
H A D | vnet.c | 418 char qname[TASKQ_NAMELEN]; in vnetattach() local 472 (void) snprintf(qname, TASKQ_NAMELEN, "vres_taskq%d", instance); in vnetattach() 473 if ((vnetp->taskqp = ddi_taskq_create(dip, qname, 1, in vnetattach()
|
H A D | vnet_gen.c | 499 char qname[TASKQ_NAMELEN]; in vgen_init() local 526 (void) snprintf(qname, TASKQ_NAMELEN, "rxpool_taskq%d", in vgen_init() 528 if ((vgenp->rxp_taskq = ddi_taskq_create(vnetdip, qname, 1, in vgen_init()
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool.c | 1793 char *qname = strrchr(name, '.'); in pool_walk_any_properties() local 1794 if ((qname && qname[1] != '_') || in pool_walk_any_properties() 1795 (!qname && name[0] != '_')) { in pool_walk_any_properties()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_ev.c | 1145 sfxge_ev_kmem_cache_create(sfxge_t *sp, const char *qname, in sfxge_ev_kmem_cache_create() argument 1152 ddi_driver_name(sp->s_dip), ddi_get_instance(sp->s_dip), qname); in sfxge_ev_kmem_cache_create()
|
/illumos-gate/usr/src/head/arpa/ |
H A D | nameser.h | 688 int ns_newmsg_q(ns_newmsg *handle, ns_nname_ct qname,
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 1868 char qname[TASKQ_NAMELEN]; in hxge_map_txdma_channel_buf_ring() local 1897 (void) snprintf(qname, TASKQ_NAMELEN, "hxge_%d_%d", in hxge_map_txdma_channel_buf_ring() 1899 tx_ring_p->taskq = ddi_taskq_create(hxgep->dip, qname, 1, in hxge_map_txdma_channel_buf_ring()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_txdma.c | 2539 char qname[TASKQ_NAMELEN]; in nxge_map_txdma_channel_buf_ring() local 2576 (void) snprintf(qname, TASKQ_NAMELEN, "tx_%d_%d", in nxge_map_txdma_channel_buf_ring() 2578 tx_ring_p->taskq = ddi_taskq_create(nxgep->dip, qname, 1, in nxge_map_txdma_channel_buf_ring()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | streamio.c | 5567 char *qname; in strioctl() local 5595 qname = Q2NAME(q->q_next); in strioctl() 5596 error = strcopyout(qname, &mlist[i], strlen(qname) + 1, in strioctl()
|