Home
last modified time | relevance | path

Searched refs:Ptcp (Results 1 – 5 of 5) sorted by relevance

/external/iperf3/src/
Diperf_server_api.c73 …if((test->listener = netannounce(test->settings->domain, Ptcp, test->bind_address, test->server_po… in iperf_server_listen()
122 if (Nread(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_accept()
143 if (Nwrite(s, (char*) &rbuf, sizeof(rbuf), Ptcp) < 0) { in iperf_accept()
162 if ((rval = Nread(test->ctrl_sck, (char*) &test->state, sizeof(signed char), Ptcp)) <= 0) { in iperf_handle_message_server()
507 if (test->protocol->id == Ptcp) { in iperf_run_server()
597 if (test->protocol->id != Ptcp) { in iperf_run_server()
605 … if ((s = netannounce(test->settings->domain, Ptcp, test->bind_address, test->server_port)) < 0) { in iperf_run_server()
Diperf_client_api.c73 if (test->protocol->id == Ptcp) { in iperf_create_streams()
306 if (Nread(test->ctrl_sck, (char*) &err, sizeof(err), Ptcp) < 0) { in iperf_handle_message_client()
311 if (Nread(test->ctrl_sck, (char*) &err, sizeof(err), Ptcp) < 0) { in iperf_handle_message_client()
339 …test->ctrl_sck = netdial(test->settings->domain, Ptcp, test->bind_address, 0, test->server_hostnam… in iperf_connect()
345 if (Nwrite(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_connect()
Diperf_tcp.c60 r = Nread(sp->socket, sp->buffer, sp->settings->blksize, Ptcp); in iperf_tcp_recv()
91 r = Nwrite(sp->socket, sp->buffer, sp->settings->blksize, Ptcp); in iperf_tcp_send()
125 if (Nread(s, cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_tcp_accept()
131 if (Nwrite(s, (char*) &rbuf, sizeof(rbuf), Ptcp) < 0) { in iperf_tcp_accept()
629 if (Nwrite(s, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_tcp_connect()
Diperf_api.c533 if (ipt->mode != RECEIVER && ipt->protocol->id == Ptcp && has_tcpinfo_retransmits()) in check_sender_has_retransmits()
1506 if (Nwrite(test->ctrl_sck, (char*) &state, sizeof(state), Ptcp) < 0) { in iperf_set_send_state()
1769 if (Nwrite(test->ctrl_sck, (char*) &err, sizeof(err), Ptcp) < 0) { in iperf_exchange_parameters()
1781 if (Nwrite(test->ctrl_sck, (char*) &err, sizeof(err), Ptcp) < 0) { in iperf_exchange_parameters()
1786 if (Nwrite(test->ctrl_sck, (char*) &err, sizeof(err), Ptcp) < 0) { in iperf_exchange_parameters()
1842 if (test->protocol->id == Ptcp) in send_parameters()
1948 set_protocol(test, Ptcp); in get_parameters()
2007 if (test->mode && test->protocol->id == Ptcp && has_tcpinfo_retransmits()) in get_parameters()
2300 if (Nwrite(fd, (char*) &nsize, sizeof(nsize), Ptcp) < 0) in JSON_write()
2303 if (Nwrite(fd, str, hsize, Ptcp) < 0) in JSON_write()
[all …]
Diperf_api.h53 #define Ptcp SOCK_STREAM macro