Lines Matching refs:pcount
72 uint64_t pcount; in iperf_udp_recv() local
107 memcpy(&pcount, sp->buffer+8, sizeof(pcount)); in iperf_udp_recv()
110 pcount = be64toh(pcount); in iperf_udp_recv()
121 pcount = ntohl(pc); in iperf_udp_recv()
127 fprintf(stderr, "pcount %" PRIu64 " packet_count %d\n", pcount, sp->packet_count); in iperf_udp_recv()
142 if (pcount >= sp->packet_count + 1) { in iperf_udp_recv()
145 if (pcount > sp->packet_count + 1) { in iperf_udp_recv()
147 sp->cnt_error += (pcount - 1) - sp->packet_count; in iperf_udp_recv()
150 sp->packet_count = pcount; in iperf_udp_recv()
170 …ming packet sequence %" PRIu64 " but expected sequence %d on stream %d", pcount, sp->packet_count … in iperf_udp_recv()
226 uint64_t pcount; in iperf_udp_send() local
230 pcount = htobe64(sp->packet_count); in iperf_udp_send()
234 memcpy(sp->buffer+8, &pcount, sizeof(pcount)); in iperf_udp_send()
239 uint32_t sec, usec, pcount; in iperf_udp_send() local
243 pcount = htonl(sp->packet_count); in iperf_udp_send()
247 memcpy(sp->buffer+8, &pcount, sizeof(pcount)); in iperf_udp_send()