Searched refs:socket_bufsize (Results 1 – 6 of 6) sorted by relevance
/external/iperf3/src/ |
D | iperf_tcp.c | 164 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 …]
|
D | iperf_udp.c | 272 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()
|
D | iperf.h | 136 int socket_bufsize; /* window size for TCP */ member
|
D | iperf_api.c | 219 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()
|
D | iperf_api.h | 144 void iperf_set_test_socket_bufsize( struct iperf_test* ipt, int socket_bufsize );
|
D | iperf_server_api.c | 577 … if (test->no_delay || test->settings->mss || test->settings->socket_bufsize) { in iperf_run_server()
|