ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
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 support binary insertion of leases into queues. */
8#define BINARY_LEASES 1
9
10/* Define to compile debug-only DHCP software. */
11/* #undef DEBUG */
12
13/* Define to queue multiple DHCPACK replies per fsync. */
14#define DELAYED_ACK 1
15
16/* Define to 1 to include DHCPv4 over DHCPv6 support. */
17/* #undef DHCP4o6 */
18
19/* Define to BIG_ENDIAN for MSB (Motorola or SPARC CPUs) or LITTLE_ENDIAN for
20 LSB (Intel CPUs). */
21#define DHCP_BYTE_ORDER LITTLE_ENDIAN
22
23/* Define to 1 to include DHCPv6 support. */
24#define DHCPv6 1
25
26/* Define to any value to chroot() prior to loading config. */
27#define EARLY_CHROOT 1
28
29/* Define to include execute() config language support. */
30#define ENABLE_EXECUTE 1
31
32/* Define to include Failover Protocol support. */
33#define FAILOVER_PROTOCOL 1
34
35/* Define to nothing if C supports flexible array members, and to 1 if it does
36 not. That way, with a declaration like 'struct s { int n; double
37 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
38 compilers. When computing the size of such an object, don't use 'sizeof
39 (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
40 instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
41 MSVC and with C++ compilers. */
42#define FLEXIBLE_ARRAY_MEMBER /**/
43
44/* ATF framework specified? */
45/* #undef HAVE_ATF */
46
47/* Define to 1 to use the Berkeley Packet Filter interface code. */
48/* #undef HAVE_BPF */
49
50/* Define to 1 to use DLPI interface code. */
51/* #undef HAVE_DLPI */
52
53/* Define to 1 if you have the <ifaddrs.h> header file. */
54#define HAVE_IFADDRS_H 1
55
56/* Define to 1 if you have the 'inet_ntop' function. */
57#define HAVE_INET_NTOP 1
58
59/* Define to 1 if you have the 'inet_pton' function. */
60#define HAVE_INET_PTON 1
61
62/* Define to 1 if you have the <inttypes.h> header file. */
63#define HAVE_INTTYPES_H 1
64
65/* Define to 1 if you have the <ldap.h> header file. */
66#define HAVE_LDAP_H 1
67
68/* libcap-ng support */
69#define HAVE_LIBCAP_NG 1
70
71/* Define to 1 if you have the 'systemd' library (-lsystemd). */
72#define HAVE_LIBSYSTEMD 1
73
74/* Define to 1 if you have the <linux/types.h> header file. */
75#define HAVE_LINUX_TYPES_H 1
76
77/* Define to 1 to use the Linux Packet Filter interface code. */
78#define HAVE_LPF 1
79
80/* Define to 1 if you have the <micasa_mgmd.h> header file. */
81/* #undef HAVE_MICASA_MGMD_H */
82
83/* Define to 1 if you have the <minix/config.h> header file. */
84/* #undef HAVE_MINIX_CONFIG_H */
85
86/* Define to 1 if you have the <net/if6.h> header file. */
87/* #undef HAVE_NET_IF6_H */
88
89/* Define to 1 if you have the <net/if_dl.h> header file. */
90/* #undef HAVE_NET_IF_DL_H */
91
92/* Define to 1 if you have the <regex.h> header file. */
93#define HAVE_REGEX_H 1
94
95/* Define to 1 if the sockaddr structure has a length field. */
96/* #undef HAVE_SA_LEN */
97
98/* Define to 1 if you have the <stdint.h> header file. */
99#define HAVE_STDINT_H 1
100
101/* Define to 1 if you have the <stdio.h> header file. */
102#define HAVE_STDIO_H 1
103
104/* Define to 1 if you have the <stdlib.h> header file. */
105#define HAVE_STDLIB_H 1
106
107/* Define to 1 if you have the <strings.h> header file. */
108#define HAVE_STRINGS_H 1
109
110/* Define to 1 if you have the <string.h> header file. */
111#define HAVE_STRING_H 1
112
113/* Define to 1 if you have the 'strlcat' function. */
114#define HAVE_STRLCAT 1
115
116/* Define to 1 if you have the <sys/socket.h> header file. */
117#define HAVE_SYS_SOCKET_H 1
118
119/* Define to 1 if you have the <sys/stat.h> header file. */
120#define HAVE_SYS_STAT_H 1
121
122/* Define to 1 if you have the <sys/types.h> header file. */
123#define HAVE_SYS_TYPES_H 1
124
125/* Define to 1 if you have the <unistd.h> header file. */
126#define HAVE_UNISTD_H 1
127
128/* Define to 1 if you have the <wchar.h> header file. */
129#define HAVE_WCHAR_H 1
130
131/* Define to the string for a noreturn attribute. */
132#define ISC_DHCP_NORETURN __attribute__((noreturn))
133
134/* Define if you have the /dev/random or other configured file. */
135#define ISC_PATH_RANDOMDEV "/dev/random"
136
137/* Define to 1 if the system has 'struct if_laddrconf'. */
138/* #undef ISC_PLATFORM_HAVEIF_LADDRCONF */
139
140/* Define to 1 if the system has 'struct if_laddrreq'. */
141/* #undef ISC_PLATFORM_HAVEIF_LADDRREQ */
142
143/* Define to 1 if the system has 'struct lifnum'. */
144/* #undef ISC_PLATFORM_HAVELIFNUM */
145
146/* Define to 1 if the inet_aton() function is missing. */
147/* #undef NEED_INET_ATON */
148
149/* Name of package */
150#define PACKAGE "dhcp"
151
152/* Define to the address where bug reports for this package should be sent. */
153#define PACKAGE_BUGREPORT "dhcp-users@isc.org"
154
155/* Define to the full name of this package. */
156#define PACKAGE_NAME "DHCP"
157
158/* Define to the full name and version of this package. */
159#define PACKAGE_STRING "DHCP 4.4.3-P1"
160
161/* Define to the one symbol short name of this package. */
162#define PACKAGE_TARNAME "dhcp"
163
164/* Define to the home page for this package. */
165#define PACKAGE_URL ""
166
167/* Define to the version of this package. */
168#define PACKAGE_VERSION "4.4.3-P1"
169
170/* Define to any value to include Ari's PARANOIA patch. */
171#define PARANOIA 1
172
173/* Define to 1 to include relay port support. */
174/* #undef RELAY_PORT */
175
176/* The size of 'struct iaddr *', as computed by sizeof. */
177#define SIZEOF_STRUCT_IADDR_P 8
178
179/* Define to 1 if all of the C89 standard headers exist (not just the ones
180 required in a freestanding environment). This macro is provided for
181 backward compatibility; new code need not use it. */
182#define STDC_HEADERS 1
183
184/* Define to include server activity tracing support. */
185#define TRACING 1
186
187/* Define to 1 if ethernet devices are in /dev/net */
188/* #undef USE_DEV_NET */
189
190/* Define to include PIDs in syslog messages. */
191#define USE_LOG_PID 1
192
193/* Define to 1 to use the standard BSD socket API. */
194/* #undef USE_SOCKETS */
195
196/* Enable extensions on AIX, Interix, z/OS. */
197#ifndef _ALL_SOURCE
198# define _ALL_SOURCE 1
199#endif
200/* Enable general extensions on macOS. */
201#ifndef _DARWIN_C_SOURCE
202# define _DARWIN_C_SOURCE 1
203#endif
204/* Enable general extensions on Solaris. */
205#ifndef __EXTENSIONS__
206# define __EXTENSIONS__ 1
207#endif
208/* Enable GNU extensions on systems that have them. */
209#ifndef _GNU_SOURCE
210# define _GNU_SOURCE 1
211#endif
212/* Enable X/Open compliant socket functions that do not require linking
213 with -lxnet on HP-UX 11.11. */
214#ifndef _HPUX_ALT_XOPEN_SOCKET_API
215# define _HPUX_ALT_XOPEN_SOCKET_API 1
216#endif
217/* Identify the host operating system as Minix.
218 This macro does not affect the system headers' behavior.
219 A future release of Autoconf may stop defining this macro. */
220#ifndef _MINIX
221/* # undef _MINIX */
222#endif
223/* Enable general extensions on NetBSD.
224 Enable NetBSD compatibility extensions on Minix. */
225#ifndef _NETBSD_SOURCE
226# define _NETBSD_SOURCE 1
227#endif
228/* Enable OpenBSD compatibility extensions on NetBSD.
229 Oddly enough, this does nothing on OpenBSD. */
230#ifndef _OPENBSD_SOURCE
231# define _OPENBSD_SOURCE 1
232#endif
233/* Define to 1 if needed for POSIX-compatible behavior. */
234#ifndef _POSIX_SOURCE
235/* # undef _POSIX_SOURCE */
236#endif
237/* Define to 2 if needed for POSIX-compatible behavior. */
238#ifndef _POSIX_1_SOURCE
239/* # undef _POSIX_1_SOURCE */
240#endif
241/* Enable POSIX-compatible threading on Solaris. */
242#ifndef _POSIX_PTHREAD_SEMANTICS
243# define _POSIX_PTHREAD_SEMANTICS 1
244#endif
245/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
246#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
247# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
248#endif
249/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
250#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
251# define __STDC_WANT_IEC_60559_BFP_EXT__ 1
252#endif
253/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
254#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
255# define __STDC_WANT_IEC_60559_DFP_EXT__ 1
256#endif
257/* Enable extensions specified by C23 Annex F. */
258#ifndef __STDC_WANT_IEC_60559_EXT__
259# define __STDC_WANT_IEC_60559_EXT__ 1
260#endif
261/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
262#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
263# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
264#endif
265/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */
266#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
267# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
268#endif
269/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
270#ifndef __STDC_WANT_LIB_EXT2__
271# define __STDC_WANT_LIB_EXT2__ 1
272#endif
273/* Enable extensions specified by ISO/IEC 24747:2009. */
274#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
275# define __STDC_WANT_MATH_SPEC_FUNCS__ 1
276#endif
277/* Enable extensions on HP NonStop. */
278#ifndef _TANDEM_SOURCE
279# define _TANDEM_SOURCE 1
280#endif
281/* Enable X/Open extensions. Define to 500 only if necessary
282 to make mbstate_t available. */
283#ifndef _XOPEN_SOURCE
284/* # undef _XOPEN_SOURCE */
285#endif
286
287
288/* Define to 1 to enable IPv4 packet info support. */
289/* #undef USE_V4_PKTINFO */
290
291/* Version number of package */
292#define VERSION "4.4.3-P1"
293
294/* tpacket_auxdata.tp_vlan_tci present */
295#define VLAN_TCI_PRESENT 1
296
297/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
298 significant byte first (like Motorola and SPARC, unlike Intel). */
299#if defined AC_APPLE_UNIVERSAL_BUILD
300# if defined __BIG_ENDIAN__
301# define WORDS_BIGENDIAN 1
302# endif
303#else
304# ifndef WORDS_BIGENDIAN
305/* # undef WORDS_BIGENDIAN */
306# endif
307#endif
308
309/* File for dhclient6 leases. */
310#define _PATH_DHCLIENT6_DB "/var/lib/dhclient/dhclient6.leases"
311
312/* File for dhclient6 process information. */
313#define _PATH_DHCLIENT6_PID "/var/run/dhclient6.pid"
314
315/* File for dhclient leases. */
316#define _PATH_DHCLIENT_DB "/var/lib/dhclient/dhclient.leases"
317
318/* File for dhclient process information. */
319#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid"
320
321/* File for dhcpd6 leases. */
322#define _PATH_DHCPD6_DB "/var/lib/dhcpd/dhcpd6.leases"
323
324/* File for dhcpd6 process information. */
325#define _PATH_DHCPD6_PID "/var/run/dhcpd6.pid"
326
327/* Default file containing dhcpd configuration. */
328/* #undef _PATH_DHCPD_CONF */
329
330/* File for dhcpd leases. */
331#define _PATH_DHCPD_DB "/var/lib/dhcpd/dhcpd.leases"
332
333/* File for dhcpd process information. */
334#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
335
336/* File for dhcrelay6 process information. */
337/* #undef _PATH_DHCRELAY6_PID */
338
339/* File for dhcrelay process information. */
340#define _PATH_DHCRELAY_PID "/var/run/dhcrelay.pid"
341
342/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
343 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
344 #define below would cause a syntax error. */
345/* #undef _UINT32_T */
346
347/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
348 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
349 #define below would cause a syntax error. */
350/* #undef _UINT64_T */
351
352/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
353 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
354 #define below would cause a syntax error. */
355/* #undef _UINT8_T */
356
357/* Define to the type of a signed integer type of width exactly 16 bits if
358 such a type exists and the standard includes do not define it. */
359/* #undef int16_t */
360
361/* Define to the type of a signed integer type of width exactly 32 bits if
362 such a type exists and the standard includes do not define it. */
363/* #undef int32_t */
364
365/* Define to the type of a signed integer type of width exactly 64 bits if
366 such a type exists and the standard includes do not define it. */
367/* #undef int64_t */
368
369/* Define to the type of a signed integer type of width exactly 8 bits if such
370 a type exists and the standard includes do not define it. */
371/* #undef int8_t */
372
373/* Define a type for 16-bit unsigned integers. */
374/* #undef u_int16_t */
375
376/* Define a type for 32-bit unsigned integers. */
377/* #undef u_int32_t */
378
379/* Define a type for 64-bit unsigned integers. */
380/* #undef u_int64_t */
381
382/* Define a type for 8-bit unsigned integers. */
383/* #undef u_int8_t */
384
385/* Define to the type of an unsigned integer type of width exactly 16 bits if
386 such a type exists and the standard includes do not define it. */
387/* #undef uint16_t */
388
389/* Define to the type of an unsigned integer type of width exactly 32 bits if
390 such a type exists and the standard includes do not define it. */
391/* #undef uint32_t */
392
393/* Define to the type of an unsigned integer type of width exactly 64 bits if
394 such a type exists and the standard includes do not define it. */
395/* #undef uint64_t */
396
397/* Define to the type of an unsigned integer type of width exactly 8 bits if
398 such a type exists and the standard includes do not define it. */
399/* #undef uint8_t */