Lines Matching refs:iperf_test
42 struct iperf_test;
104 int iperf_get_verbose( struct iperf_test* ipt );
105 int iperf_get_control_socket( struct iperf_test* ipt );
106 int iperf_get_test_omit( struct iperf_test* ipt );
107 int iperf_get_test_duration( struct iperf_test* ipt );
108 char iperf_get_test_role( struct iperf_test* ipt );
109 int iperf_get_test_reverse( struct iperf_test* ipt );
110 int iperf_get_test_blksize( struct iperf_test* ipt );
111 FILE* iperf_get_test_outfile( struct iperf_test* ipt );
112 uint64_t iperf_get_test_rate( struct iperf_test* ipt );
113 int iperf_get_test_pacing_timer( struct iperf_test* ipt );
114 uint64_t iperf_get_test_bytes( struct iperf_test* ipt );
115 uint64_t iperf_get_test_blocks( struct iperf_test* ipt );
116 int iperf_get_test_burst( struct iperf_test* ipt );
117 int iperf_get_test_socket_bufsize( struct iperf_test* ipt );
118 double iperf_get_test_reporter_interval( struct iperf_test* ipt );
119 double iperf_get_test_stats_interval( struct iperf_test* ipt );
120 int iperf_get_test_num_streams( struct iperf_test* ipt );
121 int iperf_get_test_repeating_payload( struct iperf_test* ipt );
122 int iperf_get_test_timestamps( struct iperf_test* ipt );
123 const char* iperf_get_test_timestamp_format( struct iperf_test* ipt );
124 int iperf_get_test_server_port( struct iperf_test* ipt );
125 char* iperf_get_test_server_hostname( struct iperf_test* ipt );
126 char* iperf_get_test_template( struct iperf_test* ipt );
127 int iperf_get_test_protocol_id( struct iperf_test* ipt );
128 int iperf_get_test_json_output( struct iperf_test* ipt );
129 char* iperf_get_test_json_output_string ( struct iperf_test* ipt );
130 int iperf_get_test_zerocopy( struct iperf_test* ipt );
131 int iperf_get_test_get_server_output( struct iperf_test* ipt );
132 char* iperf_get_test_bind_address ( struct iperf_test* ipt );
133 int iperf_get_test_udp_counters_64bit( struct iperf_test* ipt );
134 int iperf_get_test_one_off( struct iperf_test* ipt );
135 int iperf_get_test_tos( struct iperf_test* ipt );
136 char* iperf_get_extra_data( struct iperf_test* ipt );
138 int iperf_get_test_no_delay( struct iperf_test* ipt );
139 int iperf_get_test_connect_timeout( struct iperf_test* ipt );
142 void iperf_set_verbose( struct iperf_test* ipt, int verbose );
143 void iperf_set_control_socket( struct iperf_test* ipt, int ctrl_sck );
144 void iperf_set_test_omit( struct iperf_test* ipt, int omit );
145 void iperf_set_test_duration( struct iperf_test* ipt, int duration );
146 void iperf_set_test_reporter_interval( struct iperf_test* ipt, double reporter_interval );
147 void iperf_set_test_stats_interval( struct iperf_test* ipt, double stats_interval );
148 void iperf_set_test_state( struct iperf_test* ipt, signed char state );
149 void iperf_set_test_blksize( struct iperf_test* ipt, int blksize );
150 void iperf_set_test_logfile( struct iperf_test* ipt, const char *logfile );
151 void iperf_set_test_rate( struct iperf_test* ipt, uint64_t rate );
152 void iperf_set_test_pacing_timer( struct iperf_test* ipt, int pacing_timer );
153 void iperf_set_test_bytes( struct iperf_test* ipt, uint64_t bytes );
154 void iperf_set_test_blocks( struct iperf_test* ipt, uint64_t blocks );
155 void iperf_set_test_burst( struct iperf_test* ipt, int burst );
156 void iperf_set_test_server_port( struct iperf_test* ipt, int server_port );
157 void iperf_set_test_socket_bufsize( struct iperf_test* ipt, int socket_bufsize );
158 void iperf_set_test_num_streams( struct iperf_test* ipt, int num_streams );
159 void iperf_set_test_repeating_payload( struct iperf_test* ipt, int repeating_payload );
160 void iperf_set_test_timestamps( struct iperf_test* ipt, int timestamps );
161 void iperf_set_test_timestamp_format( struct iperf_test*, const char *tf );
162 void iperf_set_test_role( struct iperf_test* ipt, char role );
163 void iperf_set_test_server_hostname( struct iperf_test* ipt, const char* server_hostname );
164 void iperf_set_test_template( struct iperf_test *ipt, const char *tmp_template );
165 void iperf_set_test_reverse( struct iperf_test* ipt, int reverse );
166 void iperf_set_test_json_output( struct iperf_test* ipt, int json_output );
168 void iperf_set_test_zerocopy( struct iperf_test* ipt, int zerocopy );
169 void iperf_set_test_get_server_output( struct iperf_test* ipt, int get_server_output );
170 void iperf_set_test_bind_address( struct iperf_test* ipt, const char *bind_address );
171 void iperf_set_test_udp_counters_64bit( struct iperf_test* ipt, int udp_counters_64bit );
172 void iperf_set_test_one_off( struct iperf_test* ipt, int one_off );
173 void iperf_set_test_tos( struct iperf_test* ipt, int tos );
174 void iperf_set_test_extra_data( struct iperf_test* ipt, const char *dat );
175 void iperf_set_test_bidirectional( struct iperf_test* ipt, int bidirectional);
176 void iperf_set_test_no_delay( struct iperf_test* ipt, int no_delay);
179 void iperf_set_test_client_username(struct iperf_test *ipt, const char *client_username);
180 void iperf_set_test_client_password(struct iperf_test *ipt, const char *client_password);
181 void iperf_set_test_client_rsa_pubkey(struct iperf_test *ipt, const char *client_rsa_pubkey_base…
182 void iperf_set_test_server_authorized_users(struct iperf_test *ipt, const char *server_authorize…
183 void iperf_set_test_server_rsa_privkey(struct iperf_test *ipt, const char *server_rsa_privkey_ba…
186 void iperf_set_test_connect_timeout(struct iperf_test *ipt, int ct);
192 int iperf_exchange_parameters(struct iperf_test * test);
211 void iperf_stats_callback(struct iperf_test * test);
217 void iperf_reporter_callback(struct iperf_test * test);
225 struct iperf_test *iperf_new_test(void);
227 int iperf_defaults(struct iperf_test * testp);
234 void iperf_free_test(struct iperf_test * testp);
242 struct iperf_stream *iperf_new_stream(struct iperf_test *, int, int);
248 void iperf_add_stream(struct iperf_test * test, struct iperf_stream * stream);
254 int iperf_init_stream(struct iperf_stream *, struct iperf_test *);
270 void print_tcpinfo(struct iperf_test *test);
273 int iperf_set_send_state(struct iperf_test *test, signed char state);
275 int iperf_send(struct iperf_test *, fd_set *) /* __attribute__((hot)) */;
276 int iperf_recv(struct iperf_test *, fd_set *);
278 void iperf_got_sigend(struct iperf_test *test) __attribute__ ((noreturn));
282 int iperf_exchange_results(struct iperf_test *);
283 int iperf_init_test(struct iperf_test *);
284 int iperf_create_send_timers(struct iperf_test *);
285 int iperf_parse_arguments(struct iperf_test *, int, char **);
286 int iperf_open_logfile(struct iperf_test *);
287 void iperf_reset_test(struct iperf_test *);
288 void iperf_reset_stats(struct iperf_test * test);
290 struct protocol *get_protocol(struct iperf_test *, int);
291 int set_protocol(struct iperf_test *, int);
294 void iperf_on_test_start(struct iperf_test *);
295 void iperf_on_connect(struct iperf_test *);
296 void iperf_on_test_finish(struct iperf_test *);
301 int iperf_run_client(struct iperf_test *);
302 int iperf_connect(struct iperf_test *);
303 int iperf_create_streams(struct iperf_test *, int sender);
304 int iperf_handle_message_client(struct iperf_test *);
305 int iperf_client_end(struct iperf_test *);
308 int iperf_run_server(struct iperf_test *);
309 int iperf_server_listen(struct iperf_test *);
310 int iperf_accept(struct iperf_test *);
311 int iperf_handle_message_server(struct iperf_test *);
312 int iperf_create_pidfile(struct iperf_test *);
313 int iperf_delete_pidfile(struct iperf_test *);
314 void iperf_check_total_rate(struct iperf_test *, iperf_size_t);
317 int iperf_json_start(struct iperf_test *);
318 int iperf_json_finish(struct iperf_test *);
321 int iperf_setaffinity(struct iperf_test *, int affinity);
322 int iperf_clearaffinity(struct iperf_test *);
325 int iperf_printf(struct iperf_test *test, const char *format, ...) __attribute__ ((format(printf,2,…
326 int iflush(struct iperf_test *test);
329 void iperf_err(struct iperf_test *test, const char *format, ...) __attribute__ ((format(printf,2,3)…
330 void iperf_errexit(struct iperf_test *test, const char *format, ...) __attribute__ ((format(printf,…