Searched refs:packet_header (Results 1 – 2 of 2) sorted by relevance
30 struct packet_header { struct49 register struct packet_header *ph; in readloop() argument58 struct packet_header hdr; in readloop()73 ph = (struct packet_header *)bp; in readloop()
956 unsigned char packet_header[HEADER_SIZE]; in pcap_read_acn() local963 handle->bp = packet_header; in pcap_read_acn()966 pcap_header.ts.tv_sec = ntohl(*(uint32_t *)&packet_header[0]); /* tv_sec */ in pcap_read_acn()967 pcap_header.ts.tv_usec = ntohl(*(uint32_t *)&packet_header[4]); /* tv_usec */ in pcap_read_acn()968 pcap_header.caplen = ntohl(*(uint32_t *)&packet_header[8]); /* caplen */ in pcap_read_acn()969 pcap_header.len = ntohl(*(uint32_t *)&packet_header[12]); /* len */ in pcap_read_acn()