Home
last modified time | relevance | path

Searched refs:Nwrite (Results 1 – 8 of 8) sorted by relevance

/external/iperf3/src/
Dnet.h34 int Nwrite(int fd, const char *buf, size_t count, int prot) /* __attribute__((hot)) */;
Diperf_tcp.c91 r = Nwrite(sp->socket, sp->buffer, sp->settings->blksize, Ptcp); in iperf_tcp_send()
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_sctp.c95 r = Nwrite(sp->socket, sp->buffer, sp->settings->blksize, Psctp); in iperf_sctp_send()
139 if (Nwrite(s, (char*) &rbuf, sizeof(rbuf), Psctp) < 0) { in iperf_sctp_accept()
498 if (Nwrite(s, test->cookie, COOKIE_SIZE, Psctp) < 0) { in iperf_sctp_connect()
Dnet.c347 Nwrite(int fd, const char *buf, size_t count, int prot) in Nwrite() function
Diperf_udp.c251 r = Nwrite(sp->socket, sp->buffer, size, Pudp); in iperf_udp_send()
Diperf_client_api.c345 if (Nwrite(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_connect()
Diperf_api.c1506 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()
2300 if (Nwrite(fd, (char*) &nsize, sizeof(nsize), Ptcp) < 0) in JSON_write()
2303 if (Nwrite(fd, str, hsize, Ptcp) < 0) in JSON_write()
4108 (void) Nwrite(test->ctrl_sck, (char*) &test->state, sizeof(signed char), Ptcp); in iperf_got_sigend()
Diperf_server_api.c143 if (Nwrite(s, (char*) &rbuf, sizeof(rbuf), Ptcp) < 0) { in iperf_accept()