Making Packet Analyzer to work by reference