Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dpcap-enet.c30 struct packet_header { struct
49 register struct packet_header *ph; in readloop() argument
58 struct packet_header hdr; in readloop()
73 ph = (struct packet_header *)bp; in readloop()
H A Dpcap-sita.c956 unsigned char packet_header[HEADER_SIZE]; in pcap_read_acn() local
963 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()