Lines Matching refs:param
125 int zperf_tcp_upload(const struct zperf_upload_params *param, in zperf_tcp_upload() argument
131 if (param == NULL || result == NULL) { in zperf_tcp_upload()
135 sock = zperf_prepare_upload_sock(¶m->peer_addr, param->options.tos, in zperf_tcp_upload()
136 param->options.priority, param->options.tcp_nodelay, in zperf_tcp_upload()
142 ret = tcp_upload(sock, param->duration_ms, param->packet_size, result); in zperf_tcp_upload()
155 struct zperf_upload_params param = upload_ctx->param; in tcp_upload_async_work() local
161 sock = zperf_prepare_upload_sock(¶m.peer_addr, param.options.tos, in tcp_upload_async_work()
162 param.options.priority, param.options.tcp_nodelay, in tcp_upload_async_work()
171 if (param.options.report_interval_ms > 0) { in tcp_upload_async_work()
172 uint32_t report_interval = param.options.report_interval_ms; in tcp_upload_async_work()
173 uint32_t duration = param.duration_ms; in tcp_upload_async_work()
191 ret = tcp_upload(sock, round_duration, param.packet_size, &periodic_result); in tcp_upload_async_work()
208 ret = tcp_upload(sock, param.duration_ms, param.packet_size, &result); in tcp_upload_async_work()
222 int zperf_tcp_upload_async(const struct zperf_upload_params *param, in zperf_tcp_upload_async() argument
225 if (param == NULL || callback == NULL) { in zperf_tcp_upload_async()
233 memcpy(&tcp_async_upload_ctx.param, param, sizeof(*param)); in zperf_tcp_upload_async()