Home | History | Annotate | Download | only in sandbox

Lines Matching refs:firstPacket

44 size_t numPackets;      // number of packets to play, defaults to totalPackets - firstPacket
48 size_t firstPacket; // first packet index to be played, defaults to zero
272 firstPacket = atoi(&arg[2]);
346 if (firstPacket >= totalPackets) {
347 fprintf(stderr, "-f%zu ignored\n", firstPacket);
348 firstPacket = 0;
351 numPackets = totalPackets - firstPacket;
352 } else if (firstPacket + numPackets > totalPackets) {
354 numPackets = totalPackets - firstPacket;
356 lastPacket = firstPacket + numPackets;
357 if (discPacket != 0 && (discPacket < firstPacket || discPacket >= lastPacket)) {
361 if (afterDiscPacket < firstPacket || afterDiscPacket >= lastPacket) {
365 if (formatPacket != 0 && (formatPacket < firstPacket || formatPacket >= lastPacket)) {
476 for (curPacket = firstPacket; curPacket < lastPacket; curPacket += packetsThisBuffer) {
485 printf("Enqueued initial %u packets in %u buffers\n", curPacket - firstPacket,
486 (curPacket - firstPacket + PACKETS_PER_BUFFER - 1) / PACKETS_PER_BUFFER);