2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

Define default network API to use

This commit is contained in:
Ted Lemon 1996-05-13 00:10:37 +00:00
parent e23c9055cc
commit 60b60a2b69
10 changed files with 40 additions and 4 deletions

View File

@ -71,3 +71,7 @@ extern int h_errno;
#define SET_TIME(x, y) (*(x) = (y))
#define ADD_TIME(d, s1, s2) (*(d) = *(s1) + *(s2))
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#if defined (USE_DEFAULT_NETWORK)
# define USE_BPF
#endif

View File

@ -75,3 +75,7 @@ extern int h_errno;
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#define HAVE_SIN_LEN
#if defined (USE_DEFAULT_NETWORK)
# define USE_BPF
#endif

View File

@ -109,5 +109,6 @@ extern int h_errno;
#define ADD_TIME(d, s1, s2) (*(d) = *(s1) + *(s2))
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#if defined (USE_DEFAULT_NETWORK)
# define USE_SOCKETS
#endif

View File

@ -74,3 +74,7 @@ extern int h_errno;
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#define HAVE_SIN_LEN
#if defined (USE_DEFAULT_NETWORK)
# define USE_BPF
#endif

View File

@ -101,3 +101,8 @@ extern int h_errno;
#define SET_TIME(x, y) (*(x) = (y))
#define ADD_TIME(d, s1, s2) (*(d) = *(s1) + *(s2))
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#if defined (USE_DEFAULT_NETWORK)
# define USE_SOCKETS
#endif

View File

@ -71,3 +71,7 @@ extern int h_errno;
#define SET_TIME(x, y) (*(x) = (y))
#define ADD_TIME(d, s1, s2) (*(d) = *(s1) + *(s2))
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#if defined (USE_DEFAULT_NETWORK)
# define USE_BPF
#endif

View File

@ -75,3 +75,7 @@ extern int h_errno;
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#define HAVE_SIN_LEN
#if defined (USE_DEFAULT_NETWORK)
# define USE_BPF
#endif

View File

@ -109,5 +109,6 @@ extern int h_errno;
#define ADD_TIME(d, s1, s2) (*(d) = *(s1) + *(s2))
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#if defined (USE_DEFAULT_NETWORK)
# define USE_SOCKETS
#endif

View File

@ -74,3 +74,7 @@ extern int h_errno;
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#define HAVE_SIN_LEN
#if defined (USE_DEFAULT_NETWORK)
# define USE_BPF
#endif

View File

@ -101,3 +101,8 @@ extern int h_errno;
#define SET_TIME(x, y) (*(x) = (y))
#define ADD_TIME(d, s1, s2) (*(d) = *(s1) + *(s2))
#define SET_MAX_TIME(x) (*(x) = INT_MAX)
#if defined (USE_DEFAULT_NETWORK)
# define USE_SOCKETS
#endif