Convert packetStats array to a struct.
Start of conversion of loop packet to a struct.
Convert loopData array to a struct.