Searched refs:samp_time (Results 1 – 1 of 1) sorted by relevance
87 …struct timeval samp_time; /* parameter needed for sampling, with '1 every N ms' method has been re… member616 if (pkt_header->ts.tv_sec < pw->samp_time.tv_sec || in pcap_read_npf()617 …(pkt_header->ts.tv_sec == pw->samp_time.tv_sec && pkt_header->ts.tv_usec < pw->samp_time.tv_usec))… in pcap_read_npf()627 pw->samp_time.tv_usec = pkt_header->ts.tv_usec + p->rmt_samp.value * 1000; in pcap_read_npf()628 if (pw->samp_time.tv_usec > 1000000) { in pcap_read_npf()629 pw->samp_time.tv_sec = pkt_header->ts.tv_sec + pw->samp_time.tv_usec / 1000000; in pcap_read_npf()630 pw->samp_time.tv_usec = pw->samp_time.tv_usec % 1000000; in pcap_read_npf()