Lines Matching refs:tmp_count

140 count_t iperf_copy_count( count_t pkt_count, count_t tmp_count );
141 count_t iperf_diff_count( count_t pkt_count, count_t tmp_count );
168 count_t tmp_count = {0}; in iperf_udp_run_server() local
203 tmp_count = iperf_reset_count( tmp_count ); in iperf_udp_run_server()
359 … iperf_display_report( "UDP Server", interval_time, 0, iperf_diff_count( pkt_count, tmp_count ) ); in iperf_udp_run_server()
360 tmp_count = iperf_copy_count( pkt_count, tmp_count ); in iperf_udp_run_server()
366 iperf_diff_count( pkt_count, tmp_count ) ); in iperf_udp_run_server()
367 tmp_count = iperf_copy_count( pkt_count, tmp_count ); in iperf_udp_run_server()
470 count_t tmp_count = {0}; in iperf_tcp_run_server() local
488 tmp_count = iperf_reset_count( tmp_count ); in iperf_tcp_run_server()
598 … iperf_display_report( "TCP Server", interval_time, 0, iperf_diff_count( pkt_count, tmp_count ) ); in iperf_tcp_run_server()
599 tmp_count = iperf_copy_count( pkt_count, tmp_count ); in iperf_tcp_run_server()
615 tmp_count = iperf_reset_count( tmp_count ); in iperf_tcp_run_server()
649 count_t tmp_count = {0}; in iperf_tcp_run_client() local
661 tmp_count = iperf_reset_count( tmp_count ); in iperf_tcp_run_client()
796 … iperf_display_report( "TCP Client", interval_time, 0, iperf_diff_count( pkt_count, tmp_count ) ); in iperf_tcp_run_client()
797 tmp_count = iperf_copy_count( pkt_count, tmp_count ); in iperf_tcp_run_client()
825 count_t tmp_count = {0}; in iperf_udp_run_client() local
847 tmp_count = iperf_reset_count( tmp_count ); in iperf_udp_run_client()
1052 … iperf_display_report( "UDP Client", interval_time, 0, iperf_diff_count( pkt_count, tmp_count ) ); in iperf_udp_run_client()
1053 tmp_count = iperf_copy_count( pkt_count, tmp_count ); in iperf_udp_run_client()
1204 count_t iperf_copy_count( count_t pkt_count, count_t tmp_count ) in iperf_copy_count() argument
1207 tmp_count.Bytes = pkt_count.Bytes; in iperf_copy_count()
1208 tmp_count.KBytes = pkt_count.KBytes; in iperf_copy_count()
1209 tmp_count.MBytes = pkt_count.MBytes; in iperf_copy_count()
1210 tmp_count.GBytes = pkt_count.GBytes; in iperf_copy_count()
1211 tmp_count.times = pkt_count.times; in iperf_copy_count()
1213 return tmp_count; in iperf_copy_count()
1216 count_t iperf_diff_count( count_t pkt_count, count_t tmp_count ) in iperf_diff_count() argument
1219 tmp_count.times = pkt_count.times - tmp_count.times; in iperf_diff_count()
1221 if ( pkt_count.Bytes >= tmp_count.Bytes ) { in iperf_diff_count()
1222 tmp_count.Bytes = pkt_count.Bytes - tmp_count.Bytes; in iperf_diff_count()
1224 tmp_count.Bytes = pkt_count.Bytes + 1024 - tmp_count.Bytes; in iperf_diff_count()
1239 if ( pkt_count.KBytes >= tmp_count.KBytes ) { in iperf_diff_count()
1240 tmp_count.KBytes = pkt_count.KBytes - tmp_count.KBytes; in iperf_diff_count()
1242 tmp_count.KBytes = pkt_count.KBytes + 1024 - tmp_count.KBytes; in iperf_diff_count()
1253 if ( pkt_count.MBytes >= tmp_count.MBytes ) { in iperf_diff_count()
1254 tmp_count.MBytes = pkt_count.MBytes - tmp_count.MBytes; in iperf_diff_count()
1256 tmp_count.MBytes = pkt_count.MBytes + 1024 - tmp_count.MBytes; in iperf_diff_count()
1266 tmp_count.times, tmp_count.GBytes, tmp_count.MBytes, tmp_count.KBytes, tmp_count.Bytes); in iperf_diff_count()
1269 return tmp_count; in iperf_diff_count()