Searched refs:tcpbuf (Results 1 – 3 of 3) sorted by relevance
62 query->tcpbuf = malloc(qlen + 2); in ares_send()63 if (!query->tcpbuf) in ares_send()73 free(query->tcpbuf); in ares_send()87 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in ares_send()88 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in ares_send()89 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()93 query->qbuf = query->tcpbuf + 2; in ares_send()
196 unsigned char *tcpbuf; member
759 sendreq->data = query->tcpbuf; in ares__send_query()1292 free(query->tcpbuf); in ares__free_query()