Searched refs:bw_lim (Results 1 – 4 of 4) sorted by relevance
173 cfg.bw_lim = IPERF_DEFAULT_NO_BW_LIMIT; in eth_cmd_iperf()175 cfg.bw_lim = iperf_args.bw_limit->ival[0]; in eth_cmd_iperf()176 if (cfg.bw_lim <= 0) { in eth_cmd_iperf()177 cfg.bw_lim = IPERF_DEFAULT_NO_BW_LIMIT; in eth_cmd_iperf()
152 …atic void socket_send(int send_socket, struct sockaddr_storage dest_addr, uint8_t type, int bw_lim) in socket_send() argument167 if (bw_lim > 0) { in socket_send()168 period_us = want_send * 8 / bw_lim; in socket_send()332 socket_send(client_socket, dest_addr, IPERF_TRANS_TYPE_TCP, s_iperf_ctrl.cfg.bw_lim); in iperf_run_tcp_client()439 socket_send(client_socket, dest_addr, IPERF_TRANS_TYPE_UDP, s_iperf_ctrl.cfg.bw_lim); in iperf_run_udp_client()
408 cfg.bw_lim = IPERF_DEFAULT_NO_BW_LIMIT; in wifi_cmd_iperf()410 cfg.bw_lim = iperf_args.bw_limit->ival[0]; in wifi_cmd_iperf()411 if (cfg.bw_lim <= 0) { in wifi_cmd_iperf()412 cfg.bw_lim = IPERF_DEFAULT_NO_BW_LIMIT; in wifi_cmd_iperf()
71 int32_t bw_lim; member