Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap.c566 p->opt.tstamp_precision = PCAP_TSTAMP_PRECISION_MICRO; in pcap_create_common()
680 pcap_set_tstamp_precision(pcap_t *p, int tstamp_precision) in pcap_set_tstamp_precision() argument
695 if (tstamp_precision == PCAP_TSTAMP_PRECISION_MICRO) { in pcap_set_tstamp_precision()
696 p->opt.tstamp_precision = tstamp_precision; in pcap_set_tstamp_precision()
705 if (p->tstamp_precision_list[i] == tstamp_precision) { in pcap_set_tstamp_precision()
709 p->opt.tstamp_precision = tstamp_precision; in pcap_set_tstamp_precision()
724 return (p->opt.tstamp_precision); in pcap_get_tstamp_precision()
823 p->opt.tstamp_precision = PCAP_TSTAMP_PRECISION_MICRO; in pcap_open_offline_common()
1835 p->opt.tstamp_precision = precision; in pcap_open_dead_with_tstamp_precision()
Dpcap-snf.c109 snf_timestamp_to_timeval(const int64_t ts_nanosec, const int tstamp_precision) in snf_timestamp_to_timeval() argument
121 if (tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) in snf_timestamp_to_timeval()
179 hdr.ts = snf_timestamp_to_timeval(req.timestamp, p->opt.tstamp_precision); in snf_read()
Dsf-pcap.c242 p->opt.tstamp_precision = precision; in pcap_check_header()
573 …hdr.magic = p->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? NSEC_TCPDUMP_MAGIC : TCPDUMP_M… in sf_write_header()
775 if (p->opt.tstamp_precision != PCAP_TSTAMP_PRECISION_MICRO) { in pcap_dump_open_append()
784 if (p->opt.tstamp_precision != PCAP_TSTAMP_PRECISION_NANO) { in pcap_dump_open_append()
Dsf-pcap-ng.c587 switch (p->opt.tstamp_precision) { in add_interface()
783 p->opt.tstamp_precision = precision; in pcap_ng_check_header()
846 p->opt.tstamp_precision = precision; in pcap_ng_check_header()
Dpcap-int.h116 int tstamp_precision; member
Dpcap-linux.c1813 if (handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) {
3469 if (handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) {
4781 … handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? h.h2->tp_nsec : h.h2->tp_nsec / 1000,
4883 …handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? tp3_hdr->tp_nsec : tp3_hdr->tp_nsec /…
Dpcap-dag.c566 switch (p->opt.tstamp_precision) { in dag_read()