ISC DHCP  4.3.1
A reference DHCPv4 and DHCPv6 implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
config.h
Go to the documentation of this file.
1 /* includes/config.h. Generated from config.h.in by configure. */
2 /* includes/config.h.in. Generated from configure.ac by autoheader. */
3 
4 /* Define if building universal (internal helper macro) */
5 /* #undef AC_APPLE_UNIVERSAL_BUILD */
6 
7 /* Define to compile debug-only DHCP software. */
8 /* #undef DEBUG */
9 
10 /* Define to queue multiple DHCPACK replies per fsync. */
11 /* #undef DELAYED_ACK */
12 
13 /* Define to BIG_ENDIAN for MSB (Motorola or SPARC CPUs) or LITTLE_ENDIAN for
14  LSB (Intel CPUs). */
15 #define DHCP_BYTE_ORDER BIG_ENDIAN
16 
17 /* Define to 1 to include DHCPv6 support. */
18 #define DHCPv6 1
19 
20 /* Define to any value to chroot() prior to loading config. */
21 #define EARLY_CHROOT 1
22 
23 /* Define to include execute() config language support. */
24 #define ENABLE_EXECUTE 1
25 
26 /* Define to include Failover Protocol support. */
27 #define FAILOVER_PROTOCOL 1
28 
29 /* Define to nothing if C supports flexible array members, and to 1 if it does
30  not. That way, with a declaration like `struct s { int n; double
31  d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
32  compilers. When computing the size of such an object, don't use 'sizeof
33  (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
34  instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
35  MSVC and with C++ compilers. */
36 #define FLEXIBLE_ARRAY_MEMBER
37 
38 /* Define to 1 to use the Berkeley Packet Filter interface code. */
39 /* #undef HAVE_BPF */
40 
41 /* Define to 1 if you have the /dev/random file. */
42 #define HAVE_DEV_RANDOM 1
43 
44 /* Define to 1 if you have the <dlfcn.h> header file. */
45 #define HAVE_DLFCN_H 1
46 
47 /* Define to 1 to use DLPI interface code. */
48 /* #undef HAVE_DLPI */
49 
50 /* Define to 1 if you have the <ifaddrs.h> header file. */
51 #define HAVE_IFADDRS_H 1
52 
53 /* Define to 1 if you have the <inttypes.h> header file. */
54 #define HAVE_INTTYPES_H 1
55 
56 /* libcap-ng support */
57 #define HAVE_LIBCAP_NG 1
58 
59 /* Define to 1 if you have the `systemd' library (-lsystemd). */
60 #define HAVE_LIBSYSTEMD 1
61 
62 /* Define to 1 if you have the <linux/types.h> header file. */
63 #define HAVE_LINUX_TYPES_H 1
64 
65 /* Define to 1 to use the Linux Packet Filter interface code. */
66 #define HAVE_LPF 1
67 
68 /* Define to 1 if you have the <memory.h> header file. */
69 #define HAVE_MEMORY_H 1
70 
71 /* Define to 1 if you have the <net/if6.h> header file. */
72 /* #undef HAVE_NET_IF6_H */
73 
74 /* Define to 1 if you have the <net/if_dl.h> header file. */
75 /* #undef HAVE_NET_IF_DL_H */
76 
77 /* Define to 1 if you have the <regex.h> header file. */
78 #define HAVE_REGEX_H 1
79 
80 /* Define to 1 if the sockaddr structure has a length field. */
81 /* #undef HAVE_SA_LEN */
82 
83 /* Define to 1 if you have the <stdint.h> header file. */
84 #define HAVE_STDINT_H 1
85 
86 /* Define to 1 if you have the <stdlib.h> header file. */
87 #define HAVE_STDLIB_H 1
88 
89 /* Define to 1 if you have the <strings.h> header file. */
90 #define HAVE_STRINGS_H 1
91 
92 /* Define to 1 if you have the <string.h> header file. */
93 #define HAVE_STRING_H 1
94 
95 /* Define to 1 if you have the `strlcat' function. */
96 /* #undef HAVE_STRLCAT */
97 
98 /* Define to 1 if using SystemTap probes. */
99 #define HAVE_SYSTEMTAP 1
100 
101 /* Define to 1 if you have the <sys/socket.h> header file. */
102 #define HAVE_SYS_SOCKET_H 1
103 
104 /* Define to 1 if you have the <sys/stat.h> header file. */
105 #define HAVE_SYS_STAT_H 1
106 
107 /* Define to 1 if you have the <sys/types.h> header file. */
108 #define HAVE_SYS_TYPES_H 1
109 
110 /* Define to 1 if you have the <unistd.h> header file. */
111 #define HAVE_UNISTD_H 1
112 
113 /* Define to the string for a noreturn attribute. */
114 #define ISC_DHCP_NORETURN __attribute__((noreturn))
115 
116 /* Define to 1 if the system has 'struct if_laddrconf'. */
117 /* #undef ISC_PLATFORM_HAVEIF_LADDRCONF */
118 
119 /* Define to 1 if the system has 'struct if_laddrreq'. */
120 /* #undef ISC_PLATFORM_HAVEIF_LADDRREQ */
121 
122 /* Define to 1 if the system has 'struct lifnum'. */
123 /* #undef ISC_PLATFORM_HAVELIFNUM */
124 
125 /* Define to the sub-directory in which libtool stores uninstalled libraries.
126  */
127 #define LT_OBJDIR ".libs/"
128 
129 /* Define to 1 if the inet_aton() function is missing. */
130 /* #undef NEED_INET_ATON */
131 
132 /* Name of package */
133 #define PACKAGE "dhcp"
134 
135 /* Define to the address where bug reports for this package should be sent. */
136 #define PACKAGE_BUGREPORT "dhcp-users@isc.org"
137 
138 /* Define to the full name of this package. */
139 #define PACKAGE_NAME "DHCP"
140 
141 /* Define to the full name and version of this package. */
142 #define PACKAGE_STRING "DHCP 4.3.1"
143 
144 /* Define to the one symbol short name of this package. */
145 #define PACKAGE_TARNAME "dhcp"
146 
147 /* Define to the home page for this package. */
148 #define PACKAGE_URL ""
149 
150 /* Define to the version of this package. */
151 #define PACKAGE_VERSION "4.3.1"
152 
153 /* Define to any value to include Ari's PARANOIA patch. */
154 #define PARANOIA 1
155 
156 /* Define to correct bad byteorders in secs field. */
157 /* #undef SECS_BYTEORDER */
158 
159 /* The size of `struct iaddr *', as computed by sizeof. */
160 #define SIZEOF_STRUCT_IADDR_P 4
161 
162 /* Define to 1 if you have the ANSI C header files. */
163 #define STDC_HEADERS 1
164 
165 /* Define to include server activity tracing support. */
166 #define TRACING 1
167 
168 /* Define to include PIDs in syslog messages. */
169 #define USE_LOG_PID 1
170 
171 /* Define to 1 to use the standard BSD socket API. */
172 /* #undef USE_SOCKETS */
173 
174 /* Enable extensions on AIX 3, Interix. */
175 #ifndef _ALL_SOURCE
176 # define _ALL_SOURCE 1
177 #endif
178 /* Enable GNU extensions on systems that have them. */
179 #ifndef _GNU_SOURCE
180 # define _GNU_SOURCE 1
181 #endif
182 /* Enable threading extensions on Solaris. */
183 #ifndef _POSIX_PTHREAD_SEMANTICS
184 # define _POSIX_PTHREAD_SEMANTICS 1
185 #endif
186 /* Enable extensions on HP NonStop. */
187 #ifndef _TANDEM_SOURCE
188 # define _TANDEM_SOURCE 1
189 #endif
190 /* Enable general extensions on Solaris. */
191 #ifndef __EXTENSIONS__
192 # define __EXTENSIONS__ 1
193 #endif
194 
195 
196 /* Define to 1 to enable IPv4 packet info support. */
197 /* #undef USE_V4_PKTINFO */
198 
199 /* Version number of package */
200 #define VERSION "4.3.1"
201 
202 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
203  significant byte first (like Motorola and SPARC, unlike Intel). */
204 #if defined AC_APPLE_UNIVERSAL_BUILD
205 # if defined __BIG_ENDIAN__
206 # define WORDS_BIGENDIAN 1
207 # endif
208 #else
209 # ifndef WORDS_BIGENDIAN
210 /* # undef WORDS_BIGENDIAN */
211 # endif
212 #endif
213 
214 /* Define to 1 if on MINIX. */
215 /* #undef _MINIX */
216 
217 /* File for dhclient6 leases. */
218 #define _PATH_DHCLIENT6_DB "/var/lib/dhclient/dhclient6.leases"
219 
220 /* File for dhclient6 process information. */
221 #define _PATH_DHCLIENT6_PID "/var/run/dhclient6.pid"
222 
223 /* File for dhclient leases. */
224 #define _PATH_DHCLIENT_DB "/var/lib/dhclient/dhclient.leases"
225 
226 /* File for dhclient process information. */
227 #define _PATH_DHCLIENT_PID "/var/run/dhclient.pid"
228 
229 /* File for dhcpd6 leases. */
230 #define _PATH_DHCPD6_DB "/var/lib/dhcpd/dhcpd6.leases"
231 
232 /* File for dhcpd6 process information. */
233 #define _PATH_DHCPD6_PID "/var/run/dhcpd6.pid"
234 
235 /* File for dhcpd leases. */
236 #define _PATH_DHCPD_DB "/var/lib/dhcpd/dhcpd.leases"
237 
238 /* File for dhcpd process information. */
239 #define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
240 
241 /* File for dhcrelay6 process information. */
242 /* #undef _PATH_DHCRELAY6_PID */
243 
244 /* File for dhcrelay process information. */
245 #define _PATH_DHCRELAY_PID "/var/run/dhcrelay.pid"
246 
247 /* Define to 2 if the system does not provide POSIX.1 features except with
248  this defined. */
249 /* #undef _POSIX_1_SOURCE */
250 
251 /* Define to 1 if you need to in order for `stat' and other things to work. */
252 /* #undef _POSIX_SOURCE */
253 
254 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
255  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
256  #define below would cause a syntax error. */
257 /* #undef _UINT32_T */
258 
259 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
260  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
261  #define below would cause a syntax error. */
262 /* #undef _UINT64_T */
263 
264 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
265  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
266  #define below would cause a syntax error. */
267 /* #undef _UINT8_T */
268 
269 /* Define to the type of a signed integer type of width exactly 16 bits if
270  such a type exists and the standard includes do not define it. */
271 /* #undef int16_t */
272 
273 /* Define to the type of a signed integer type of width exactly 32 bits if
274  such a type exists and the standard includes do not define it. */
275 /* #undef int32_t */
276 
277 /* Define to the type of a signed integer type of width exactly 64 bits if
278  such a type exists and the standard includes do not define it. */
279 /* #undef int64_t */
280 
281 /* Define to the type of a signed integer type of width exactly 8 bits if such
282  a type exists and the standard includes do not define it. */
283 /* #undef int8_t */
284 
285 /* Define a type for 16-bit unsigned integers. */
286 /* #undef u_int16_t */
287 
288 /* Define a type for 32-bit unsigned integers. */
289 /* #undef u_int32_t */
290 
291 /* Define a type for 64-bit unsigned integers. */
292 /* #undef u_int64_t */
293 
294 /* Define a type for 8-bit unsigned integers. */
295 /* #undef u_int8_t */
296 
297 /* Define to the type of an unsigned integer type of width exactly 16 bits if
298  such a type exists and the standard includes do not define it. */
299 /* #undef uint16_t */
300 
301 /* Define to the type of an unsigned integer type of width exactly 32 bits if
302  such a type exists and the standard includes do not define it. */
303 /* #undef uint32_t */
304 
305 /* Define to the type of an unsigned integer type of width exactly 64 bits if
306  such a type exists and the standard includes do not define it. */
307 /* #undef uint64_t */
308 
309 /* Define to the type of an unsigned integer type of width exactly 8 bits if
310  such a type exists and the standard includes do not define it. */
311 /* #undef uint8_t */