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.c121 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()
H A Dsf-pcap.c362 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()
H A Dpcap-dag.c681 case PCAP_TSTAMP_PRECISION_NANO: in dag_read()
1107 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 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()
H A Dsf-pcapng.c897 case PCAP_TSTAMP_PRECISION_NANO: in pcap_ng_check_header()
H A Dpcap-bpf.c465 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()
H A Dpcap.c4507 case PCAP_TSTAMP_PRECISION_NANO:
/freebsd/contrib/tcpdump/
H A Dutil-print.c221 case PCAP_TSTAMP_PRECISION_NANO: in ts_frac_print()
318 case PCAP_TSTAMP_PRECISION_NANO: in ts_print()
H A Dtcpdump.c946 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()
/freebsd/contrib/libpcap/pcap/
H A Dpcap.h561 #define PCAP_TSTAMP_PRECISION_NANO 1 /* use timestamps with nanosecond precision */ macro