PacketScanner class