Lines Matching refs:iperf_test
91 static int send_parameters(struct iperf_test *test);
92 static int get_parameters(struct iperf_test *test);
93 static int send_results(struct iperf_test *test);
94 static int get_results(struct iperf_test *test);
98 static void print_interval_results(struct iperf_test *test, struct iperf_stream *sp, cJSON *json_in…
127 iperf_get_verbose(struct iperf_test *ipt) in iperf_get_verbose()
133 iperf_get_control_socket(struct iperf_test *ipt) in iperf_get_control_socket()
139 iperf_get_control_socket_mss(struct iperf_test *ipt) in iperf_get_control_socket_mss()
145 iperf_get_test_omit(struct iperf_test *ipt) in iperf_get_test_omit()
151 iperf_get_test_duration(struct iperf_test *ipt) in iperf_get_test_duration()
157 iperf_get_test_rate(struct iperf_test *ipt) in iperf_get_test_rate()
163 iperf_get_test_fqrate(struct iperf_test *ipt) in iperf_get_test_fqrate()
169 iperf_get_test_pacing_timer(struct iperf_test *ipt) in iperf_get_test_pacing_timer()
175 iperf_get_test_bytes(struct iperf_test *ipt) in iperf_get_test_bytes()
181 iperf_get_test_blocks(struct iperf_test *ipt) in iperf_get_test_blocks()
187 iperf_get_test_burst(struct iperf_test *ipt) in iperf_get_test_burst()
193 iperf_get_test_role(struct iperf_test *ipt) in iperf_get_test_role()
199 iperf_get_test_reverse(struct iperf_test *ipt) in iperf_get_test_reverse()
205 iperf_get_test_blksize(struct iperf_test *ipt) in iperf_get_test_blksize()
211 iperf_get_test_outfile (struct iperf_test *ipt) in iperf_get_test_outfile()
217 iperf_get_test_socket_bufsize(struct iperf_test *ipt) in iperf_get_test_socket_bufsize()
223 iperf_get_test_reporter_interval(struct iperf_test *ipt) in iperf_get_test_reporter_interval()
229 iperf_get_test_stats_interval(struct iperf_test *ipt) in iperf_get_test_stats_interval()
235 iperf_get_test_num_streams(struct iperf_test *ipt) in iperf_get_test_num_streams()
241 iperf_get_test_server_port(struct iperf_test *ipt) in iperf_get_test_server_port()
247 iperf_get_test_server_hostname(struct iperf_test *ipt) in iperf_get_test_server_hostname()
253 iperf_get_test_template(struct iperf_test *ipt) in iperf_get_test_template()
259 iperf_get_test_protocol_id(struct iperf_test *ipt) in iperf_get_test_protocol_id()
265 iperf_get_test_json_output(struct iperf_test *ipt) in iperf_get_test_json_output()
271 iperf_get_test_json_output_string(struct iperf_test *ipt) in iperf_get_test_json_output_string()
277 iperf_get_test_zerocopy(struct iperf_test *ipt) in iperf_get_test_zerocopy()
283 iperf_get_test_get_server_output(struct iperf_test *ipt) in iperf_get_test_get_server_output()
289 iperf_get_test_unit_format(struct iperf_test *ipt) in iperf_get_test_unit_format()
295 iperf_get_test_bind_address(struct iperf_test *ipt) in iperf_get_test_bind_address()
301 iperf_get_test_udp_counters_64bit(struct iperf_test *ipt) in iperf_get_test_udp_counters_64bit()
307 iperf_get_test_one_off(struct iperf_test *ipt) in iperf_get_test_one_off()
313 iperf_get_test_tos(struct iperf_test *ipt) in iperf_get_test_tos()
319 iperf_get_test_extra_data(struct iperf_test *ipt) in iperf_get_test_extra_data()
334 iperf_set_verbose(struct iperf_test *ipt, int verbose) in iperf_set_verbose()
340 iperf_set_control_socket(struct iperf_test *ipt, int ctrl_sck) in iperf_set_control_socket()
346 iperf_set_test_omit(struct iperf_test *ipt, int omit) in iperf_set_test_omit()
352 iperf_set_test_duration(struct iperf_test *ipt, int duration) in iperf_set_test_duration()
358 iperf_set_test_reporter_interval(struct iperf_test *ipt, double reporter_interval) in iperf_set_test_reporter_interval()
364 iperf_set_test_stats_interval(struct iperf_test *ipt, double stats_interval) in iperf_set_test_stats_interval()
370 iperf_set_test_state(struct iperf_test *ipt, signed char state) in iperf_set_test_state()
376 iperf_set_test_blksize(struct iperf_test *ipt, int blksize) in iperf_set_test_blksize()
382 iperf_set_test_rate(struct iperf_test *ipt, uint64_t rate) in iperf_set_test_rate()
388 iperf_set_test_fqrate(struct iperf_test *ipt, uint64_t fqrate) in iperf_set_test_fqrate()
394 iperf_set_test_pacing_timer(struct iperf_test *ipt, int pacing_timer) in iperf_set_test_pacing_timer()
400 iperf_set_test_bytes(struct iperf_test *ipt, uint64_t bytes) in iperf_set_test_bytes()
406 iperf_set_test_blocks(struct iperf_test *ipt, uint64_t blocks) in iperf_set_test_blocks()
412 iperf_set_test_burst(struct iperf_test *ipt, int burst) in iperf_set_test_burst()
418 iperf_set_test_server_port(struct iperf_test *ipt, int srv_port) in iperf_set_test_server_port()
424 iperf_set_test_socket_bufsize(struct iperf_test *ipt, int socket_bufsize) in iperf_set_test_socket_bufsize()
430 iperf_set_test_num_streams(struct iperf_test *ipt, int num_streams) in iperf_set_test_num_streams()
436 check_sender_has_retransmits(struct iperf_test *ipt) in check_sender_has_retransmits()
445 iperf_set_test_role(struct iperf_test *ipt, char role) in iperf_set_test_role()
463 iperf_set_test_server_hostname(struct iperf_test *ipt, char *server_hostname) in iperf_set_test_server_hostname()
469 iperf_set_test_template(struct iperf_test *ipt, char *tmp_template) in iperf_set_test_template()
475 iperf_set_test_reverse(struct iperf_test *ipt, int reverse) in iperf_set_test_reverse()
493 iperf_set_test_json_output(struct iperf_test *ipt, int json_output) in iperf_set_test_json_output()
505 iperf_set_test_zerocopy(struct iperf_test *ipt, int zerocopy) in iperf_set_test_zerocopy()
511 iperf_set_test_get_server_output(struct iperf_test *ipt, int get_server_output) in iperf_set_test_get_server_output()
517 iperf_set_test_unit_format(struct iperf_test *ipt, char unit_format) in iperf_set_test_unit_format()
524 iperf_set_test_client_username(struct iperf_test *ipt, char *client_username) in iperf_set_test_client_username()
530 iperf_set_test_client_password(struct iperf_test *ipt, char *client_password) in iperf_set_test_client_password()
536 iperf_set_test_client_rsa_pubkey(struct iperf_test *ipt, char *client_rsa_pubkey_base64) in iperf_set_test_client_rsa_pubkey()
543 iperf_set_test_bind_address(struct iperf_test *ipt, char *bnd_address) in iperf_set_test_bind_address()
549 iperf_set_test_udp_counters_64bit(struct iperf_test *ipt, int udp_counters_64bit) in iperf_set_test_udp_counters_64bit()
555 iperf_set_test_one_off(struct iperf_test *ipt, int one_off) in iperf_set_test_one_off()
561 iperf_set_test_tos(struct iperf_test *ipt, int tos) in iperf_set_test_tos()
567 iperf_set_test_extra_data(struct iperf_test *ipt, char *dat) in iperf_set_test_extra_data()
573 iperf_set_test_bidirectional(struct iperf_test* ipt, int bidirectional) in iperf_set_test_bidirectional()
585 get_protocol(struct iperf_test *test, int prot_id) in get_protocol()
601 set_protocol(struct iperf_test *test, int prot_id) in set_protocol()
627 iperf_on_test_start(struct iperf_test *test) in iperf_on_test_start()
662 iperf_on_connect(struct iperf_test *test) in iperf_on_connect()
733 iperf_on_test_finish(struct iperf_test *test) in iperf_on_test_finish()
741 iperf_parse_arguments(struct iperf_test *test, int argc, char **argv) in iperf_parse_arguments()
1330 iperf_set_send_state(struct iperf_test *test, signed char state) in iperf_set_send_state()
1362 iperf_send(struct iperf_test *test, fd_set *write_setP) in iperf_send()
1417 iperf_recv(struct iperf_test *test, fd_set *read_setP) in iperf_recv()
1438 iperf_init_test(struct iperf_test *test) in iperf_init_test()
1476 iperf_create_send_timers(struct iperf_test * test) in iperf_create_send_timers()
1501 int test_is_authorized(struct iperf_test *test){ in test_is_authorized()
1529 iperf_exchange_parameters(struct iperf_test *test) in iperf_exchange_parameters()
1589 iperf_exchange_results(struct iperf_test *test) in iperf_exchange_results()
1612 send_parameters(struct iperf_test *test) in send_parameters()
1697 get_parameters(struct iperf_test *test) in get_parameters()
1782 send_results(struct iperf_test *test) in send_results()
1887 get_results(struct iperf_test *test) in get_results()
2166 struct iperf_test *
2169 struct iperf_test *test; in iperf_new_test()
2171 test = (struct iperf_test *) malloc(sizeof(struct iperf_test)); in iperf_new_test()
2177 memset(test, 0, sizeof(struct iperf_test)); in iperf_new_test()
2217 iperf_defaults(struct iperf_test *testp) in iperf_defaults()
2334 iperf_free_test(struct iperf_test *test) in iperf_free_test()
2432 iperf_reset_test(struct iperf_test *test) in iperf_reset_test()
2546 iperf_reset_stats(struct iperf_test *test) in iperf_reset_stats()
2582 iperf_stats_callback(struct iperf_test *test) in iperf_stats_callback()
2661 iperf_print_intermediate(struct iperf_test *test) in iperf_print_intermediate()
2859 iperf_print_results(struct iperf_test *test) in iperf_print_results()
3356 iperf_reporter_callback(struct iperf_test *test) in iperf_reporter_callback()
3379 print_interval_results(struct iperf_test *test, struct iperf_stream *sp, cJSON *json_interval_strea… in print_interval_results()
3517 iperf_new_stream(struct iperf_test *test, int s, int sender) in iperf_new_stream()
3631 iperf_init_stream(struct iperf_stream *sp, struct iperf_test *test) in iperf_init_stream()
3672 iperf_add_stream(struct iperf_test *test, struct iperf_stream *sp) in iperf_add_stream()
3774 iperf_got_sigend(struct iperf_test *test) in iperf_got_sigend()
3802 iperf_create_pidfile(struct iperf_test *test) in iperf_create_pidfile()
3854 iperf_delete_pidfile(struct iperf_test *test) in iperf_delete_pidfile()
3865 iperf_json_start(struct iperf_test *test) in iperf_json_start()
3890 iperf_json_finish(struct iperf_test *test) in iperf_json_finish()
3917 iperf_setaffinity(struct iperf_test *test, int affinity) in iperf_setaffinity()
3963 iperf_clearaffinity(struct iperf_test *test) in iperf_clearaffinity()
4002 iperf_printf(struct iperf_test *test, const char* format, ...) in iperf_printf()
4043 iflush(struct iperf_test *test) in iflush()