Home
last modified time | relevance | path

Searched refs:packet_header (Results 1 – 2 of 2) sorted by relevance

/external/libpcap/
Dpcap-enet.c36 struct packet_header { struct
55 register struct packet_header *ph; in readloop() argument
64 struct packet_header hdr; in readloop()
79 ph = (struct packet_header *)bp; in readloop()
Dpcap-sita.c941 unsigned char packet_header[HEADER_SIZE]; local
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 */