Home
last modified time | relevance | path

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

/external/iperf3/src/
Diperf_tcp.c165 if (test->no_delay || test->settings->mss || test->settings->socket_bufsize) { in iperf_tcp_listen()
221 if ((opt = test->settings->socket_bufsize)) { in iperf_tcp_listen()
324 printf("SNDBUF is %u, expecting %u\n", sndbuf_actual, test->settings->socket_bufsize); in iperf_tcp_listen()
326 if (test->settings->socket_bufsize && test->settings->socket_bufsize > sndbuf_actual) { in iperf_tcp_listen()
341 printf("RCVBUF is %u, expecting %u\n", rcvbuf_actual, test->settings->socket_bufsize); in iperf_tcp_listen()
343 if (test->settings->socket_bufsize && test->settings->socket_bufsize > rcvbuf_actual) { in iperf_tcp_listen()
349 cJSON_AddNumberToObject(test->json_start, "sock_bufsize", test->settings->socket_bufsize); in iperf_tcp_listen()
487 if ((opt = test->settings->socket_bufsize)) { in iperf_tcp_connect()
517 printf("SNDBUF is %u, expecting %u\n", sndbuf_actual, test->settings->socket_bufsize); in iperf_tcp_connect()
519 if (test->settings->socket_bufsize && test->settings->socket_bufsize > sndbuf_actual) { in iperf_tcp_connect()
[all …]
Diperf_udp.c295 if ((opt = test->settings->socket_bufsize)) { in iperf_udp_buffercheck()
313 printf("SNDBUF is %u, expecting %u\n", sndbuf_actual, test->settings->socket_bufsize); in iperf_udp_buffercheck()
315 if (test->settings->socket_bufsize && test->settings->socket_bufsize > sndbuf_actual) { in iperf_udp_buffercheck()
335 printf("RCVBUF is %u, expecting %u\n", rcvbuf_actual, test->settings->socket_bufsize); in iperf_udp_buffercheck()
337 if (test->settings->socket_bufsize && test->settings->socket_bufsize > rcvbuf_actual) { in iperf_udp_buffercheck()
351 cJSON_AddNumberToObject(test->json_start, "sock_bufsize", test->settings->socket_bufsize); in iperf_udp_buffercheck()
405 if (test->settings->socket_bufsize == 0) { in iperf_udp_accept()
409 test->settings->socket_bufsize = bufsize; in iperf_udp_accept()
517 if (test->settings->socket_bufsize == 0) { in iperf_udp_connect()
521 test->settings->socket_bufsize = bufsize; in iperf_udp_connect()
Diperf.h138 int socket_bufsize; /* window size for TCP */ member
Diperf_sctp.c194 if ((opt = test->settings->socket_bufsize)) { in iperf_sctp_listen()
319 if ((opt = test->settings->socket_bufsize)) { in iperf_sctp_connect()
Diperf_api.c242 return ipt->settings->socket_bufsize; in iperf_get_test_socket_bufsize()
501 iperf_set_test_socket_bufsize(struct iperf_test *ipt, int socket_bufsize) in iperf_set_test_socket_bufsize() argument
503 ipt->settings->socket_bufsize = socket_bufsize; in iperf_set_test_socket_bufsize()
1136 test->settings->socket_bufsize = (int) farg; in iperf_parse_arguments()
1865 if (test->settings->socket_bufsize) in send_parameters()
1866 cJSON_AddNumberToObject(j, "window", test->settings->socket_bufsize); in send_parameters()
1974 test->settings->socket_bufsize = j_p->valueint; in get_parameters()
2500 testp->settings->socket_bufsize = 0; /* use autotuning */ in iperf_defaults()
2790 test->settings->socket_bufsize = 0; in iperf_reset_test()
Diperf_api.h157 void iperf_set_test_socket_bufsize( struct iperf_test* ipt, int socket_bufsize );
Diperf_server_api.c601 … if (test->no_delay || test->settings->mss || test->settings->socket_bufsize) { in iperf_run_server()