Lines Matching defs:iperf_test
244 struct iperf_test struct
246 char role; /* 'c' lient or 's' erver */
247 enum iperf_mode mode;
248 int sender_has_retransmits;
249 int other_side_has_retransmits; /* used if mode == BIDIRECTIONAL */
250 struct protocol *protocol;
251 signed char state;
252 char *server_hostname; /* -c option */
253 char *tmp_template;
254 char *bind_address; /* first -B option */
256 int bind_port; /* --cport option */
257 int server_port;
258 int omit; /* duration of omit period (-O flag) */
259 int duration; /* total duration of test (-t flag) */
260 char *diskfile_name; /* -F option */
261 int affinity, server_affinity; /* -A option */
263 cpuset_t cpumask;
265 char *title; /* -T option */
266 char *extra_data; /* --extra-data */
267 char *congestion; /* -C option */
268 char *congestion_used; /* what was actually used */
269 char *remote_congestion_used; /* what the other side used */
270 char *pidfile; /* -P option */
272 char *logfile; /* --logfile option */
273 FILE *outfile;
275 int ctrl_sck;
276 int listener;
277 int prot_listener;
279 int ctrl_sck_mss; /* MSS for the control channel */
282 char *server_authorized_users;
283 EVP_PKEY *server_rsa_private_key;
287 int daemon; /* -D option */
288 int one_off; /* -1 option */
312 void (*stats_callback) (struct iperf_test *); argument
313 void (*reporter_callback) (struct iperf_test *); argument
314 Timer *omit_timer;
315 Timer *timer;
316 int done;
340 void (*on_test_start)(struct iperf_test *); argument
341 void (*on_connect)(struct iperf_test *); argument
342 void (*on_test_finish)(struct iperf_test *); argument
345 cJSON *json_top;
346 cJSON *json_start;
347 cJSON *json_connected;
348 cJSON *json_intervals;
349 cJSON *json_end;
352 char *server_output_text;
353 cJSON *json_server_output;