Home
last modified time | relevance | path

Searched refs:PCAP_TSTAMP_PRECISION_NANO (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/libpcap/
H A Dpcap-snf.c123 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()
H A Dsf-pcap.c290 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()
H A Dpcap-dag.c683 case PCAP_TSTAMP_PRECISION_NANO: in dag_read()
1109 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in dag_create()
H A Dpcap-linux.c374 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()
H A Dsf-pcapng.c899 case PCAP_TSTAMP_PRECISION_NANO: in pcap_ng_check_header()
H A Dpcap-bpf.c466 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()
H A Dpcap.c4388 case PCAP_TSTAMP_PRECISION_NANO:
/freebsd/contrib/tcpdump/
H A Dutil-print.c209 case PCAP_TSTAMP_PRECISION_NANO: in ts_frac_print()
308 case PCAP_TSTAMP_PRECISION_NANO: in ts_print()
H A Dtcpdump.c948 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()
/freebsd/contrib/libpcap/pcap/
H A Dpcap.h512 #define PCAP_TSTAMP_PRECISION_NANO 1 /* use timestamps with nanosecond precision */ macro