aboutsummaryrefslogtreecommitdiffstats
path: root/caputils/capture-pcap-util.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-04 18:08:47 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-05 02:09:14 +0000
commitcd93af0ed16dba3c4b2ad3f9e0874d0ddd8877dc (patch)
treead29b33c79adfb2cfd3df0d57b8a6c7743095da0 /caputils/capture-pcap-util.h
parent6f3fc0ee7e83660222ff709c59d61f910d73379f (diff)
Oops, we also need to worry about pcap_get_tstamp_precision().
Change-Id: I60a1f671ba313c59ca1999ab703ee11370608758 Reviewed-on: https://code.wireshark.org/review/5123 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'caputils/capture-pcap-util.h')
-rw-r--r--caputils/capture-pcap-util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/caputils/capture-pcap-util.h b/caputils/capture-pcap-util.h
index 079e3fabd7..3cec18305b 100644
--- a/caputils/capture-pcap-util.h
+++ b/caputils/capture-pcap-util.h
@@ -56,6 +56,13 @@ int linktype_name_to_val(const char *linktype);
* and append them to a GString.
*/
void request_high_resolution_timestamp(pcap_t *pcap_h);
+
+/*
+ * Return TRUE if the pcap_t in question is set up for high-precision
+ * time stamps, FALSE otherwise.
+ */
+gboolean have_high_resolution_timestamp(pcap_t *pcap_h);
+
#endif /* HAVE_PCAP_SET_TSTAMP_PRECISION */
#endif /* HAVE_LIBPCAP */