summaryrefslogtreecommitdiff
path: root/includes/osdep.h
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1997-03-05 06:16:07 +0000
committerTed Lemon <source@isc.org>1997-03-05 06:16:07 +0000
commit2f26c2dcbc13f2135243e9e7e1a2265a77e6a7f0 (patch)
tree2e075bd813d3b92464e47239a1e352b2891d3491 /includes/osdep.h
parentf09bfe772e5df38a6d12cb8e3849a9e9181a70ac (diff)
downloadisc-dhcp-2f26c2dcbc13f2135243e9e7e1a2265a77e6a7f0.tar.gz
Add UPF support
Diffstat (limited to 'includes/osdep.h')
-rw-r--r--includes/osdep.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/includes/osdep.h b/includes/osdep.h
index 02af9dcd..b2b23ed2 100644
--- a/includes/osdep.h
+++ b/includes/osdep.h
@@ -131,6 +131,11 @@
# define USE_NIT_RECEIVE
#endif
+#ifdef USE_UPF
+# define USE_UPF_SEND
+# define USE_UPF_RECEIVE
+#endif
+
/* Porting::
If you add support for sending packets directly out an interface,
@@ -139,7 +144,7 @@
Currently, all low-level packet interfaces use BSD sockets as a
fallback. */
-#if defined (USE_BPF_SEND) || defined (USE_NIT_SEND)
+#if defined (USE_BPF_SEND) || defined (USE_NIT_SEND) || defined (USE_UPF_SEND)
# define USE_SOCKET_FALLBACK
# define USE_FALLBACK
#endif
@@ -150,7 +155,8 @@
and need to be able to assemble packets, add the USE_XXX_SEND
definition for your interface to the list tested below. */
-#if defined (USE_RAW_SEND) || defined (USE_BPF_SEND) || defined (USE_NIT_SEND)
+#if defined (USE_RAW_SEND) || defined (USE_BPF_SEND) || \
+ defined (USE_NIT_SEND) || defined (USE_UPF_SEND)
# define PACKET_ASSEMBLY
#endif
@@ -160,8 +166,8 @@
and need to be able to decode raw packets, add the USE_XXX_RECEIVE
definition for your interface to the list tested below. */
-#if defined (USE_RAW_RECEIVE) || defined (USE_BPF_RECEIVE) \
- || defined (USE_NIT_RECEIVE)
+#if defined (USE_RAW_RECEIVE) || defined (USE_BPF_SEND) || \
+ defined (USE_NIT_RECEIVE) || defined (USE_UPF_SEND)
# define PACKET_DECODING
#endif