Lines Matching refs:packet_header
941 unsigned char packet_header[HEADER_SIZE];
948 handle->bp = packet_header;
951 pcap_header.ts.tv_sec = ntohl(*(uint32_t *)&packet_header[0]); /* tv_sec */
952 pcap_header.ts.tv_usec = ntohl(*(uint32_t *)&packet_header[4]); /* tv_usec */
953 pcap_header.caplen = ntohl(*(uint32_t *)&packet_header[8]); /* caplen */
954 pcap_header.len = ntohl(*(uint32_t *)&packet_header[12]); /* len */