Searched refs:PCAP_TSTAMP_PRECISION_NANO (Results 1 – 10 of 10) sorted by relevance
121 if (tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) in snf_timestamp_to_timeval()573 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in snf_create()
362 case PCAP_TSTAMP_PRECISION_NANO: in pcap_check_header()796 …hdr.magic = p->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? NSEC_TCPDUMP_MAGIC : TCPDUMP_M… in sf_write_header()1119 if (p->opt.tstamp_precision != PCAP_TSTAMP_PRECISION_NANO) { in pcap_dump_open_append()
681 case PCAP_TSTAMP_PRECISION_NANO: in dag_read()1107 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in dag_create()
374 handle->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in pcapint_create_interface()2658 if (handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) { in setup_socket()4280 … handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? h.h2->tp_nsec : h.h2->tp_nsec / 1000, in pcap_read_linux_mmap_v2()4405 …handle->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO ? tp3_hdr->tp_nsec : tp3_hdr->tp_nsec /… in pcap_read_linux_mmap_v3()
897 case PCAP_TSTAMP_PRECISION_NANO: in pcap_ng_check_header()
465 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in pcapint_create_interface()1382 if (p->opt.tstamp_precision == PCAP_TSTAMP_PRECISION_NANO) { in pcap_read_bpf()
4507 case PCAP_TSTAMP_PRECISION_NANO:
221 case PCAP_TSTAMP_PRECISION_NANO: in ts_frac_print()318 case PCAP_TSTAMP_PRECISION_NANO: in ts_print()
946 return PCAP_TSTAMP_PRECISION_NANO; in tstamp_precision_from_string()962 case PCAP_TSTAMP_PRECISION_NANO: in tstamp_precision_to_string()1952 ndo->ndo_tstamp_precision = PCAP_TSTAMP_PRECISION_NANO; in main()
561 #define PCAP_TSTAMP_PRECISION_NANO 1 /* use timestamps with nanosecond precision */ macro