packetloop helper