Home | History | Annotate | Download | only in libpcap

Lines Matching defs:ts

198 	ULONGLONG ts;
302 ts = header->ts;
303 pcap_header.ts.tv_sec = (int)(ts >> 32);
304 ts = (ts & 0xffffffffi64) * 1000000;
305 ts += 0x80000000; /* rounding */
306 pcap_header.ts.tv_usec = (int)(ts >> 32);
307 if (pcap_header.ts.tv_usec >= 1000000) {
308 pcap_header.ts.tv_usec -= 1000000;
309 pcap_header.ts.tv_sec++;