Lines Matching refs:socket_bufsize
165 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()
535 printf("RCVBUF is %u, expecting %u\n", rcvbuf_actual, test->settings->socket_bufsize); in iperf_tcp_connect()
537 if (test->settings->socket_bufsize && test->settings->socket_bufsize > rcvbuf_actual) { in iperf_tcp_connect()
543 cJSON_AddNumberToObject(test->json_start, "sock_bufsize", test->settings->socket_bufsize); in iperf_tcp_connect()