Home
last modified time | relevance | path

Searched refs:tcpbuf (Results 1 – 3 of 3) sorted by relevance

/external/c-ares/
Dares_send.c62 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()
Dares_private.h196 unsigned char *tcpbuf; member
Dares_process.c759 sendreq->data = query->tcpbuf; in ares__send_query()
1292 free(query->tcpbuf); in ares__free_query()