Searched refs:packet_header (Results 1 – 2 of 2) sorted by relevance
36 struct packet_header { struct55 register struct packet_header *ph; in readloop() argument64 struct packet_header hdr; in readloop()79 ph = (struct packet_header *)bp; in readloop()
941 unsigned char packet_header[HEADER_SIZE]; local948 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 */