ISC DHCP  4.3.6b1
A reference DHCPv4 and DHCPv6 implementation
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 /* #undef DELAYED_ACK */
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 if you have the /dev/random or other configured file. */
51 #define HAVE_DEV_RANDOM 1
52 
53 /* Define to 1 if you have the <dlfcn.h> header file. */
54 #define HAVE_DLFCN_H 1
55 
56 /* Define to 1 to use DLPI interface code. */
57 /* #undef HAVE_DLPI */
58 
59 /* Define to 1 if you have the <ifaddrs.h> header file. */
60 #define HAVE_IFADDRS_H 1
61 
62 /* Define to 1 if you have the `inet_ntop' function. */
63 #define HAVE_INET_NTOP 1
64 
65 /* Define to 1 if you have the `inet_pton' function. */
66 #define HAVE_INET_PTON 1
67 
68 /* Define to 1 if you have the <inttypes.h> header file. */
69 #define HAVE_INTTYPES_H 1
70 
71 /* Define to 1 if you have the <ldap.h> header file. */
72 #define HAVE_LDAP_H 1
73 
74 /* libcap-ng support */
75 #define HAVE_LIBCAP_NG 1
76 
77 /* Define to 1 if you have the `systemd' library (-lsystemd). */
78 #define HAVE_LIBSYSTEMD 1
79 
80 /* Define to 1 if you have the <linux/types.h> header file. */
81 #define HAVE_LINUX_TYPES_H 1
82 
83 /* Define to 1 to use the Linux Packet Filter interface code. */
84 #define HAVE_LPF 1
85 
86 /* Define to 1 if you have the <memory.h> header file. */
87 #define HAVE_MEMORY_H 1
88 
89 /* Define to 1 if you have the <micasa_mgmd.h> header file. */
90 /* #undef HAVE_MICASA_MGMD_H */
91 
92 /* Define to 1 if you have the <net/if6.h> header file. */
93 /* #undef HAVE_NET_IF6_H */
94 
95 /* Define to 1 if you have the <net/if_dl.h> header file. */
96 /* #undef HAVE_NET_IF_DL_H */
97 
98 /* Define to 1 if you have the <regex.h> header file. */
99 #define HAVE_REGEX_H 1
100 
101 /* Define to 1 if the sockaddr structure has a length field. */
102 /* #undef HAVE_SA_LEN */
103 
104 /* Define to 1 if you have the <stdint.h> header file. */
105 #define HAVE_STDINT_H 1
106 
107 /* Define to 1 if you have the <stdlib.h> header file. */
108 #define HAVE_STDLIB_H 1
109 
110 /* Define to 1 if you have the <strings.h> header file. */
111 #define HAVE_STRINGS_H 1
112 
113 /* Define to 1 if you have the <string.h> header file. */
114 #define HAVE_STRING_H 1
115 
116 /* Define to 1 if you have the `strlcat' function. */
117 /* #undef HAVE_STRLCAT */
118 
119 /* Define to 1 if you have the <sys/socket.h> header file. */
120 #define HAVE_SYS_SOCKET_H 1
121 
122 /* Define to 1 if you have the <sys/stat.h> header file. */
123 #define HAVE_SYS_STAT_H 1
124 
125 /* Define to 1 if you have the <sys/types.h> header file. */
126 #define HAVE_SYS_TYPES_H 1
127 
128 /* Define to 1 if you have the <unistd.h> header file. */
129 #define HAVE_UNISTD_H 1
130 
131 /* Define to the string for a noreturn attribute. */
132 #define ISC_DHCP_NORETURN __attribute__((noreturn))
133 
134 /* Define to 1 if the system has 'struct if_laddrconf'. */
135 /* #undef ISC_PLATFORM_HAVEIF_LADDRCONF */
136 
137 /* Define to 1 if the system has 'struct if_laddrreq'. */
138 /* #undef ISC_PLATFORM_HAVEIF_LADDRREQ */
139 
140 /* Define to 1 if the system has 'struct lifnum'. */
141 /* #undef ISC_PLATFORM_HAVELIFNUM */
142 
143 /* Define to the sub-directory where libtool stores uninstalled libraries. */
144 #define LT_OBJDIR ".libs/"
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.3.6b1"
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.3.6b1"
169 
170 /* Define to any value to include Ari's PARANOIA patch. */
171 #define PARANOIA 1
172 
173 /* Define to correct bad byteorders in secs field. */
174 /* #undef SECS_BYTEORDER */
175 
176 /* The size of `struct iaddr *', as computed by sizeof. */
177 #define SIZEOF_STRUCT_IADDR_P 8
178 
179 /* Define to 1 if you have the ANSI C header files. */
180 #define STDC_HEADERS 1
181 
182 /* Define to include server activity tracing support. */
183 #define TRACING 1
184 
185 /* Define to 1 if ethernet devices are in /dev/net */
186 /* #undef USE_DEV_NET */
187 
188 /* Define to include PIDs in syslog messages. */
189 #define USE_LOG_PID 1
190 
191 /* Define to 1 to use the standard BSD socket API. */
192 /* #undef USE_SOCKETS */
193 
194 /* Enable extensions on AIX 3, Interix. */
195 #ifndef _ALL_SOURCE
196 # define _ALL_SOURCE 1
197 #endif
198 /* Enable GNU extensions on systems that have them. */
199 #ifndef _GNU_SOURCE
200 # define _GNU_SOURCE 1
201 #endif
202 /* Enable threading extensions on Solaris. */
203 #ifndef _POSIX_PTHREAD_SEMANTICS
204 # define _POSIX_PTHREAD_SEMANTICS 1
205 #endif
206 /* Enable extensions on HP NonStop. */
207 #ifndef _TANDEM_SOURCE
208 # define _TANDEM_SOURCE 1
209 #endif
210 /* Enable general extensions on Solaris. */
211 #ifndef __EXTENSIONS__
212 # define __EXTENSIONS__ 1
213 #endif
214 
215 
216 /* Define to 1 to enable IPv4 packet info support. */
217 /* #undef USE_V4_PKTINFO */
218 
219 /* Version number of package */
220 #define VERSION "4.3.6b1"
221 
222 /* tpacket_auxdata.tp_vlan_tci present */
223 #define VLAN_TCI_PRESENT 1
224 
225 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
226  significant byte first (like Motorola and SPARC, unlike Intel). */
227 #if defined AC_APPLE_UNIVERSAL_BUILD
228 # if defined __BIG_ENDIAN__
229 # define WORDS_BIGENDIAN 1
230 # endif
231 #else
232 # ifndef WORDS_BIGENDIAN
233 /* # undef WORDS_BIGENDIAN */
234 # endif
235 #endif
236 
237 /* Define to 1 if on MINIX. */
238 /* #undef _MINIX */
239 
240 /* File for dhclient6 leases. */
241 #define _PATH_DHCLIENT6_DB "/var/lib/dhclient/dhclient6.leases"
242 
243 /* File for dhclient6 process information. */
244 #define _PATH_DHCLIENT6_PID "/var/run/dhclient6.pid"
245 
246 /* File for dhclient leases. */
247 #define _PATH_DHCLIENT_DB "/var/lib/dhclient/dhclient.leases"
248 
249 /* File for dhclient process information. */
250 #define _PATH_DHCLIENT_PID "/var/run/dhclient.pid"
251 
252 /* File for dhcpd6 leases. */
253 #define _PATH_DHCPD6_DB "/var/lib/dhcpd/dhcpd6.leases"
254 
255 /* File for dhcpd6 process information. */
256 #define _PATH_DHCPD6_PID "/var/run/dhcpd6.pid"
257 
258 /* Default file containing dhcpd configuration. */
259 /* #undef _PATH_DHCPD_CONF */
260 
261 /* File for dhcpd leases. */
262 #define _PATH_DHCPD_DB "/var/lib/dhcpd/dhcpd.leases"
263 
264 /* File for dhcpd process information. */
265 #define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
266 
267 /* File for dhcrelay6 process information. */
268 /* #undef _PATH_DHCRELAY6_PID */
269 
270 /* File for dhcrelay process information. */
271 #define _PATH_DHCRELAY_PID "/var/run/dhcrelay.pid"
272 
273 /* Define to 2 if the system does not provide POSIX.1 features except with
274  this defined. */
275 /* #undef _POSIX_1_SOURCE */
276 
277 /* Define to 1 if you need to in order for `stat' and other things to work. */
278 /* #undef _POSIX_SOURCE */
279 
280 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
281  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
282  #define below would cause a syntax error. */
283 /* #undef _UINT32_T */
284 
285 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
286  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
287  #define below would cause a syntax error. */
288 /* #undef _UINT64_T */
289 
290 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
291  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
292  #define below would cause a syntax error. */
293 /* #undef _UINT8_T */
294 
295 /* Define to the type of a signed integer type of width exactly 16 bits if
296  such a type exists and the standard includes do not define it. */
297 /* #undef int16_t */
298 
299 /* Define to the type of a signed integer type of width exactly 32 bits if
300  such a type exists and the standard includes do not define it. */
301 /* #undef int32_t */
302 
303 /* Define to the type of a signed integer type of width exactly 64 bits if
304  such a type exists and the standard includes do not define it. */
305 /* #undef int64_t */
306 
307 /* Define to the type of a signed integer type of width exactly 8 bits if such
308  a type exists and the standard includes do not define it. */
309 /* #undef int8_t */
310 
311 /* Define a type for 16-bit unsigned integers. */
312 /* #undef u_int16_t */
313 
314 /* Define a type for 32-bit unsigned integers. */
315 /* #undef u_int32_t */
316 
317 /* Define a type for 64-bit unsigned integers. */
318 /* #undef u_int64_t */
319 
320 /* Define a type for 8-bit unsigned integers. */
321 /* #undef u_int8_t */
322 
323 /* Define to the type of an unsigned integer type of width exactly 16 bits if
324  such a type exists and the standard includes do not define it. */
325 /* #undef uint16_t */
326 
327 /* Define to the type of an unsigned integer type of width exactly 32 bits if
328  such a type exists and the standard includes do not define it. */
329 /* #undef uint32_t */
330 
331 /* Define to the type of an unsigned integer type of width exactly 64 bits if
332  such a type exists and the standard includes do not define it. */
333 /* #undef uint64_t */
334 
335 /* Define to the type of an unsigned integer type of width exactly 8 bits if
336  such a type exists and the standard includes do not define it. */
337 /* #undef uint8_t */