Searched refs:tstamp_precision (Results 1 – 8 of 8) sorted by relevance
110 snf_timestamp_to_timeval(const int64_t ts_nanosec, const int tstamp_precision) in snf_timestamp_to_timeval() argument123 if (tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) in snf_timestamp_to_timeval()181 hdr.ts = snf_timestamp_to_timeval(req.timestamp, p->opt.tstamp_precision); in snf_read()
254 p->opt.tstamp_precision = precision; in pcap_check_header()706 …hdr.magic = p->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? NSEC_TCPDUMP_MAGIC : TCPDUMP_M… in sf_write_header()922 if (p->opt.tstamp_precision != PCAP_TSTAMP_PRECISION_MICRO) { in pcap_dump_open_append()931 if (p->opt.tstamp_precision != PCAP_TSTAMP_PRECISION_NANO) { in pcap_dump_open_append()
2208 p->opt.tstamp_precision = PCAP_TSTAMP_PRECISION_MICRO;2344 pcap_set_tstamp_precision(pcap_t *p, int tstamp_precision)2355 if (tstamp_precision < 0)2366 if (tstamp_precision == PCAP_TSTAMP_PRECISION_MICRO) {2367 p->opt.tstamp_precision = tstamp_precision;2376 if (p->tstamp_precision_list[i] == (u_int)tstamp_precision) {2380 p->opt.tstamp_precision = tstamp_precision;2395 return (p->opt.tstamp_precision);2557 p->opt.tstamp_precision = PCAP_TSTAMP_PRECISION_MICRO;3893 p->opt.tstamp_precision = precision;
104 int tstamp_precision; member
875 p->opt.tstamp_precision = precision; in pcap_ng_check_header()945 p->opt.tstamp_precision = precision; in pcap_ng_check_header()
2040 if (handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) {3908 if (handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) {5264 … handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? h.h2->tp_nsec : h.h2->tp_nsec / 1000,5378 …handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? tp3_hdr->tp_nsec : tp3_hdr->tp_nsec /…
680 switch (p->opt.tstamp_precision) { in dag_read()
1126 if (p->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) { in pcap_read_bpf()