aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-08-18 16:28:22 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-08-18 16:28:22 +0000
commit6b470a57713c9d88caa14c33a44711b8f5102bd2 (patch)
tree668b84cd0851badaa440d1c2948ba5ee83b4dd28 /capture.h
parentc4ef8773bd7f10f9a35abf82f68c1a783c4cd528 (diff)
Re-arranged Ethereal's definitions of DLT_RAW et al. since capture.c
is the only file that uses them. I hope to avoid some compiler warnings with this. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@512 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index 14555486de..d40fa30c03 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.12 1999/08/15 22:31:22 guy Exp $
+ * $Id: capture.h,v 1.13 1999/08/18 16:28:22 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -32,6 +32,23 @@
#include <pcap.h>
#endif
+/* The version of pcap.h that comes with some systems is missing these
+ * #defines.
+ */
+
+#ifndef DLT_RAW
+#define DLT_RAW 12
+#endif
+
+#ifndef DLT_SLIP_BSDOS
+#define DLT_SLIP_BSDOS 13
+#endif
+
+#ifndef DLT_PPP_BSDOS
+#define DLT_PPP_BSDOS 14
+#endif
+
+
void capture_prep_cb(GtkWidget *, gpointer);
void capture(void);