Searched refs:tcpbuf (Results 1 – 3 of 3) sorted by relevance
55 static char tcpbuf[16*1024]; variable169 cc = write(s_snd, tcpbuf + tboff, (size_t)(tblen - tboff)); in send_data()175 if (tblen >= sizeof(tcpbuf)) in send_data()176 tblen = sizeof(tcpbuf) - 1; in send_data()177 tcpbuf[tblen] = '\0'; in send_data()179 direction == 1 ? "client" : "server", tblen, tcpbuf); in send_data()264 tblen = read(s_rcv, tcpbuf, sizeof(tcpbuf)); in relay()
400 REQUIRE(client->tcpbuf == NULL); in client_sendpkg() 402 client->tcpbuf = client->manager->tcp_buffer; in client_sendpkg() 408 if (client->tcpbuf == NULL) { in client_sendpkg() 412 if (client->tcpbuf != client->manager->tcp_buffer) {413 isc_mem_put(client->manager->mctx, client->tcpbuf, in ns_client_sendraw() 417 client->tcpbuf = NULL; in ns_client_sendraw() 431 data = client->tcpbuf; in ns_client_sendraw() 463 if (isc_buffer_base(buffer) == client->tcpbuf) { in ns_client_sendraw() 490 client->tcpbuf = new_tcpbuf; in ns_client_send() 584 if (client->tcpbuf ! in ns_client_send() [all...]
181 unsigned char *tcpbuf;189 unsigned char *tcpbuf; global() member