Home | History | Annotate | Download | only in libpcap

Lines Matching defs:ts

312 	ULONGLONG ts;
416 ts = header->ts;
417 pcap_header.ts.tv_sec = (int)(ts >> 32);
418 ts = (ts & 0xffffffffi64) * 1000000;
419 ts += 0x80000000; /* rounding */
420 pcap_header.ts.tv_usec = (int)(ts >> 32);
421 if (pcap_header.ts.tv_usec >= 1000000) {
422 pcap_header.ts.tv_usec -= 1000000;
423 pcap_header.ts.tv_sec++;