]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add DLPI support
authorTed Lemon <source@isc.org>
Mon, 12 Jan 1998 01:07:21 +0000 (01:07 +0000)
committerTed Lemon <source@isc.org>
Mon, 12 Jan 1998 01:07:21 +0000 (01:07 +0000)
includes/osdep.h

index ed725db6b5822033d1e696721e5326157df9efc2..22b075c92cbe135f61c4a00960972abe9c5ed7e6 100644 (file)
@@ -52,7 +52,9 @@
     !defined (USE_BPF_RECEIVE) && \
     !defined (USE_NIT) && \
     !defined (USE_NIT_SEND) && \
-    !defined (USE_NIT_RECEIVE)
+    !defined (USE_NIT_RECEIVE) && \
+    !defined (USR_DLPI_SEND) && \
+    !defined (USE_DLPI_RECEIVE)
 #  define USE_DEFAULT_NETWORK
 #endif
 
 #  define USE_NIT_RECEIVE
 #endif
 
+#ifdef USE_DLPI
+#  define USE_DLPI_SEND
+#  define USE_DLPI_RECEIVE
+#endif
+
 #ifdef USE_UPF
 #  define USE_UPF_SEND
 #  define USE_UPF_RECEIVE
    Currently, all low-level packet interfaces use BSD sockets as a
    fallback. */
 
-#if defined (USE_BPF_SEND) || defined (USE_NIT_SEND) || defined (USE_UPF_SEND)
+#if defined (USE_BPF_SEND) || defined (USE_NIT_SEND) || \
+    defined (USE_DLPI_SEND) || defined (USE_UPF_SEND)
 #  define USE_SOCKET_FALLBACK
 #  define USE_FALLBACK
 #endif
    definition for your interface to the list tested below. */
 
 #if defined (USE_RAW_SEND) || defined (USE_BPF_SEND) || \
-               defined (USE_NIT_SEND) || defined (USE_UPF_SEND)
+               defined (USE_NIT_SEND) || defined (USE_UPF_SEND) || \
+               defined (USE_DLPI_SEND)
 #  define PACKET_ASSEMBLY
 #endif
 
    definition for your interface to the list tested below. */
 
 #if defined (USE_RAW_RECEIVE) || defined (USE_BPF_SEND) || \
-               defined (USE_NIT_RECEIVE) || defined (USE_UPF_SEND)
+               defined (USE_NIT_RECEIVE) || defined (USE_UPF_RECEIVE) || \
+               defined (USE_DLPI_RECEIVE)
 #  define PACKET_DECODING
 #endif