Home | History | Annotate | Download | only in libpcap

Lines Matching refs:ts

437 			register unsigned long long ts;
440 ts = SWAPLL(header->ts);
442 ts = header->ts;
445 pcap_header.ts.tv_sec = ts >> 32;
446 ts = (ts & 0xffffffffULL) * 1000000;
447 ts += 0x80000000; /* rounding */
448 pcap_header.ts.tv_usec = ts >> 32;
449 if (pcap_header.ts.tv_usec >= 1000000) {
450 pcap_header.ts.tv_usec -= 1000000;
451 pcap_header.ts.tv_sec++;