Lines Matching defs:qlen
52 size_t qlen, ares_callback callback, void *arg,
64 if (qlen < HFIXEDSZ || qlen >= (1 << 16)) {
74 status = ares_qcache_fetch(channel, &now, qbuf, qlen, &abuf, &alen);
92 query->qbuf = ares_malloc(qlen);
106 memcpy(query->qbuf + 2, qbuf + 2, qlen - 2);
107 query->qlen = qlen;
117 query->using_tcp = (channel->flags & ARES_FLAG_USEVC) || qlen > packetsz;
153 void ares_send(ares_channel_t *channel, const unsigned char *qbuf, int qlen,
162 ares_send_ex(channel, qbuf, (size_t)qlen, callback, arg, NULL);