1
2PCAP_GET_TSTAMP_PRECISION(3PCAP) PCAP_GET_TSTAMP_PRECISION(3PCAP)
3
4
5
7 pcap_get_tstamp_precision - get the time stamp precision returned in
8 captures
9
11 #include <pcap/pcap.h>
12
13 int pcap_get_tstamp_precision(pcap_t *p);
14
16 pcap_get_tstamp_precision() returns the precision of the time stamp
17 returned in packet captures on the pcap descriptor.
18
20 pcap_get_tstamp_precision() returns PCAP_TSTAMP_PRECISION_MICRO or
21 PCAP_TSTAMP_PRECISION_NANO, which indicates that pcap captures contains
22 time stamps in microseconds or nanoseconds respectively.
23
25 pcap(3PCAP), pcap_set_tstamp_precision(3PCAP), pcap-tstamp(7)
26
27
28
29 27 August 2013PCAP_GET_TSTAMP_PRECISION(3PCAP)