Searched refs:sendreq (Results 1 – 2 of 2) sorted by relevance
211 struct send_request *sendreq; in write_tcp_data() local250 for (sendreq = server->qhead; sendreq; sendreq = sendreq->next) in write_tcp_data()259 for (sendreq = server->qhead; sendreq; sendreq = sendreq->next) in write_tcp_data()261 vec[n].iov_base = (char *) sendreq->data; in write_tcp_data()262 vec[n].iov_len = sendreq->len; in write_tcp_data()280 sendreq = server->qhead; in write_tcp_data()282 scount = socket_write(channel, server->tcp_socket, sendreq->data, sendreq->len); in write_tcp_data()300 struct send_request *sendreq; in advance_tcp_send_queue() local303 sendreq = server->qhead; in advance_tcp_send_queue()304 if ((size_t)num_bytes >= sendreq->len) { in advance_tcp_send_queue()[all …]
24 struct send_request *sendreq; in ares__close_sockets() local30 sendreq = server->qhead; in ares__close_sockets()31 server->qhead = sendreq->next; in ares__close_sockets()32 if (sendreq->data_storage != NULL) in ares__close_sockets()33 ares_free(sendreq->data_storage); in ares__close_sockets()34 ares_free(sendreq); in ares__close_sockets()