Lines Matching refs:testp
2217 iperf_defaults(struct iperf_test *testp) in iperf_defaults() argument
2224 testp->omit = OMIT; in iperf_defaults()
2225 testp->duration = DURATION; in iperf_defaults()
2226 testp->diskfile_name = (char*) 0; in iperf_defaults()
2227 testp->affinity = -1; in iperf_defaults()
2228 testp->server_affinity = -1; in iperf_defaults()
2229 TAILQ_INIT(&testp->xbind_addrs); in iperf_defaults()
2231 CPU_ZERO(&testp->cpumask); in iperf_defaults()
2233 testp->title = NULL; in iperf_defaults()
2234 testp->extra_data = NULL; in iperf_defaults()
2235 testp->congestion = NULL; in iperf_defaults()
2236 testp->congestion_used = NULL; in iperf_defaults()
2237 testp->remote_congestion_used = NULL; in iperf_defaults()
2238 testp->server_port = PORT; in iperf_defaults()
2239 testp->ctrl_sck = -1; in iperf_defaults()
2240 testp->prot_listener = -1; in iperf_defaults()
2241 testp->other_side_has_retransmits = 0; in iperf_defaults()
2243 testp->stats_callback = iperf_stats_callback; in iperf_defaults()
2244 testp->reporter_callback = iperf_reporter_callback; in iperf_defaults()
2246 testp->stats_interval = testp->reporter_interval = 1; in iperf_defaults()
2247 testp->num_streams = 1; in iperf_defaults()
2249 testp->settings->domain = AF_UNSPEC; in iperf_defaults()
2250 testp->settings->unit_format = 'a'; in iperf_defaults()
2251 testp->settings->socket_bufsize = 0; /* use autotuning */ in iperf_defaults()
2252 testp->settings->blksize = DEFAULT_TCP_BLKSIZE; in iperf_defaults()
2253 testp->settings->rate = 0; in iperf_defaults()
2254 testp->settings->fqrate = 0; in iperf_defaults()
2255 testp->settings->pacing_timer = 1000; in iperf_defaults()
2256 testp->settings->burst = 0; in iperf_defaults()
2257 testp->settings->mss = 0; in iperf_defaults()
2258 testp->settings->bytes = 0; in iperf_defaults()
2259 testp->settings->blocks = 0; in iperf_defaults()
2260 testp->settings->connect_timeout = -1; in iperf_defaults()
2261 memset(testp->cookie, 0, COOKIE_SIZE); in iperf_defaults()
2263 testp->multisend = 10; /* arbitrary */ in iperf_defaults()
2266 SLIST_INIT(&testp->streams); in iperf_defaults()
2267 SLIST_INIT(&testp->protocols); in iperf_defaults()
2281 SLIST_INSERT_HEAD(&testp->protocols, tcp, protocols); in iperf_defaults()
2299 set_protocol(testp, Ptcp); in iperf_defaults()
2321 testp->on_new_stream = iperf_on_new_stream; in iperf_defaults()
2322 testp->on_test_start = iperf_on_test_start; in iperf_defaults()
2323 testp->on_connect = iperf_on_connect; in iperf_defaults()
2324 testp->on_test_finish = iperf_on_test_finish; in iperf_defaults()
2326 TAILQ_INIT(&testp->server_output_list); in iperf_defaults()