qtype
getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
switch (qtype) {
if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) {
if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) &&
if (qtype == T_ANY) {
} else if (type != qtype) {
qname, p_class(C_IN), p_type(qtype),
if (res->nsort && qtype == T_A) {
q.qtype = T_A;
q2.qtype = T_AAAA;
q.qtype = T_A;
q.qtype = T_AAAA;
int qclass, qtype; /* class and type of query */
ai = getanswer(buf2, q2.n, q2.name, q2.qtype, pai, res);
ai = getanswer(buf, q.n, q.name, q.qtype, pai, res);
type = t->qtype;
gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
switch (qtype) {
if (qtype == T_A || qtype == T_AAAA) {
if (qtype == T_A && type == T_A)
if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) {
if (qtype == T_PTR && type == T_CNAME) {
if (type != qtype) {
qname, p_class(C_IN), p_type(qtype),
if (statp->nsort && haveanswer > 1 && qtype == T_A)
__dns_getanswer(const char *answer, int anslen, const char *qname, int qtype)
switch (qtype) {
error = gethostanswer((const querybuf *)answer, anslen, qname, qtype,
do_query(res_state statp, const char *dname, ns_class class, ns_type qtype,
n = res_nmkquery(statp, ns_o_query, dname, class, qtype,
char *dtype, *qtype;
qtype = "(vendor-unique qualifier)";
qtype = "";
qtype = "(offline)";
qtype = "(reserved qualifier)";
qtype = "(LUN not supported)";
dtype, rstr, qtype);
static struct ath_txq *ath_txq_setup(struct ath_softc*, int qtype, int subtype);
ath_txq_setup(struct ath_softc *sc, int qtype, int subtype)
qnum = ath_hal_setuptxqueue(ah, qtype, &qi);
uint64_t tsf, int nf, HAL_RX_QUEUE qtype, struct ath_buf *bf,
struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
HAL_STATUS status, uint64_t tsf, int nf, HAL_RX_QUEUE qtype,
static int ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype,
static int ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype);
HAL_RX_QUEUE qtype, int dosched);
HAL_RX_QUEUE qtype, int dosched);
ath_edma_reinit_fifo(struct ath_softc *sc, HAL_RX_QUEUE qtype)
struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
qtype,
ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype);
ath_edma_recv_sched_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype,
ath_edma_recv_proc_queue(sc, qtype, dosched);
ath_edma_recv_proc_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype,
struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
qtype);
"%s: Q%d: completed!\n", __func__, qtype);
TAILQ_INSERT_TAIL(&sc->sc_rx_rxlist[qtype], bf, bf_list);
ath_edma_rxfifo_alloc(sc, qtype, re->m_fifolen);
ath_edma_recv_proc_deferred_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype,
TAILQ_CONCAT(&rxlist, &sc->sc_rx_rxlist[qtype], bf_list);
if (ath_rx_pkt(sc, rs, bf->bf_rxstatus, tsf, nf, qtype, bf, m))
ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype, int nbufs)
struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
qtype,
qtype,
qtype,
ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype);
qtype,
ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype)
struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
ath_edma_setup_rxfifo(struct ath_softc *sc, HAL_RX_QUEUE qtype)
struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
if (! ath_hal_getrxfifodepth(sc->sc_ah, qtype, &re->m_fifolen)) {
qtype);
qtype,
ath_edma_rxfifo_free(struct ath_softc *sc, HAL_RX_QUEUE qtype)
struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
qtype);
ar5210GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype)
HALASSERT(qtype == HAL_RX_QUEUE_HP);
ar5210SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype)
HALASSERT(qtype == HAL_RX_QUEUE_HP);
ar5211GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype)
HALASSERT(qtype == HAL_RX_QUEUE_HP);
ar5211SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype)
HALASSERT(qtype == HAL_RX_QUEUE_HP);
ar5212GetRxDP(struct ath_hal *ath, HAL_RX_QUEUE qtype)
HALASSERT(qtype == HAL_RX_QUEUE_HP);
ar5212SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype)
HALASSERT(qtype == HAL_RX_QUEUE_HP);
*mbx, size_t req_size, enum qtype qtype);
enum qtype qtype)
switch (qtype) {
statsp->qtype = qtype(cl->q_);
int qtype;
sp->qtype = cl->cl_qtype;
int qtype;
sp->qtype = qtype(cl->cl_q);
qtype(cl->cl_q) = Q_DROPTAIL;
qtype(cl->cl_q) = Q_RED;
qtype(cl->cl_q) = Q_RIO;
int qtype;
qtype(cl->cl_q) = Q_DROPTAIL;
qtype(cl->cl_q) = Q_RIO;
qtype(cl->cl_q) = Q_RED;
sp->qtype = qtype(cl->cl_q);
int qtype;
qtype(cl->q_) = Q_DROPHEAD;
qtype(cl->q_) = Q_RED;
qtype(cl->q_) = Q_RIO;
u_int16_t qtype;
qtype = ntohs(ni6->ni_qtype);
switch (qtype) {
if (qtype == NI_QTYPE_FQDN && ni6->ni_code == 0 &&
switch (qtype) {
switch (qtype) {
qtype = NI_QTYPE_FQDN;
switch (qtype) {
queue_opts.scheduler.qtype = ALTQT_NONE;
queue_opts.scheduler.qtype = ALTQT_NONE;
$$.qtype = ALTQT_CBQ;
$$.qtype = ALTQT_CBQ;
$$.qtype = ALTQT_PRIQ;
$$.qtype = ALTQT_PRIQ;
$$.qtype = ALTQT_HFSC;
$$.qtype = ALTQT_HFSC;
$$.qtype = ALTQT_FAIRQ;
$$.qtype = ALTQT_FAIRQ;
opts->qtype);
int qtype;
dns_Qtype2Txt(u_short qtype)
if (qtxt[f].id == qtype)
return HexStr(qtype, failure, sizeof failure);
const char *qtype, *qclass;
qtype = dns_Qtype2Txt(ntohs(tmp));
direction, qclass, qtype, namewithdot);