73 maxPacketLength = maxFrameLength - (
UINT) (newPacket_ptr - frame_ptr);
95 return (lastPacket_ptr == packet_ptr);
125 for (iPacket=0; iPacket<index ; iPacket++) {
140 return testPacket_ptr;
167 thisPacket_ptr = nextPacket_ptr;
171 return thisPacket_ptr;
203 return testPacket_ptr;
224 return testPacket_ptr;
243 if ((currentPacket_ptr < frameDataStart_ptr) || (currentPacket_ptr > frameDataEnd_ptr)) {
252 if (nextPacket_ptr > frameDataEnd_ptr)
return ptrFailure;
253 else return nextPacket_ptr;