summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-30 18:49:37 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-30 18:49:37 -0800
commit817aadf8bb2f67efced4c26f7335db0f64d67783 (patch)
tree37c5909b85dc5cebc71acf6dafda32f594f5cb16 /config.h.in
parent3dbcc57b6adf21628b8da07b8782d1d7c7bf0bfc (diff)
downloadtcpdump-817aadf8bb2f67efced4c26f7335db0f64d67783.tar.gz
Use the new debugging routines in libpcap.
Newer versions of libpcap, when configured to provide debugging printouts for the filter expression parser or optimizer, provide routines to set the "debug the parser" and "debug the optimizer" flags; use them if the library has them. If the library doesn't have them, do our best to try to use the older mechanisms for requesting debugging, if present.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index e45a2de8..6f6bb11a 100644
--- a/config.h.in
+++ b/config.h.in
@@ -142,6 +142,12 @@
/* Define to 1 if you have the `pcap_set_immediate_mode' function. */
#undef HAVE_PCAP_SET_IMMEDIATE_MODE
+/* Define to 1 if you have the `pcap_set_optimizer_debug' function. */
+#undef HAVE_PCAP_SET_OPTIMIZER_DEBUG
+
+/* Define to 1 if you have the `pcap_set_parser_debug' function. */
+#undef HAVE_PCAP_SET_PARSER_DEBUG
+
/* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
#undef HAVE_PCAP_SET_TSTAMP_PRECISION