Searched refs:blksize (Results 1 – 7 of 7) sorted by relevance
| /iperf/src/ |
| H A D | iperf_udp.c | 74 int size = sp->settings->blksize; in iperf_udp_recv() 216 int size = sp->settings->blksize; in iperf_udp_send() 260 …printf("sent %d bytes of %d, total %" PRIu64 "\n", r, sp->settings->blksize, sp->result->bytes_sen… in iperf_udp_send() 319 if (test->settings->blksize > sndbuf_actual) { in iperf_udp_buffercheck() 323 test->settings->blksize, sndbuf_actual); in iperf_udp_buffercheck() 341 if (test->settings->blksize > rcvbuf_actual) { in iperf_udp_buffercheck() 345 test->settings->blksize, rcvbuf_actual); in iperf_udp_buffercheck() 407 int bufsize = test->settings->blksize + UDP_BUFFER_EXTRA; in iperf_udp_accept() 523 int bufsize = test->settings->blksize + UDP_BUFFER_EXTRA; in iperf_udp_connect() 585 max_len_wait_for_reply += MAX_REVERSE_OUT_OF_ORDER_PACKETS * test->settings->blksize; in iperf_udp_connect()
|
| H A D | iperf_api.c | 230 return ipt->settings->blksize; in iperf_get_test_blksize() 473 ipt->settings->blksize = blksize; in iperf_set_test_blksize() 1087 int blksize; in iperf_parse_arguments() local 1099 blksize = 0; in iperf_parse_arguments() 1653 if (blksize == 0) { in iperf_parse_arguments() 1659 blksize = DEFAULT_TCP_BLKSIZE; in iperf_parse_arguments() 1662 || blksize > MAX_BLOCKSIZE) { in iperf_parse_arguments() 1667 (blksize > 0 && in iperf_parse_arguments() 1668 (blksize < MIN_UDP_BLOCKSIZE || blksize > MAX_UDP_BLOCKSIZE))) { in iperf_parse_arguments() 1672 test->settings->blksize = blksize; in iperf_parse_arguments() [all …]
|
| H A D | iperf_client_api.c | 449 if (test->settings->blksize == 0) { in iperf_connect() 451 test->settings->blksize = test->ctrl_sck_mss; in iperf_connect() 454 test->settings->blksize = DEFAULT_UDP_BLKSIZE; in iperf_connect() 457 printf("Setting UDP block size to %d\n", test->settings->blksize); in iperf_connect() 466 test->settings->blksize > test->ctrl_sck_mss) { in iperf_connect() 469 …xceeds TCP MSS %d, may result in fragmentation / drops", test->settings->blksize, test->ctrl_sck_m… in iperf_connect()
|
| H A D | iperf_tcp.c | 60 r = Nread(sp->socket, sp->buffer, sp->settings->blksize, Ptcp); in iperf_tcp_recv() 89 sp->pending_size = sp->settings->blksize; in iperf_tcp_send() 105 r, sp->settings->blksize, sp->pending_size, sp->result->bytes_sent); in iperf_tcp_send()
|
| H A D | iperf_sctp.c | 63 r = Nread(sp->socket, sp->buffer, sp->settings->blksize, Psctp); in iperf_sctp_recv() 95 r = Nwrite(sp->socket, sp->buffer, sp->settings->blksize, Psctp); in iperf_sctp_send()
|
| H A D | iperf.h | 146 int blksize; /* size of read/writes (-l) */ member
|
| H A D | iperf_api.h | 165 void iperf_set_test_blksize( struct iperf_test* ipt, int blksize );
|