Refer to the Wireshark documentation for a description of the PCAP file format at: http://wiki.wireshark.org/Development/LibpcapFileFormat