Home
last modified time | relevance | path

Searched refs:qtype (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddomain.c806 int qtype; local
885 qtype = initial;
889 if (qtype == initial)
895 qtype == T_AAAA ? "AAAA" :
897 qtype == T_A ? "A" :
898 qtype == T_MX ? "MX" :
901 ret = res_querydomain(host, *dp, C_IN, qtype,
950 if (qtype == T_AAAA)
952 qtype = T_A;
957 if (qtype == T_A && !gotmx &&
[all …]
H A Dmain.c2517 char qtype[200]; local
2527 qtype[0] = '\0';
2528 (void) sm_strlcpyn(qtype, sizeof(qtype), 4,
2533 sm_setproctitle(true, CurEnv, qtype);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_ho.c111 int qclass, qtype; /*%< class and type of query */ member
163 const char *qname, int qtype,
262 q->qtype = T_A; in ho_byname2()
270 q->qtype = T_AAAA; in ho_byname2()
303 if ((n = res_nsearch(pvt->res, name, p->qclass, p->qtype, in ho_byname2()
311 if ((hp = gethostans(this, p->answer, n, name, p->qtype, in ho_byname2()
364 q->qtype = T_PTR; in ho_byaddr()
372 q->qtype = T_PTR; in ho_byaddr()
378 q2->qtype = T_PTR; in ho_byaddr()
465 if ((n = res_nquery(pvt->res, p->qname, p->qclass, p->qtype, in ho_byaddr()
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A DClientRequests.c71 mDNSu16 qtype; member
215 opParams.qtype = kDNSType_AAAA; in GetAddrInfoClientRequestStart()
224 opParams.qtype = kDNSType_A; in GetAddrInfoClientRequestStart()
334 if (RecordTypeIsAddress(inParams->qtype) && !StringEndsWithDot(inParams->qnameStr) && in QueryRecordClientRequestStart()
346 opParams.qtype = inParams->qtype; 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()
408 v4q = (inRequest->op.q.qtype == kDNSType_A) ? &inRequest->op.q : mDNSNULL; in QueryRecordClientRequestStop()
409 v6q = (inRequest->op.q.qtype == kDNSType_AAAA) ? &inRequest->op.q : mDNSNULL; in QueryRecordClientRequestStop()
422 return inRequest->op.q.qtype; in QueryRecordClientRequestGetType()
[all …]
H A DClientRequests.h93 mDNSu16 qtype; member
H A Duds_daemon.c212 … (%s) (%s) Client(%d)[%s]", status ? "+Question" : "-Question", q->qname.c, DNSTypeName(q->qtype), in LogMcastQuestion()
2505 …_id, mDNSVal16(question->TargetQID), DM_NAME_PARAM(&question->qname), DNSTypeName(question->qtype), in FoundInstance()
3454 request->u.resolve.qsrv.qtype = kDNSType_SRV; in handle_resolve_request()
3474 request->u.resolve.qtxt.qtype = kDNSType_TXT; in handle_resolve_request()
3578 DM_NAME_PARAM(&question->qname), DNSTypeName(question->qtype), AddRecord ? "ADD" : "RMV", in queryrecord_result_reply()
3642 mDNSu16 qtype; member
3684 queryParams.qtype = params->qtype; in _handle_queryrecord_request_start()
3765 …ust_check_query(request->audit_token, params->qname, service_ptr, params->qtype, (params->flags & … in _handle_queryrecord_request_with_trust()
3847 params.qtype = get_uint16(&request->msgptr, request->msgend); in handle_queryrecord_request()
3879 …request->flags, request->interfaceIndex, params.qname, DNSTypeName(params.qtype), request->process… in handle_queryrecord_request()
[all …]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c404 int qtype; in _nss_dns_gethost_withttl() local
517 qtype = T_AAAA; in _nss_dns_gethost_withttl()
520 qtype = T_A; in _nss_dns_gethost_withttl()
524 qtype = T_AAAA; in _nss_dns_gethost_withttl()
526 qtype = T_A; in _nss_dns_gethost_withttl()
530 qtype = T_AAAA; in _nss_dns_gethost_withttl()
532 qtype = T_A; in _nss_dns_gethost_withttl()
536 qtype = T_A; in _nss_dns_gethost_withttl()
540 ret = res_nsearch(statp, name, C_IN, qtype, resbuf.buf, NS_MAXMSG); in _nss_dns_gethost_withttl()
590 qtype = T_A; in _nss_dns_gethost_withttl()
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DuDNS.c248 …qDNSServer->addr : mDNSNULL), q, DM_NAME_PARAM(&q->qname), DNSTypeName(q->qtype), q->SuppressUnusa… in PenalizeDNSServer()
275 if (q->qtype == kDNSType_PTR) in PenalizeDNSServer()
292 q->qtype, reason); 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()
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()
1027 …, ptr, msg->data + AbsoluteMaxDNSMessageData, &question->qname, question->qtype, question->qclass); in putLLQ()
1071 …eResponse: ERROR!!: question %##s (%s) tcp non-NULL", q->qname.c, DNSTypeName(q->qtype)); return; } in sendChallengeResponse()
1114 …debugf("SetLLQTimer setting %##s (%s) to %d %d", q->qname.c, DNSTypeName(q->qtype), lease/mDNSPlat… in SetLLQTimer()
[all …]
H A DmDNS.c233 …cate Question %p should not have LocalSocket set %##s (%s)", q, q->qname.c, DNSTypeName(q->qtype)); 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()
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()
648 …_id, mDNSVal16(q->TargetQID), q, DM_NAME_PARAM(&q->qname), DNSTypeName(q->qtype), RRDisplayString(… in AnswerQuestionByFollowingCNAME()
725 …xtPunycodeConversion: %##s (%s) Last High-ASCII Label %##s", q->qname.c, DNSTypeName(q->qtype), h); in PerformNextPunycodeConversion()
807 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
840 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in AnswerAllLocalQuestionsWithLocalAuthRecord()
3288 …mDNSu8 *newptr = putQuestion(query, *queryptr, limit - *answerforecast, &q->qname, q->qtype, (mDNS… in BuildQuestion()
[all …]
H A DDNSCommon.c1263 … const mDNSu16 qtype, mDNSQuestionCallback *const callback, void *const context) in mDNS_SetupQuestion() argument
1268 q->qtype = qtype; in mDNS_SetupQuestion()
1270 q->LongLived = (qtype == kDNSType_PTR); in mDNS_SetupQuestion()
1271 q->ExpectUnique = (qtype != kDNSType_PTR); in mDNS_SetupQuestion()
1546 …type == kDNSType_CNAME && rr->RecordType == kDNSRecordTypePacketNegative && rr->rrtype != q->qtype) in SameNameRecordAnswersQuestion()
1550 …if (enables_dnssec_validation(q) && record_type_answers_dnssec_question(rr, q->qtype)) checkType =… in SameNameRecordAnswersQuestion()
1554 if (checkType && !RRTypeAnswersQuestionType(rr,q->qtype)) return(mDNSfalse); in SameNameRecordAnswersQuestion()
1662 if (!RRTypeAnswersQuestionType(rr,q->qtype)) return(mDNSfalse); in LocalOnlyRecordAnswersQuestion()
1727 …if (enables_dnssec_validation(q) && record_type_answers_dnssec_question(rr, q->qtype)) checkType =… in ResourceRecordAnswersUnicastResponse()
1731 if (checkType && !RRTypeAnswersQuestionType(rr,q->qtype)) return(mDNSfalse); in ResourceRecordAnswersUnicastResponse()
[all …]
H A DmDNSEmbeddedAPI.h1780 #define FollowCNAME(q, rr, AddRecord) (AddRecord && (q)->qtype != kDNSType_CNAME && \
1933 mDNSu16 qtype; member
2673 … const mDNSu16 qtype, mDNSQuestionCallback *const callback, void *const context);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_newmsg.c120 ns_type qtype, ns_class qclass) in ns_newmsg_q() argument
142 NS_PUT16(qtype, t); in ns_newmsg_q()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_queue.c33 enum qtype qtype);
986 enum qtype qtype) in oce_destroy_q() argument
993 switch (qtype) { in oce_destroy_q()
H A Doce_hw.c41 size_t req_size, enum qtype qtype);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsynch.c514 char qtype; in QVERIFY() local
525 qtype = ((qp - udp->queue_head) < QHASHSIZE)? MX : CV; in QVERIFY()
526 ASSERT(qp->qh_type == qtype); in QVERIFY()
536 ASSERT(ulwp->ul_qtype == qtype); in QVERIFY()
541 index = QUEUE_HASH(wchan, qtype); in QVERIFY()
559 queue_lock(void *wchan, int qtype) in queue_lock() argument
565 ASSERT(qtype == MX || qtype == CV); in queue_lock()
575 qp += QUEUE_HASH(wchan, qtype); in queue_lock()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c666 do_query(res_state statp, const char *dname, ns_class class, ns_type qtype, in do_query() argument
672 n = res_nmkquery(statp, ns_o_query, dname, class, qtype, in do_query()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tx.c2605 sfxge_txq_type_t qtype; in sfxge_tx_init() local
2655 for (qtype = 0; qtype < SFXGE_TXQ_NTYPES; qtype++) { in sfxge_tx_init()
2656 unsigned int tx_scale = sp->s_tx_scale_max[qtype]; in sfxge_tx_init()
2663 sp->s_tx_scale_base[qtype] = txq; in sfxge_tx_init()
2666 if ((rc = sfxge_tx_qinit(sp, txq, qtype, evq)) != 0) { in sfxge_tx_init()
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c904 arn_tx_get_qnum(struct arn_softc *sc, int qtype, int haltype) in arn_tx_get_qnum() argument
908 switch (qtype) { in arn_tx_get_qnum()
1542 arn_txq_setup(struct arn_softc *sc, int qtype, int subtype) in arn_txq_setup() argument
1570 if (qtype == ATH9K_TX_QUEUE_UAPSD) in arn_txq_setup()
1575 qnum = ath9k_hw_setuptxqueue(ah, qtype, &qi); in arn_txq_setup()
H A Darn_core.h556 struct ath_txq *arn_txq_setup(struct arn_softc *sc, int qtype, int subtype);
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_io.h65 enum qtype { enum
/illumos-gate/usr/src/head/arpa/
H A Dnameser.h689 ns_type qtype, ns_class qclass);
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dcudbg_entity.h825 u32 qtype; member
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx.c1478 mlxcx_fm_qstate_ereport(mlxcx_t *mlxp, const char *qtype, uint32_t qnum, in mlxcx_fm_qstate_ereport() argument
1495 "qtype", DATA_TYPE_STRING, qtype, in mlxcx_fm_qstate_ereport()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.h664 enum t4_bar2_qtype qtype,
/illumos-gate/usr/src/cmd/cxgbetool/
H A Dcudbg_view.c4957 cudbg_qdesc_qtype_to_str(enum cudbg_qdesc_qtype qtype) in cudbg_qdesc_qtype_to_str() argument
4959 switch (qtype) { in cudbg_qdesc_qtype_to_str()
5049 cudbg_qdesc_qtype_to_str(qdesc_entry->qtype), in view_qdesc()

12