Added cindy's code for reading a pcap.