Lines Matching refs:stat
27 struct zperf_server_hdr *stat; in zperf_upload_decode_stat() local
34 stat = (struct zperf_server_hdr *) in zperf_upload_decode_stat()
37 results->nb_packets_rcvd = ntohl(UNALIGNED_GET(&stat->datagrams)); in zperf_upload_decode_stat()
38 results->nb_packets_lost = ntohl(UNALIGNED_GET(&stat->error_cnt)); in zperf_upload_decode_stat()
40 ntohl(UNALIGNED_GET(&stat->outorder_cnt)); in zperf_upload_decode_stat()
41 results->total_len = (((uint64_t)ntohl(UNALIGNED_GET(&stat->total_len1))) << 32) + in zperf_upload_decode_stat()
42 ntohl(UNALIGNED_GET(&stat->total_len2)); in zperf_upload_decode_stat()
43 results->time_in_us = ntohl(UNALIGNED_GET(&stat->stop_usec)) + in zperf_upload_decode_stat()
44 ntohl(UNALIGNED_GET(&stat->stop_sec)) * USEC_PER_SEC; in zperf_upload_decode_stat()
45 results->jitter_in_us = ntohl(UNALIGNED_GET(&stat->jitter2)) + in zperf_upload_decode_stat()
46 ntohl(UNALIGNED_GET(&stat->jitter1)) * USEC_PER_SEC; in zperf_upload_decode_stat()