//const uint32_t pcap_magic_number = 0xa1b2c3d4;
const uint8_t pcap_magic_bytes[] = {0xa1, 0xb2, 0xc3, 0xd4};
-// pcap file header is 5 x uint32 + 2 x uint16 --> 24 bytes
-const std::streamsize pcap_file_header_size = sizeof(pcapfile_hdr_t);
-
-// pcap file header is 4 x uint32 --> 16 bytes
-const std::streamsize pcap_packet_header_size = sizeof(pcaprec_hdr_t);
-
-// pcap ethernet header is 2 x 6 byte + 2 byte --> 14 bytes
-const std::streamsize pcap_ethernet_header_size = sizeof(pcapeth_hdr_t);
-
// determine whether is raw data or pcap by peeking at first 4 bytes
bool check_for_pcap_header(std::istream &input_stream)
{