Searched refs:tcpbuf (Results 1 – 3 of 3) sorted by relevance
50 query->tcpbuf = ares_malloc(qlen + 2); in ares_send()51 if (!query->tcpbuf) in ares_send()67 ares_free(query->tcpbuf); in ares_send()81 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in ares_send()82 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in ares_send()83 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()87 query->qbuf = query->tcpbuf + 2; in ares_send()
618 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in process_answer()619 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in process_answer()620 DNS_HEADER_SET_ARCOUNT(query->tcpbuf + 2, 0); in process_answer()621 query->tcpbuf = ares_realloc(query->tcpbuf, query->tcplen); in process_answer()622 query->qbuf = query->tcpbuf + 2; in process_answer()835 sendreq->data = query->tcpbuf; in ares__send_query()1511 ares_free(query->tcpbuf); in ares__free_query()
221 unsigned char *tcpbuf; member