summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorguy <guy>2002-12-19 09:27:54 +0000
committerguy <guy>2002-12-19 09:27:54 +0000
commit60761585472a90c34d7de7bdf50475f0d7261b2d (patch)
tree29d161e33516bf8a213dfaa9fdf64c0c0300f721 /acconfig.h
parent2a13a72f0960bca64cd28bda9c6c2ee529736364 (diff)
downloadtcpdump-60761585472a90c34d7de7bdf50475f0d7261b2d.tar.gz
NetBSD support for multiple data link types on an interface, from David
Young <dyoung@ojctech.com>, with some minor changes by Jason R. Thorpe <thorpej@netbsd.org>, and further changes by me to: use "-y" rather than "-D" to set the link type ("-D" was already taken); use libpcap APIs to map between data link type names and values; supply stub versions of missing-but-needed libpcap APIs. Update Jason Thorpe's e-mail address (Zembu is going away, if it hasn't done so already).
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 9ccde6e3..d9dcffc1 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -74,6 +74,15 @@
/* define if libpcap has yydebug */
#undef HAVE_YYDEBUG
+/* define if libpcap has pcap_list_datalinks() */
+#undef HAVE_PCAP_LIST_DATALINKS
+
+/* define if libpcap has pcap_set_datalink() */
+#undef HAVE_PCAP_SET_DATALINK
+
+/* define if libpcap has pcap_datalink_name_to_val() */
+#undef HAVE_PCAP_DATALINK_NAME_TO_VAL
+
/* define if unaligned memory accesses fail */
#undef LBL_ALIGN