summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-05-16 23:55:42 +0000
committerTed Lemon <source@isc.org>1996-05-16 23:55:42 +0000
commit58a4aa848dd24b00f178c4dc20251b7e52e8c209 (patch)
treee21845e040dc8b1280e8c093da201fddb4585058
parent019f8a12eb0cc87d3077c8e495eea13c6658a5f5 (diff)
downloadisc-dhcp-58a4aa848dd24b00f178c4dc20251b7e52e8c209.tar.gz
Add support for Alpha/OSF1; add default format for sprintfing BPF device name
-rw-r--r--includes/osdep.h8
-rw-r--r--osdep.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/includes/osdep.h b/includes/osdep.h
index f63239b0..30eea1ed 100644
--- a/includes/osdep.h
+++ b/includes/osdep.h
@@ -74,6 +74,10 @@
# include "cf/freebsd.h"
#endif
+#if defined (__osf__) && defined (__alpha)
+# include "cf/alphaosf.h"
+#endif
+
#ifdef ultrix
# include "cf/ultrix.h"
#endif
@@ -126,3 +130,7 @@
#ifndef ETHER_DEST
# define ETHER_DEST(x) ((x) -> ether_dhost)
#endif
+
+#ifndef BPF_FORMAT
+# define BPF_FORMAT "/dev/bpf%d"
+#endif
diff --git a/osdep.h b/osdep.h
index f63239b0..30eea1ed 100644
--- a/osdep.h
+++ b/osdep.h
@@ -74,6 +74,10 @@
# include "cf/freebsd.h"
#endif
+#if defined (__osf__) && defined (__alpha)
+# include "cf/alphaosf.h"
+#endif
+
#ifdef ultrix
# include "cf/ultrix.h"
#endif
@@ -126,3 +130,7 @@
#ifndef ETHER_DEST
# define ETHER_DEST(x) ((x) -> ether_dhost)
#endif
+
+#ifndef BPF_FORMAT
+# define BPF_FORMAT "/dev/bpf%d"
+#endif