Home
last modified time | relevance | path

Searched refs:tstamp_precision (Results 1 – 8 of 8) sorted by relevance

/external/libpcap/
Dpcap-snf.c110 snf_timestamp_to_timeval(const int64_t ts_nanosec, const int tstamp_precision) in snf_timestamp_to_timeval() argument
123 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()
Dsf-pcap.c254 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()
Dpcap.c2208 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;
Dpcap-int.h104 int tstamp_precision; member
Dsf-pcapng.c875 p->opt.tstamp_precision = precision; in pcap_ng_check_header()
945 p->opt.tstamp_precision = precision; in pcap_ng_check_header()
Dpcap-linux.c2040 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 /…
Dpcap-dag.c680 switch (p->opt.tstamp_precision) { in dag_read()
Dpcap-bpf.c1126 if (p->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) { in pcap_read_bpf()