Searched refs:PCAP_TSTAMP_PRECISION_NANO (Results 1 – 10 of 10) sorted by relevance
123 if (tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) in snf_timestamp_to_timeval()575 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in snf_create()
290 case PCAP_TSTAMP_PRECISION_NANO: in pcap_check_header()724 …hdr.magic = p->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? NSEC_TCPDUMP_MAGIC : TCPDUMP_M… in sf_write_header()1041 if (p->opt.tstamp_precision != PCAP_TSTAMP_PRECISION_NANO) { in pcap_dump_open_append()
683 case PCAP_TSTAMP_PRECISION_NANO: in dag_read()1109 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in dag_create()
374 handle->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in pcap_create_interface()2616 if (handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) { in setup_socket()4132 … handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? h.h2->tp_nsec : h.h2->tp_nsec / 1000, in pcap_read_linux_mmap_v2()4257 …handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? tp3_hdr->tp_nsec : tp3_hdr->tp_nsec /… in pcap_read_linux_mmap_v3()
899 case PCAP_TSTAMP_PRECISION_NANO: in pcap_ng_check_header()
466 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in pcap_create_interface()1265 if (p->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) { in pcap_read_bpf()
4388 case PCAP_TSTAMP_PRECISION_NANO:
209 case PCAP_TSTAMP_PRECISION_NANO: in ts_frac_print()308 case PCAP_TSTAMP_PRECISION_NANO: in ts_print()
948 return PCAP_TSTAMP_PRECISION_NANO; in tstamp_precision_from_string()964 case PCAP_TSTAMP_PRECISION_NANO: in tstamp_precision_to_string()1946 ndo->ndo_tstamp_precision = PCAP_TSTAMP_PRECISION_NANO; in main()
512 #define PCAP_TSTAMP_PRECISION_NANO 1 /* use timestamps with nanosecond precision */ macro