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()
483 if (test->protocol->id == Ptcp) { in iperf_run_server()
573 if (test->protocol->id != Ptcp) { in iperf_run_server()
581 … 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.c59 r = Nread(sp->socket, sp->buffer, sp->settings->blksize, Ptcp); in iperf_tcp_recv()
90 r = Nwrite(sp->socket, sp->buffer, sp->settings->blksize, Ptcp); in iperf_tcp_send()
124 if (Nread(s, cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_tcp_accept()
130 if (Nwrite(s, (char*) &rbuf, sizeof(rbuf), Ptcp) < 0) { in iperf_tcp_accept()
628 if (Nwrite(s, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_tcp_connect()
Diperf_api.c438 if (ipt->mode != RECEIVER && ipt->protocol->id == Ptcp && has_tcpinfo_retransmits()) in check_sender_has_retransmits()
1333 if (Nwrite(test->ctrl_sck, (char*) &state, sizeof(state), Ptcp) < 0) { in iperf_set_send_state()
1550 if (Nwrite(test->ctrl_sck, (char*) &err, sizeof(err), Ptcp) < 0) { in iperf_exchange_parameters()
1562 if (Nwrite(test->ctrl_sck, (char*) &err, sizeof(err), Ptcp) < 0) { in iperf_exchange_parameters()
1567 if (Nwrite(test->ctrl_sck, (char*) &err, sizeof(err), Ptcp) < 0) { in iperf_exchange_parameters()
1622 if (test->protocol->id == Ptcp) in send_parameters()
1713 set_protocol(test, Ptcp); in get_parameters()
1770 if (test->mode && test->protocol->id == Ptcp && has_tcpinfo_retransmits()) in get_parameters()
2059 if (Nwrite(fd, (char*) &nsize, sizeof(nsize), Ptcp) < 0) in JSON_write()
2062 if (Nwrite(fd, str, hsize, Ptcp) < 0) in JSON_write()
[all …]
Diperf_api.h48 #define Ptcp SOCK_STREAM macro