Lines Matching defs:iperf_test
249 struct iperf_test struct
251 char role; /* 'c' lient or 's' erver */
252 enum iperf_mode mode;
253 int sender_has_retransmits;
254 int other_side_has_retransmits; /* used if mode == BIDIRECTIONAL */
255 struct protocol *protocol;
256 signed char state;
257 char *server_hostname; /* -c option */
258 char *tmp_template;
259 char *bind_address; /* first -B option */
261 int bind_port; /* --cport option */
262 int server_port;
263 int omit; /* duration of omit period (-O flag) */
264 int duration; /* total duration of test (-t flag) */
265 char *diskfile_name; /* -F option */
266 int affinity, server_affinity; /* -A option */
268 cpuset_t cpumask;
270 char *title; /* -T option */
271 char *extra_data; /* --extra-data */
272 char *congestion; /* -C option */
273 char *congestion_used; /* what was actually used */
274 char *remote_congestion_used; /* what the other side used */
275 char *pidfile; /* -P option */
277 char *logfile; /* --logfile option */
278 FILE *outfile;
280 int ctrl_sck;
281 int listener;
282 int prot_listener;
284 int ctrl_sck_mss; /* MSS for the control channel */
287 char *server_authorized_users;
288 EVP_PKEY *server_rsa_private_key;
292 int daemon; /* -D option */
293 int one_off; /* -1 option */
294 int no_delay; /* -N option */
295 int reverse; /* -R option */
319 void (*stats_callback) (struct iperf_test *); argument
320 void (*reporter_callback) (struct iperf_test *); argument
321 Timer *omit_timer;
322 Timer *timer;
323 int done;
324 Timer *stats_timer;
325 Timer *reporter_timer;
327 …ble cpu_util[3]; /* cpu utilization of the test - total, user, system */
328 …util[3]; /* cpu utilization for the remote host/client - total, user, system */
352 void (*on_test_start)(struct iperf_test *); argument
353 void (*on_connect)(struct iperf_test *); argument
354 void (*on_test_finish)(struct iperf_test *); argument
357 cJSON *json_top;
358 cJSON *json_start;
359 cJSON *json_connected;
360 cJSON *json_intervals;
361 cJSON *json_end;
364 char *server_output_text;
365 cJSON *json_server_output;