Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap.c560 p->opt.tstamp_precision = PCAP_TSTAMP_PRECISION_MICRO; in pcap_create_common()
668 pcap_set_tstamp_precision(pcap_t *p, int tstamp_precision) in pcap_set_tstamp_precision() argument
683 if (tstamp_precision == PCAP_TSTAMP_PRECISION_MICRO) { in pcap_set_tstamp_precision()
684 p->opt.tstamp_precision = tstamp_precision; in pcap_set_tstamp_precision()
693 if (p->tstamp_precision_list[i] == tstamp_precision) { in pcap_set_tstamp_precision()
697 p->opt.tstamp_precision = tstamp_precision; in pcap_set_tstamp_precision()
712 return (p->opt.tstamp_precision); in pcap_get_tstamp_precision()
811 p->opt.tstamp_precision = PCAP_TSTAMP_PRECISION_MICRO; in pcap_open_offline_common()
1805 p->opt.tstamp_precision = precision; in pcap_open_dead_with_tstamp_precision()
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()
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()
Dpcap-int.h95 int tstamp_precision; member
Dpcap-linux.c1720 if (handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) {
3321 if (handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) {
4410 … handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? h.h2->tp_nsec : h.h2->tp_nsec / 1000,
4505 …handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? tp3_hdr->tp_nsec : tp3_hdr->tp_nsec /…