Home | History | Annotate | Download | only in src

Lines Matching refs:pcount

65     uint64_t  pcount;
89 memcpy(&pcount, sp->buffer+8, sizeof(pcount));
92 pcount = be64toh(pcount);
103 pcount = ntohl(pc);
109 fprintf(stderr, "pcount %" PRIu64 " packet_count %d\n", pcount, sp->packet_count);
119 * Note that pcount is the sequence number read from the packet,
124 if (pcount >= sp->packet_count + 1) {
127 if (pcount > sp->packet_count + 1) {
129 sp->cnt_error += (pcount - 1) - sp->packet_count;
132 sp->packet_count = pcount;
152 fprintf(stderr, "OUT OF ORDER - incoming packet sequence %" PRIu64 " but expected sequence %d on stream %d", pcount, sp->packet_count, sp->socket);
203 uint64_t pcount;
207 pcount = htobe64(sp->packet_count);
211 memcpy(sp->buffer+8, &pcount, sizeof(pcount));
216 uint32_t sec, usec, pcount;
220 pcount = htonl(sp->packet_count);
224 memcpy(sp->buffer+8, &pcount, sizeof(pcount));