Home
last modified time | relevance | path

Searched refs:socket_bufsize (Results 1 – 6 of 6) sorted by relevance

/external/iperf3/src/
Diperf_tcp.c164 if (test->no_delay || test->settings->mss || test->settings->socket_bufsize) { in iperf_tcp_listen()
220 if ((opt = test->settings->socket_bufsize)) { in iperf_tcp_listen()
323 printf("SNDBUF is %u, expecting %u\n", sndbuf_actual, test->settings->socket_bufsize); in iperf_tcp_listen()
325 if (test->settings->socket_bufsize && test->settings->socket_bufsize > sndbuf_actual) { in iperf_tcp_listen()
340 printf("RCVBUF is %u, expecting %u\n", rcvbuf_actual, test->settings->socket_bufsize); in iperf_tcp_listen()
342 if (test->settings->socket_bufsize && test->settings->socket_bufsize > rcvbuf_actual) { in iperf_tcp_listen()
348 cJSON_AddNumberToObject(test->json_start, "sock_bufsize", test->settings->socket_bufsize); in iperf_tcp_listen()
486 if ((opt = test->settings->socket_bufsize)) { in iperf_tcp_connect()
516 printf("SNDBUF is %u, expecting %u\n", sndbuf_actual, test->settings->socket_bufsize); in iperf_tcp_connect()
518 if (test->settings->socket_bufsize && test->settings->socket_bufsize > sndbuf_actual) { in iperf_tcp_connect()
[all …]
Diperf_udp.c272 if ((opt = test->settings->socket_bufsize)) { in iperf_udp_buffercheck()
290 printf("SNDBUF is %u, expecting %u\n", sndbuf_actual, test->settings->socket_bufsize); in iperf_udp_buffercheck()
292 if (test->settings->socket_bufsize && test->settings->socket_bufsize > sndbuf_actual) { in iperf_udp_buffercheck()
312 printf("RCVBUF is %u, expecting %u\n", rcvbuf_actual, test->settings->socket_bufsize); in iperf_udp_buffercheck()
314 if (test->settings->socket_bufsize && test->settings->socket_bufsize > rcvbuf_actual) { in iperf_udp_buffercheck()
328 cJSON_AddNumberToObject(test->json_start, "sock_bufsize", test->settings->socket_bufsize); in iperf_udp_buffercheck()
382 if (test->settings->socket_bufsize == 0) { in iperf_udp_accept()
386 test->settings->socket_bufsize = bufsize; in iperf_udp_accept()
494 if (test->settings->socket_bufsize == 0) { in iperf_udp_connect()
498 test->settings->socket_bufsize = bufsize; in iperf_udp_connect()
Diperf.h136 int socket_bufsize; /* window size for TCP */ member
Diperf_api.c219 return ipt->settings->socket_bufsize; in iperf_get_test_socket_bufsize()
424 iperf_set_test_socket_bufsize(struct iperf_test *ipt, int socket_bufsize) in iperf_set_test_socket_bufsize() argument
426 ipt->settings->socket_bufsize = socket_bufsize; in iperf_set_test_socket_bufsize()
991 test->settings->socket_bufsize = (int) farg; in iperf_parse_arguments()
1645 if (test->settings->socket_bufsize) in send_parameters()
1646 cJSON_AddNumberToObject(j, "window", test->settings->socket_bufsize); in send_parameters()
1739 test->settings->socket_bufsize = j_p->valueint; in get_parameters()
2251 testp->settings->socket_bufsize = 0; /* use autotuning */ in iperf_defaults()
2493 test->settings->socket_bufsize = 0; in iperf_reset_test()
Diperf_api.h144 void iperf_set_test_socket_bufsize( struct iperf_test* ipt, int socket_bufsize );
Diperf_server_api.c577 … if (test->no_delay || test->settings->mss || test->settings->socket_bufsize) { in iperf_run_server()