title: Is there a way I can read packets from a pcap file into an array?
body: <p>I am trying to build a new layer using scapy. I want to read a pcap file and store each packet in an array so that I can access all the information inside the packet using the index of the array.</p>