diff options
author | Ted Lemon <source@isc.org> | 1998-01-12 01:07:21 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1998-01-12 01:07:21 +0000 |
commit | 961ea0f767b8a9daa3bc98d4e804bafbbb2942a6 (patch) | |
tree | 57097573940e21156ef0030530d94788dcd10f11 /includes/osdep.h | |
parent | 94f0882475234fc93de872e0b88a2ba2bb408091 (diff) | |
download | isc-dhcp-961ea0f767b8a9daa3bc98d4e804bafbbb2942a6.tar.gz |
Add DLPI support
Diffstat (limited to 'includes/osdep.h')
-rw-r--r-- | includes/osdep.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/includes/osdep.h b/includes/osdep.h index ed725db6..22b075c9 100644 --- a/includes/osdep.h +++ b/includes/osdep.h @@ -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 @@ -139,6 +141,11 @@ # 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 @@ -152,7 +159,8 @@ 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 @@ -164,7 +172,8 @@ 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 @@ -175,7 +184,8 @@ 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 |