• Home
  • Raw
  • Download

Lines Matching refs:testp

2466 iperf_defaults(struct iperf_test *testp)  in iperf_defaults()  argument
2473 testp->omit = OMIT; in iperf_defaults()
2474 testp->duration = DURATION; in iperf_defaults()
2475 testp->diskfile_name = (char*) 0; in iperf_defaults()
2476 testp->affinity = -1; in iperf_defaults()
2477 testp->server_affinity = -1; in iperf_defaults()
2478 TAILQ_INIT(&testp->xbind_addrs); in iperf_defaults()
2480 CPU_ZERO(&testp->cpumask); in iperf_defaults()
2482 testp->title = NULL; in iperf_defaults()
2483 testp->extra_data = NULL; in iperf_defaults()
2484 testp->congestion = NULL; in iperf_defaults()
2485 testp->congestion_used = NULL; in iperf_defaults()
2486 testp->remote_congestion_used = NULL; in iperf_defaults()
2487 testp->server_port = PORT; in iperf_defaults()
2488 testp->ctrl_sck = -1; in iperf_defaults()
2489 testp->prot_listener = -1; in iperf_defaults()
2490 testp->other_side_has_retransmits = 0; in iperf_defaults()
2492 testp->stats_callback = iperf_stats_callback; in iperf_defaults()
2493 testp->reporter_callback = iperf_reporter_callback; in iperf_defaults()
2495 testp->stats_interval = testp->reporter_interval = 1; in iperf_defaults()
2496 testp->num_streams = 1; in iperf_defaults()
2498 testp->settings->domain = AF_UNSPEC; in iperf_defaults()
2499 testp->settings->unit_format = 'a'; in iperf_defaults()
2500 testp->settings->socket_bufsize = 0; /* use autotuning */ in iperf_defaults()
2501 testp->settings->blksize = DEFAULT_TCP_BLKSIZE; in iperf_defaults()
2502 testp->settings->rate = 0; in iperf_defaults()
2503 testp->settings->bitrate_limit = 0; in iperf_defaults()
2504 testp->settings->bitrate_limit_interval = 5; in iperf_defaults()
2505 testp->settings->bitrate_limit_stats_per_interval = 0; in iperf_defaults()
2506 testp->settings->fqrate = 0; in iperf_defaults()
2507 testp->settings->pacing_timer = 1000; in iperf_defaults()
2508 testp->settings->burst = 0; in iperf_defaults()
2509 testp->settings->mss = 0; in iperf_defaults()
2510 testp->settings->bytes = 0; in iperf_defaults()
2511 testp->settings->blocks = 0; in iperf_defaults()
2512 testp->settings->connect_timeout = -1; in iperf_defaults()
2513 memset(testp->cookie, 0, COOKIE_SIZE); in iperf_defaults()
2515 testp->multisend = 10; /* arbitrary */ in iperf_defaults()
2518 SLIST_INIT(&testp->streams); in iperf_defaults()
2519 SLIST_INIT(&testp->protocols); in iperf_defaults()
2533 SLIST_INSERT_HEAD(&testp->protocols, tcp, protocols); in iperf_defaults()
2551 set_protocol(testp, Ptcp); in iperf_defaults()
2573 testp->on_new_stream = iperf_on_new_stream; in iperf_defaults()
2574 testp->on_test_start = iperf_on_test_start; in iperf_defaults()
2575 testp->on_connect = iperf_on_connect; in iperf_defaults()
2576 testp->on_test_finish = iperf_on_test_finish; in iperf_defaults()
2578 TAILQ_INIT(&testp->server_output_list); in iperf_defaults()