]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - config.h.in
Vendor import of Unbound 1.9.1.
[FreeBSD/FreeBSD.git] / config.h.in
1 /* config.h.in.  Generated from configure.ac by autoheader.  */
2
3 /* apply the noreturn attribute to a function that exits the program */
4 #undef ATTR_NORETURN
5
6 /* apply the weak attribute to a symbol */
7 #undef ATTR_WEAK
8
9 /* Directory to chroot to */
10 #undef CHROOT_DIR
11
12 /* Define this to enable client subnet option. */
13 #undef CLIENT_SUBNET
14
15 /* Do sha512 definitions in config.h */
16 #undef COMPAT_SHA512
17
18 /* Pathname to the Unbound configuration file */
19 #undef CONFIGFILE
20
21 /* Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work
22    */
23 #undef DARWIN_BROKEN_SETREUID
24
25 /* Whether daemon is deprecated */
26 #undef DEPRECATED_DAEMON
27
28 /* default dnstap socket path */
29 #undef DNSTAP_SOCKET_PATH
30
31 /* Define if you want to use debug lock checking (slow). */
32 #undef ENABLE_LOCK_CHECKS
33
34 /* Define this if you enabled-allsymbols from libunbound to link binaries to
35    it for smaller install size, but the libunbound export table is polluted by
36    internal symbols */
37 #undef EXPORT_ALL_SYMBOLS
38
39 /* Define to 1 if you have the `accept4' function. */
40 #undef HAVE_ACCEPT4
41
42 /* Define to 1 if you have the `arc4random' function. */
43 #undef HAVE_ARC4RANDOM
44
45 /* Define to 1 if you have the `arc4random_uniform' function. */
46 #undef HAVE_ARC4RANDOM_UNIFORM
47
48 /* Define to 1 if you have the <arpa/inet.h> header file. */
49 #undef HAVE_ARPA_INET_H
50
51 /* Whether the C compiler accepts the "format" attribute */
52 #undef HAVE_ATTR_FORMAT
53
54 /* Whether the C compiler accepts the "noreturn" attribute */
55 #undef HAVE_ATTR_NORETURN
56
57 /* Whether the C compiler accepts the "unused" attribute */
58 #undef HAVE_ATTR_UNUSED
59
60 /* Whether the C compiler accepts the "weak" attribute */
61 #undef HAVE_ATTR_WEAK
62
63 /* Define to 1 if you have the `chown' function. */
64 #undef HAVE_CHOWN
65
66 /* Define to 1 if you have the `chroot' function. */
67 #undef HAVE_CHROOT
68
69 /* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */
70 #undef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA
71
72 /* Define to 1 if you have the `CRYPTO_THREADID_set_callback' function. */
73 #undef HAVE_CRYPTO_THREADID_SET_CALLBACK
74
75 /* Define to 1 if you have the `ctime_r' function. */
76 #undef HAVE_CTIME_R
77
78 /* Define to 1 if you have the `daemon' function. */
79 #undef HAVE_DAEMON
80
81 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you
82    don't. */
83 #undef HAVE_DECL_ARC4RANDOM
84
85 /* Define to 1 if you have the declaration of `arc4random_uniform', and to 0
86    if you don't. */
87 #undef HAVE_DECL_ARC4RANDOM_UNIFORM
88
89 /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you
90    don't. */
91 #undef HAVE_DECL_INET_NTOP
92
93 /* Define to 1 if you have the declaration of `inet_pton', and to 0 if you
94    don't. */
95 #undef HAVE_DECL_INET_PTON
96
97 /* Define to 1 if you have the declaration of `NID_ED25519', and to 0 if you
98    don't. */
99 #undef HAVE_DECL_NID_ED25519
100
101 /* Define to 1 if you have the declaration of `NID_ED448', and to 0 if you
102    don't. */
103 #undef HAVE_DECL_NID_ED448
104
105 /* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you
106    don't. */
107 #undef HAVE_DECL_NID_SECP384R1
108
109 /* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0
110    if you don't. */
111 #undef HAVE_DECL_NID_X9_62_PRIME256V1
112
113 /* Define to 1 if you have the declaration of `reallocarray', and to 0 if you
114    don't. */
115 #undef HAVE_DECL_REALLOCARRAY
116
117 /* Define to 1 if you have the declaration of `redisConnect', and to 0 if you
118    don't. */
119 #undef HAVE_DECL_REDISCONNECT
120
121 /* Define to 1 if you have the declaration of `sk_SSL_COMP_pop_free', and to 0
122    if you don't. */
123 #undef HAVE_DECL_SK_SSL_COMP_POP_FREE
124
125 /* Define to 1 if you have the declaration of
126    `SSL_COMP_get_compression_methods', and to 0 if you don't. */
127 #undef HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS
128
129 /* Define to 1 if you have the declaration of `SSL_CTX_set_ecdh_auto', and to
130    0 if you don't. */
131 #undef HAVE_DECL_SSL_CTX_SET_ECDH_AUTO
132
133 /* Define to 1 if you have the declaration of `strlcat', and to 0 if you
134    don't. */
135 #undef HAVE_DECL_STRLCAT
136
137 /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you
138    don't. */
139 #undef HAVE_DECL_STRLCPY
140
141 /* Define to 1 if you have the declaration of `XML_StopParser', and to 0 if
142    you don't. */
143 #undef HAVE_DECL_XML_STOPPARSER
144
145 /* Define to 1 if you have the <dlfcn.h> header file. */
146 #undef HAVE_DLFCN_H
147
148 /* Define to 1 if you have the `DSA_SIG_set0' function. */
149 #undef HAVE_DSA_SIG_SET0
150
151 /* Define to 1 if you have the <endian.h> header file. */
152 #undef HAVE_ENDIAN_H
153
154 /* Define to 1 if you have the `endprotoent' function. */
155 #undef HAVE_ENDPROTOENT
156
157 /* Define to 1 if you have the `endpwent' function. */
158 #undef HAVE_ENDPWENT
159
160 /* Define to 1 if you have the `endservent' function. */
161 #undef HAVE_ENDSERVENT
162
163 /* Define to 1 if you have the `ERR_free_strings' function. */
164 #undef HAVE_ERR_FREE_STRINGS
165
166 /* Define to 1 if you have the `ERR_load_crypto_strings' function. */
167 #undef HAVE_ERR_LOAD_CRYPTO_STRINGS
168
169 /* Define to 1 if you have the `event_base_free' function. */
170 #undef HAVE_EVENT_BASE_FREE
171
172 /* Define to 1 if you have the `event_base_get_method' function. */
173 #undef HAVE_EVENT_BASE_GET_METHOD
174
175 /* Define to 1 if you have the `event_base_new' function. */
176 #undef HAVE_EVENT_BASE_NEW
177
178 /* Define to 1 if you have the `event_base_once' function. */
179 #undef HAVE_EVENT_BASE_ONCE
180
181 /* Define to 1 if you have the <event.h> header file. */
182 #undef HAVE_EVENT_H
183
184 /* Define to 1 if you have the `EVP_aes_256_cbc' function. */
185 #undef HAVE_EVP_AES_256_CBC
186
187 /* Define to 1 if you have the `EVP_cleanup' function. */
188 #undef HAVE_EVP_CLEANUP
189
190 /* Define to 1 if you have the `EVP_DigestVerify' function. */
191 #undef HAVE_EVP_DIGESTVERIFY
192
193 /* Define to 1 if you have the `EVP_dss1' function. */
194 #undef HAVE_EVP_DSS1
195
196 /* Define to 1 if you have the `EVP_EncryptInit_ex' function. */
197 #undef HAVE_EVP_ENCRYPTINIT_EX
198
199 /* Define to 1 if you have the `EVP_MD_CTX_new' function. */
200 #undef HAVE_EVP_MD_CTX_NEW
201
202 /* Define to 1 if you have the `EVP_sha1' function. */
203 #undef HAVE_EVP_SHA1
204
205 /* Define to 1 if you have the `EVP_sha256' function. */
206 #undef HAVE_EVP_SHA256
207
208 /* Define to 1 if you have the `EVP_sha512' function. */
209 #undef HAVE_EVP_SHA512
210
211 /* Define to 1 if you have the `ev_default_loop' function. */
212 #undef HAVE_EV_DEFAULT_LOOP
213
214 /* Define to 1 if you have the `ev_loop' function. */
215 #undef HAVE_EV_LOOP
216
217 /* Define to 1 if you have the <expat.h> header file. */
218 #undef HAVE_EXPAT_H
219
220 /* Define to 1 if you have the `explicit_bzero' function. */
221 #undef HAVE_EXPLICIT_BZERO
222
223 /* Define to 1 if you have the `fcntl' function. */
224 #undef HAVE_FCNTL
225
226 /* Define to 1 if you have the `FIPS_mode' function. */
227 #undef HAVE_FIPS_MODE
228
229 /* Define to 1 if you have the `fork' function. */
230 #undef HAVE_FORK
231
232 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
233 #undef HAVE_FSEEKO
234
235 /* Define to 1 if you have the `fsync' function. */
236 #undef HAVE_FSYNC
237
238 /* Whether getaddrinfo is available */
239 #undef HAVE_GETADDRINFO
240
241 /* Define to 1 if you have the `getauxval' function. */
242 #undef HAVE_GETAUXVAL
243
244 /* Define to 1 if you have the `getentropy' function. */
245 #undef HAVE_GETENTROPY
246
247 /* Define to 1 if you have the <getopt.h> header file. */
248 #undef HAVE_GETOPT_H
249
250 /* Define to 1 if you have the `getpwnam' function. */
251 #undef HAVE_GETPWNAM
252
253 /* Define to 1 if you have the `getrlimit' function. */
254 #undef HAVE_GETRLIMIT
255
256 /* Define to 1 if you have the `glob' function. */
257 #undef HAVE_GLOB
258
259 /* Define to 1 if you have the <glob.h> header file. */
260 #undef HAVE_GLOB_H
261
262 /* Define to 1 if you have the `gmtime_r' function. */
263 #undef HAVE_GMTIME_R
264
265 /* Define to 1 if you have the <grp.h> header file. */
266 #undef HAVE_GRP_H
267
268 /* Define to 1 if you have the <hiredis/hiredis.h> header file. */
269 #undef HAVE_HIREDIS_HIREDIS_H
270
271 /* Define to 1 if you have the `HMAC_Init_ex' function. */
272 #undef HAVE_HMAC_INIT_EX
273
274 /* If you have HMAC_Update */
275 #undef HAVE_HMAC_UPDATE
276
277 /* Define to 1 if you have the `inet_aton' function. */
278 #undef HAVE_INET_ATON
279
280 /* Define to 1 if you have the `inet_ntop' function. */
281 #undef HAVE_INET_NTOP
282
283 /* Define to 1 if you have the `inet_pton' function. */
284 #undef HAVE_INET_PTON
285
286 /* Define to 1 if you have the `initgroups' function. */
287 #undef HAVE_INITGROUPS
288
289 /* Define to 1 if you have the <inttypes.h> header file. */
290 #undef HAVE_INTTYPES_H
291
292 /* if the function 'ioctlsocket' is available */
293 #undef HAVE_IOCTLSOCKET
294
295 /* Define to 1 if you have the <iphlpapi.h> header file. */
296 #undef HAVE_IPHLPAPI_H
297
298 /* Define to 1 if you have the `isblank' function. */
299 #undef HAVE_ISBLANK
300
301 /* Define to 1 if you have the `kill' function. */
302 #undef HAVE_KILL
303
304 /* Define to 1 if you have the <libkern/OSByteOrder.h> header file. */
305 #undef HAVE_LIBKERN_OSBYTEORDER_H
306
307 /* Define if we have LibreSSL */
308 #undef HAVE_LIBRESSL
309
310 /* Define to 1 if you have the `localtime_r' function. */
311 #undef HAVE_LOCALTIME_R
312
313 /* Define to 1 if you have the <login_cap.h> header file. */
314 #undef HAVE_LOGIN_CAP_H
315
316 /* If have GNU libc compatible malloc */
317 #undef HAVE_MALLOC
318
319 /* Define to 1 if you have the `memmove' function. */
320 #undef HAVE_MEMMOVE
321
322 /* Define to 1 if you have the <memory.h> header file. */
323 #undef HAVE_MEMORY_H
324
325 /* Define to 1 if you have the <netdb.h> header file. */
326 #undef HAVE_NETDB_H
327
328 /* Define to 1 if you have the <netinet/in.h> header file. */
329 #undef HAVE_NETINET_IN_H
330
331 /* Define to 1 if you have the <netinet/tcp.h> header file. */
332 #undef HAVE_NETINET_TCP_H
333
334 /* Use libnettle for crypto */
335 #undef HAVE_NETTLE
336
337 /* Define to 1 if you have the <nettle/dsa-compat.h> header file. */
338 #undef HAVE_NETTLE_DSA_COMPAT_H
339
340 /* Define to 1 if you have the <nettle/eddsa.h> header file. */
341 #undef HAVE_NETTLE_EDDSA_H
342
343 /* Use libnss for crypto */
344 #undef HAVE_NSS
345
346 /* Define to 1 if you have the `OpenSSL_add_all_digests' function. */
347 #undef HAVE_OPENSSL_ADD_ALL_DIGESTS
348
349 /* Define to 1 if you have the <openssl/bn.h> header file. */
350 #undef HAVE_OPENSSL_BN_H
351
352 /* Define to 1 if you have the `OPENSSL_config' function. */
353 #undef HAVE_OPENSSL_CONFIG
354
355 /* Define to 1 if you have the <openssl/conf.h> header file. */
356 #undef HAVE_OPENSSL_CONF_H
357
358 /* Define to 1 if you have the <openssl/dh.h> header file. */
359 #undef HAVE_OPENSSL_DH_H
360
361 /* Define to 1 if you have the <openssl/dsa.h> header file. */
362 #undef HAVE_OPENSSL_DSA_H
363
364 /* Define to 1 if you have the <openssl/engine.h> header file. */
365 #undef HAVE_OPENSSL_ENGINE_H
366
367 /* Define to 1 if you have the <openssl/err.h> header file. */
368 #undef HAVE_OPENSSL_ERR_H
369
370 /* Define to 1 if you have the `OPENSSL_init_crypto' function. */
371 #undef HAVE_OPENSSL_INIT_CRYPTO
372
373 /* Define to 1 if you have the `OPENSSL_init_ssl' function. */
374 #undef HAVE_OPENSSL_INIT_SSL
375
376 /* Define to 1 if you have the <openssl/rand.h> header file. */
377 #undef HAVE_OPENSSL_RAND_H
378
379 /* Define to 1 if you have the <openssl/rsa.h> header file. */
380 #undef HAVE_OPENSSL_RSA_H
381
382 /* Define to 1 if you have the <openssl/ssl.h> header file. */
383 #undef HAVE_OPENSSL_SSL_H
384
385 /* Define if you have POSIX threads libraries and header files. */
386 #undef HAVE_PTHREAD
387
388 /* Have PTHREAD_PRIO_INHERIT. */
389 #undef HAVE_PTHREAD_PRIO_INHERIT
390
391 /* Define to 1 if the system has the type `pthread_rwlock_t'. */
392 #undef HAVE_PTHREAD_RWLOCK_T
393
394 /* Define to 1 if the system has the type `pthread_spinlock_t'. */
395 #undef HAVE_PTHREAD_SPINLOCK_T
396
397 /* Define to 1 if you have the <pwd.h> header file. */
398 #undef HAVE_PWD_H
399
400 /* Define if you have Python libraries and header files. */
401 #undef HAVE_PYTHON
402
403 /* Define to 1 if you have the `random' function. */
404 #undef HAVE_RANDOM
405
406 /* Define to 1 if you have the `RAND_cleanup' function. */
407 #undef HAVE_RAND_CLEANUP
408
409 /* Define to 1 if you have the `reallocarray' function. */
410 #undef HAVE_REALLOCARRAY
411
412 /* Define to 1 if you have the `recvmsg' function. */
413 #undef HAVE_RECVMSG
414
415 /* Define to 1 if you have the `sendmsg' function. */
416 #undef HAVE_SENDMSG
417
418 /* Define to 1 if you have the `setregid' function. */
419 #undef HAVE_SETREGID
420
421 /* Define to 1 if you have the `setresgid' function. */
422 #undef HAVE_SETRESGID
423
424 /* Define to 1 if you have the `setresuid' function. */
425 #undef HAVE_SETRESUID
426
427 /* Define to 1 if you have the `setreuid' function. */
428 #undef HAVE_SETREUID
429
430 /* Define to 1 if you have the `setrlimit' function. */
431 #undef HAVE_SETRLIMIT
432
433 /* Define to 1 if you have the `setsid' function. */
434 #undef HAVE_SETSID
435
436 /* Define to 1 if you have the `setusercontext' function. */
437 #undef HAVE_SETUSERCONTEXT
438
439 /* Define to 1 if you have the `SHA512_Update' function. */
440 #undef HAVE_SHA512_UPDATE
441
442 /* Define to 1 if you have the `shmget' function. */
443 #undef HAVE_SHMGET
444
445 /* Define to 1 if you have the `sigprocmask' function. */
446 #undef HAVE_SIGPROCMASK
447
448 /* Define to 1 if you have the `sleep' function. */
449 #undef HAVE_SLEEP
450
451 /* Define to 1 if you have the `snprintf' function. */
452 #undef HAVE_SNPRINTF
453
454 /* Define to 1 if you have the `socketpair' function. */
455 #undef HAVE_SOCKETPAIR
456
457 /* Using Solaris threads */
458 #undef HAVE_SOLARIS_THREADS
459
460 /* Define to 1 if you have the `srandom' function. */
461 #undef HAVE_SRANDOM
462
463 /* Define if you have the SSL libraries installed. */
464 #undef HAVE_SSL
465
466 /* Define to 1 if you have the `SSL_CTX_set_ciphersuites' function. */
467 #undef HAVE_SSL_CTX_SET_CIPHERSUITES
468
469 /* Define to 1 if you have the `SSL_CTX_set_security_level' function. */
470 #undef HAVE_SSL_CTX_SET_SECURITY_LEVEL
471
472 /* Define to 1 if you have the `SSL_CTX_set_tlsext_ticket_key_cb' function. */
473 #undef HAVE_SSL_CTX_SET_TLSEXT_TICKET_KEY_CB
474
475 /* Define to 1 if you have the `SSL_get0_peername' function. */
476 #undef HAVE_SSL_GET0_PEERNAME
477
478 /* Define to 1 if you have the `SSL_set1_host' function. */
479 #undef HAVE_SSL_SET1_HOST
480
481 /* Define to 1 if you have the <stdarg.h> header file. */
482 #undef HAVE_STDARG_H
483
484 /* Define to 1 if you have the <stdbool.h> header file. */
485 #undef HAVE_STDBOOL_H
486
487 /* Define to 1 if you have the <stdint.h> header file. */
488 #undef HAVE_STDINT_H
489
490 /* Define to 1 if you have the <stdlib.h> header file. */
491 #undef HAVE_STDLIB_H
492
493 /* Define to 1 if you have the `strftime' function. */
494 #undef HAVE_STRFTIME
495
496 /* Define to 1 if you have the <strings.h> header file. */
497 #undef HAVE_STRINGS_H
498
499 /* Define to 1 if you have the <string.h> header file. */
500 #undef HAVE_STRING_H
501
502 /* Define to 1 if you have the `strlcat' function. */
503 #undef HAVE_STRLCAT
504
505 /* Define to 1 if you have the `strlcpy' function. */
506 #undef HAVE_STRLCPY
507
508 /* Define to 1 if you have the `strptime' function. */
509 #undef HAVE_STRPTIME
510
511 /* Define to 1 if you have the `strsep' function. */
512 #undef HAVE_STRSEP
513
514 /* Define to 1 if `ipi_spec_dst' is a member of `struct in_pktinfo'. */
515 #undef HAVE_STRUCT_IN_PKTINFO_IPI_SPEC_DST
516
517 /* Define to 1 if `sun_len' is a member of `struct sockaddr_un'. */
518 #undef HAVE_STRUCT_SOCKADDR_UN_SUN_LEN
519
520 /* Define if you have Swig libraries and header files. */
521 #undef HAVE_SWIG
522
523 /* Define to 1 if you have the <syslog.h> header file. */
524 #undef HAVE_SYSLOG_H
525
526 /* Define to 1 if systemd should be used */
527 #undef HAVE_SYSTEMD
528
529 /* Define to 1 if you have the <sys/endian.h> header file. */
530 #undef HAVE_SYS_ENDIAN_H
531
532 /* Define to 1 if you have the <sys/ipc.h> header file. */
533 #undef HAVE_SYS_IPC_H
534
535 /* Define to 1 if you have the <sys/param.h> header file. */
536 #undef HAVE_SYS_PARAM_H
537
538 /* Define to 1 if you have the <sys/resource.h> header file. */
539 #undef HAVE_SYS_RESOURCE_H
540
541 /* Define to 1 if you have the <sys/sha2.h> header file. */
542 #undef HAVE_SYS_SHA2_H
543
544 /* Define to 1 if you have the <sys/shm.h> header file. */
545 #undef HAVE_SYS_SHM_H
546
547 /* Define to 1 if you have the <sys/socket.h> header file. */
548 #undef HAVE_SYS_SOCKET_H
549
550 /* Define to 1 if you have the <sys/stat.h> header file. */
551 #undef HAVE_SYS_STAT_H
552
553 /* Define to 1 if you have the <sys/sysctl.h> header file. */
554 #undef HAVE_SYS_SYSCTL_H
555
556 /* Define to 1 if you have the <sys/types.h> header file. */
557 #undef HAVE_SYS_TYPES_H
558
559 /* Define to 1 if you have the <sys/uio.h> header file. */
560 #undef HAVE_SYS_UIO_H
561
562 /* Define to 1 if you have the <sys/un.h> header file. */
563 #undef HAVE_SYS_UN_H
564
565 /* Define to 1 if you have the <sys/wait.h> header file. */
566 #undef HAVE_SYS_WAIT_H
567
568 /* Define to 1 if you have the <time.h> header file. */
569 #undef HAVE_TIME_H
570
571 /* Define to 1 if you have the `tzset' function. */
572 #undef HAVE_TZSET
573
574 /* Define to 1 if you have the <unistd.h> header file. */
575 #undef HAVE_UNISTD_H
576
577 /* Define to 1 if you have the `usleep' function. */
578 #undef HAVE_USLEEP
579
580 /* Define to 1 if you have the `vfork' function. */
581 #undef HAVE_VFORK
582
583 /* Define to 1 if you have the <vfork.h> header file. */
584 #undef HAVE_VFORK_H
585
586 /* Define to 1 if you have the <windows.h> header file. */
587 #undef HAVE_WINDOWS_H
588
589 /* Using Windows threads */
590 #undef HAVE_WINDOWS_THREADS
591
592 /* Define to 1 if you have the <winsock2.h> header file. */
593 #undef HAVE_WINSOCK2_H
594
595 /* Define to 1 if `fork' works. */
596 #undef HAVE_WORKING_FORK
597
598 /* Define to 1 if `vfork' works. */
599 #undef HAVE_WORKING_VFORK
600
601 /* Define to 1 if you have the `writev' function. */
602 #undef HAVE_WRITEV
603
604 /* Define to 1 if you have the <ws2tcpip.h> header file. */
605 #undef HAVE_WS2TCPIP_H
606
607 /* Define to 1 if you have the `X509_VERIFY_PARAM_set1_host' function. */
608 #undef HAVE_X509_VERIFY_PARAM_SET1_HOST
609
610 /* Define to 1 if you have the `_beginthreadex' function. */
611 #undef HAVE__BEGINTHREADEX
612
613 /* if lex has yylex_destroy */
614 #undef LEX_HAS_YYLEX_DESTROY
615
616 /* Define to the sub-directory where libtool stores uninstalled libraries. */
617 #undef LT_OBJDIR
618
619 /* Define to the maximum message length to pass to syslog. */
620 #undef MAXSYSLOGMSGLEN
621
622 /* Define if memcmp() does not compare unsigned bytes */
623 #undef MEMCMP_IS_BROKEN
624
625 /* Define if mkdir has one argument. */
626 #undef MKDIR_HAS_ONE_ARG
627
628 /* Define if the network stack does not fully support nonblocking io (causes
629    lower performance). */
630 #undef NONBLOCKING_IS_BROKEN
631
632 /* Put -D_ALL_SOURCE define in config.h */
633 #undef OMITTED__D_ALL_SOURCE
634
635 /* Put -D_BSD_SOURCE define in config.h */
636 #undef OMITTED__D_BSD_SOURCE
637
638 /* Put -D_DEFAULT_SOURCE define in config.h */
639 #undef OMITTED__D_DEFAULT_SOURCE
640
641 /* Put -D_GNU_SOURCE define in config.h */
642 #undef OMITTED__D_GNU_SOURCE
643
644 /* Put -D_LARGEFILE_SOURCE=1 define in config.h */
645 #undef OMITTED__D_LARGEFILE_SOURCE_1
646
647 /* Put -D_POSIX_C_SOURCE=200112 define in config.h */
648 #undef OMITTED__D_POSIX_C_SOURCE_200112
649
650 /* Put -D_XOPEN_SOURCE=600 define in config.h */
651 #undef OMITTED__D_XOPEN_SOURCE_600
652
653 /* Put -D_XOPEN_SOURCE_EXTENDED=1 define in config.h */
654 #undef OMITTED__D_XOPEN_SOURCE_EXTENDED_1
655
656 /* Put -D__EXTENSIONS__ define in config.h */
657 #undef OMITTED__D__EXTENSIONS__
658
659 /* Define to the address where bug reports for this package should be sent. */
660 #undef PACKAGE_BUGREPORT
661
662 /* Define to the full name of this package. */
663 #undef PACKAGE_NAME
664
665 /* Define to the full name and version of this package. */
666 #undef PACKAGE_STRING
667
668 /* Define to the one symbol short name of this package. */
669 #undef PACKAGE_TARNAME
670
671 /* Define to the home page for this package. */
672 #undef PACKAGE_URL
673
674 /* Define to the version of this package. */
675 #undef PACKAGE_VERSION
676
677 /* default pidfile location */
678 #undef PIDFILE
679
680 /* Define to necessary symbol if this constant uses a non-standard name on
681    your system. */
682 #undef PTHREAD_CREATE_JOINABLE
683
684 /* Define as the return type of signal handlers (`int' or `void'). */
685 #undef RETSIGTYPE
686
687 /* if REUSEPORT is enabled by default */
688 #undef REUSEPORT_DEFAULT
689
690 /* default rootkey location */
691 #undef ROOT_ANCHOR_FILE
692
693 /* default rootcert location */
694 #undef ROOT_CERT_FILE
695
696 /* version number for resource files */
697 #undef RSRC_PACKAGE_VERSION
698
699 /* Directory to chdir to */
700 #undef RUN_DIR
701
702 /* Shared data */
703 #undef SHARE_DIR
704
705 /* The size of `time_t', as computed by sizeof. */
706 #undef SIZEOF_TIME_T
707
708 /* define if (v)snprintf does not return length needed, (but length used) */
709 #undef SNPRINTF_RET_BROKEN
710
711 /* Define to 1 if libsodium supports sodium_set_misuse_handler */
712 #undef SODIUM_MISUSE_HANDLER
713
714 /* Define to 1 if you have the ANSI C header files. */
715 #undef STDC_HEADERS
716
717 /* use default strptime. */
718 #undef STRPTIME_WORKS
719
720 /* Use win32 resources and API */
721 #undef UB_ON_WINDOWS
722
723 /* default username */
724 #undef UB_USERNAME
725
726 /* use to enable lightweight alloc assertions, for debug use */
727 #undef UNBOUND_ALLOC_LITE
728
729 /* use malloc not regions, for debug use */
730 #undef UNBOUND_ALLOC_NONREGIONAL
731
732 /* use statistics for allocs and frees, for debug use */
733 #undef UNBOUND_ALLOC_STATS
734
735 /* define this to enable debug checks. */
736 #undef UNBOUND_DEBUG
737
738 /* Define to 1 to use cachedb support */
739 #undef USE_CACHEDB
740
741 /* Define to 1 to enable dnscrypt support */
742 #undef USE_DNSCRYPT
743
744 /* Define to 1 to enable dnscrypt with xchacha20 support */
745 #undef USE_DNSCRYPT_XCHACHA20
746
747 /* Define to 1 to enable dnstap support */
748 #undef USE_DNSTAP
749
750 /* Define this to enable DSA support. */
751 #undef USE_DSA
752
753 /* Define this to enable ECDSA support. */
754 #undef USE_ECDSA
755
756 /* Define this to enable an EVP workaround for older openssl */
757 #undef USE_ECDSA_EVP_WORKAROUND
758
759 /* Define this to enable ED25519 support. */
760 #undef USE_ED25519
761
762 /* Define this to enable ED448 support. */
763 #undef USE_ED448
764
765 /* Define this to enable GOST support. */
766 #undef USE_GOST
767
768 /* Define to 1 to use ipsecmod support. */
769 #undef USE_IPSECMOD
770
771 /* Define if you want to use internal select based events */
772 #undef USE_MINI_EVENT
773
774 /* Define this to enable client TCP Fast Open. */
775 #undef USE_MSG_FASTOPEN
776
777 /* Define this to enable client TCP Fast Open. */
778 #undef USE_OSX_MSG_FASTOPEN
779
780 /* Define this to use hiredis client. */
781 #undef USE_REDIS
782
783 /* Define this to enable SHA1 support. */
784 #undef USE_SHA1
785
786 /* Define this to enable SHA256 and SHA512 support. */
787 #undef USE_SHA2
788
789 /* Enable extensions on AIX 3, Interix.  */
790 #ifndef _ALL_SOURCE
791 # undef _ALL_SOURCE
792 #endif
793 /* Enable GNU extensions on systems that have them.  */
794 #ifndef _GNU_SOURCE
795 # undef _GNU_SOURCE
796 #endif
797 /* Enable threading extensions on Solaris.  */
798 #ifndef _POSIX_PTHREAD_SEMANTICS
799 # undef _POSIX_PTHREAD_SEMANTICS
800 #endif
801 /* Enable extensions on HP NonStop.  */
802 #ifndef _TANDEM_SOURCE
803 # undef _TANDEM_SOURCE
804 #endif
805 /* Enable general extensions on Solaris.  */
806 #ifndef __EXTENSIONS__
807 # undef __EXTENSIONS__
808 #endif
809
810
811 /* Define this to enable server TCP Fast Open. */
812 #undef USE_TCP_FASTOPEN
813
814 /* Whether the windows socket API is used */
815 #undef USE_WINSOCK
816
817 /* the version of the windows API enabled */
818 #undef WINVER
819
820 /* Define if you want Python module. */
821 #undef WITH_PYTHONMODULE
822
823 /* Define if you want PyUnbound. */
824 #undef WITH_PYUNBOUND
825
826 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
827    `char[]'. */
828 #undef YYTEXT_POINTER
829
830 /* Enable large inode numbers on Mac OS X 10.5.  */
831 #ifndef _DARWIN_USE_64_BIT_INODE
832 # define _DARWIN_USE_64_BIT_INODE 1
833 #endif
834
835 /* Number of bits in a file offset, on hosts where this is settable. */
836 #undef _FILE_OFFSET_BITS
837
838 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
839 #undef _LARGEFILE_SOURCE
840
841 /* Define for large files, on AIX-style hosts. */
842 #undef _LARGE_FILES
843
844 /* Define to 1 if on MINIX. */
845 #undef _MINIX
846
847 /* Enable for compile on Minix */
848 #undef _NETBSD_SOURCE
849
850 /* Define to 2 if the system does not provide POSIX.1 features except with
851    this defined. */
852 #undef _POSIX_1_SOURCE
853
854 /* Define to 1 if you need to in order for `stat' and other things to work. */
855 #undef _POSIX_SOURCE
856
857 /* Define to empty if `const' does not conform to ANSI C. */
858 #undef const
859
860 /* Define to `int' if <sys/types.h> doesn't define. */
861 #undef gid_t
862
863 /* in_addr_t */
864 #undef in_addr_t
865
866 /* in_port_t */
867 #undef in_port_t
868
869 /* Define to `__inline__' or `__inline' if that's what the C compiler
870    calls it, or to nothing if 'inline' is not supported under any name.  */
871 #ifndef __cplusplus
872 #undef inline
873 #endif
874
875 /* Define to `short' if <sys/types.h> does not define. */
876 #undef int16_t
877
878 /* Define to `int' if <sys/types.h> does not define. */
879 #undef int32_t
880
881 /* Define to `long long' if <sys/types.h> does not define. */
882 #undef int64_t
883
884 /* Define to `signed char' if <sys/types.h> does not define. */
885 #undef int8_t
886
887 /* Define if replacement function should be used. */
888 #undef malloc
889
890 /* Define to `long int' if <sys/types.h> does not define. */
891 #undef off_t
892
893 /* Define to `int' if <sys/types.h> does not define. */
894 #undef pid_t
895
896 /* Define to 'int' if not defined */
897 #undef rlim_t
898
899 /* Define to `unsigned int' if <sys/types.h> does not define. */
900 #undef size_t
901
902 /* Define to 'int' if not defined */
903 #undef socklen_t
904
905 /* Define to `int' if <sys/types.h> does not define. */
906 #undef ssize_t
907
908 /* Define to 'unsigned char if not defined */
909 #undef u_char
910
911 /* Define to `int' if <sys/types.h> doesn't define. */
912 #undef uid_t
913
914 /* Define to `unsigned short' if <sys/types.h> does not define. */
915 #undef uint16_t
916
917 /* Define to `unsigned int' if <sys/types.h> does not define. */
918 #undef uint32_t
919
920 /* Define to `unsigned long long' if <sys/types.h> does not define. */
921 #undef uint64_t
922
923 /* Define to `unsigned char' if <sys/types.h> does not define. */
924 #undef uint8_t
925
926 /* Define as `fork' if `vfork' does not work. */
927 #undef vfork
928
929 #if defined(OMITTED__D_GNU_SOURCE) && !defined(_GNU_SOURCE)
930 #define _GNU_SOURCE 1
931 #endif 
932
933 #if defined(OMITTED__D_BSD_SOURCE) && !defined(_BSD_SOURCE)
934 #define _BSD_SOURCE 1
935 #endif 
936
937 #if defined(OMITTED__D_DEFAULT_SOURCE) && !defined(_DEFAULT_SOURCE)
938 #define _DEFAULT_SOURCE 1
939 #endif 
940
941 #if defined(OMITTED__D__EXTENSIONS__) && !defined(__EXTENSIONS__)
942 #define __EXTENSIONS__ 1
943 #endif 
944
945 #if defined(OMITTED__D_POSIX_C_SOURCE_200112) && !defined(_POSIX_C_SOURCE)
946 #define _POSIX_C_SOURCE 200112
947 #endif 
948
949 #if defined(OMITTED__D_XOPEN_SOURCE_600) && !defined(_XOPEN_SOURCE)
950 #define _XOPEN_SOURCE 600
951 #endif 
952
953 #if defined(OMITTED__D_XOPEN_SOURCE_EXTENDED_1) && !defined(_XOPEN_SOURCE_EXTENDED)
954 #define _XOPEN_SOURCE_EXTENDED 1
955 #endif 
956
957 #if defined(OMITTED__D_ALL_SOURCE) && !defined(_ALL_SOURCE)
958 #define _ALL_SOURCE 1
959 #endif 
960
961 #if defined(OMITTED__D_LARGEFILE_SOURCE_1) && !defined(_LARGEFILE_SOURCE)
962 #define _LARGEFILE_SOURCE 1
963 #endif 
964
965
966
967
968 #ifndef UNBOUND_DEBUG
969 #  define NDEBUG
970 #endif
971
972 /** Use small-ldns codebase */
973 #define USE_SLDNS 1
974 #ifdef HAVE_SSL
975 #  define LDNS_BUILD_CONFIG_HAVE_SSL 1
976 #endif
977
978 #include <stdio.h>
979 #include <string.h>
980 #include <unistd.h>
981 #include <assert.h>
982
983 #if STDC_HEADERS
984 #include <stdlib.h>
985 #include <stddef.h>
986 #endif
987
988 #ifdef HAVE_STDARG_H
989 #include <stdarg.h>
990 #endif
991
992 #ifdef HAVE_STDINT_H
993 #include <stdint.h>
994 #endif
995
996 #include <errno.h>
997
998 #if HAVE_SYS_PARAM_H
999 #include <sys/param.h>
1000 #endif
1001
1002 #ifdef HAVE_SYS_SOCKET_H
1003 #include <sys/socket.h>
1004 #endif
1005
1006 #ifdef HAVE_SYS_UIO_H
1007 #include <sys/uio.h>
1008 #endif
1009
1010 #ifdef HAVE_NETINET_IN_H
1011 #include <netinet/in.h>
1012 #endif
1013
1014 #ifdef HAVE_NETINET_TCP_H
1015 #include <netinet/tcp.h>
1016 #endif
1017
1018 #ifdef HAVE_ARPA_INET_H
1019 #include <arpa/inet.h>
1020 #endif
1021
1022 #ifdef HAVE_WINSOCK2_H
1023 #include <winsock2.h>
1024 #endif
1025
1026 #ifdef HAVE_WS2TCPIP_H
1027 #include <ws2tcpip.h>
1028 #endif
1029
1030 #ifndef USE_WINSOCK
1031 #define ARG_LL "%ll"
1032 #else
1033 #define ARG_LL "%I64"
1034 #endif
1035
1036 #ifndef AF_LOCAL
1037 #define AF_LOCAL AF_UNIX
1038 #endif
1039
1040
1041  
1042 #ifdef HAVE_ATTR_FORMAT
1043 #  define ATTR_FORMAT(archetype, string_index, first_to_check) \
1044     __attribute__ ((format (archetype, string_index, first_to_check)))
1045 #else /* !HAVE_ATTR_FORMAT */
1046 #  define ATTR_FORMAT(archetype, string_index, first_to_check) /* empty */
1047 #endif /* !HAVE_ATTR_FORMAT */
1048
1049
1050 #if defined(DOXYGEN)
1051 #  define ATTR_UNUSED(x)  x
1052 #elif defined(__cplusplus)
1053 #  define ATTR_UNUSED(x)
1054 #elif defined(HAVE_ATTR_UNUSED)
1055 #  define ATTR_UNUSED(x)  x __attribute__((unused))
1056 #else /* !HAVE_ATTR_UNUSED */
1057 #  define ATTR_UNUSED(x)  x
1058 #endif /* !HAVE_ATTR_UNUSED */
1059
1060
1061 #ifndef HAVE_FSEEKO
1062 #define fseeko fseek
1063 #define ftello ftell
1064 #endif /* HAVE_FSEEKO */
1065
1066
1067 #ifndef MAXHOSTNAMELEN
1068 #define MAXHOSTNAMELEN 256
1069 #endif
1070
1071 #if !defined(HAVE_SNPRINTF) || defined(SNPRINTF_RET_BROKEN)
1072 #define snprintf snprintf_unbound
1073 #define vsnprintf vsnprintf_unbound
1074 #include <stdarg.h>
1075 int snprintf (char *str, size_t count, const char *fmt, ...);
1076 int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
1077 #endif /* HAVE_SNPRINTF or SNPRINTF_RET_BROKEN */
1078
1079 #ifndef HAVE_INET_PTON
1080 #define inet_pton inet_pton_unbound
1081 int inet_pton(int af, const char* src, void* dst);
1082 #endif /* HAVE_INET_PTON */
1083
1084
1085 #ifndef HAVE_INET_NTOP
1086 #define inet_ntop inet_ntop_unbound
1087 const char *inet_ntop(int af, const void *src, char *dst, size_t size);
1088 #endif
1089
1090
1091 #ifndef HAVE_INET_ATON
1092 #define inet_aton inet_aton_unbound
1093 int inet_aton(const char *cp, struct in_addr *addr);
1094 #endif
1095
1096
1097 #ifndef HAVE_MEMMOVE
1098 #define memmove memmove_unbound
1099 void *memmove(void *dest, const void *src, size_t n);
1100 #endif
1101
1102
1103 #ifndef HAVE_STRLCAT
1104 #define strlcat strlcat_unbound
1105 size_t strlcat(char *dst, const char *src, size_t siz);
1106 #endif
1107
1108
1109 #ifndef HAVE_STRLCPY
1110 #define strlcpy strlcpy_unbound
1111 size_t strlcpy(char *dst, const char *src, size_t siz);
1112 #endif
1113
1114
1115 #ifndef HAVE_GMTIME_R
1116 #define gmtime_r gmtime_r_unbound
1117 struct tm *gmtime_r(const time_t *timep, struct tm *result);
1118 #endif
1119
1120
1121 #ifndef HAVE_REALLOCARRAY
1122 #define reallocarray reallocarrayunbound
1123 void* reallocarray(void *ptr, size_t nmemb, size_t size);
1124 #endif
1125
1126
1127 #if !defined(HAVE_SLEEP) || defined(HAVE_WINDOWS_H)
1128 #define sleep(x) Sleep((x)*1000) /* on win32 */
1129 #endif /* HAVE_SLEEP */
1130
1131
1132 #ifndef HAVE_USLEEP
1133 #define usleep(x) Sleep((x)/1000 + 1) /* on win32 */
1134 #endif /* HAVE_USLEEP */
1135
1136
1137 #ifndef HAVE_RANDOM
1138 #define random rand /* on win32, for tests only (bad random) */
1139 #endif /* HAVE_RANDOM */
1140
1141
1142 #ifndef HAVE_SRANDOM
1143 #define srandom(x) srand(x) /* on win32, for tests only (bad random) */
1144 #endif /* HAVE_SRANDOM */
1145
1146
1147 /* detect if we need to cast to unsigned int for FD_SET to avoid warnings */
1148 #ifdef HAVE_WINSOCK2_H
1149 #define FD_SET_T (u_int)
1150 #else
1151 #define FD_SET_T 
1152 #endif
1153
1154
1155 #ifndef IPV6_MIN_MTU
1156 #define IPV6_MIN_MTU 1280
1157 #endif /* IPV6_MIN_MTU */
1158
1159
1160 #ifdef MEMCMP_IS_BROKEN
1161 #include "compat/memcmp.h"
1162 #define memcmp memcmp_unbound
1163 int memcmp(const void *x, const void *y, size_t n);
1164 #endif
1165
1166
1167
1168 #ifndef HAVE_CTIME_R
1169 #define ctime_r unbound_ctime_r
1170 char *ctime_r(const time_t *timep, char *buf);
1171 #endif
1172
1173 #ifndef HAVE_STRSEP
1174 #define strsep unbound_strsep
1175 char *strsep(char **stringp, const char *delim);
1176 #endif
1177
1178 #ifndef HAVE_ISBLANK
1179 #define isblank unbound_isblank
1180 int isblank(int c);
1181 #endif
1182
1183 #ifndef HAVE_EXPLICIT_BZERO
1184 #define explicit_bzero unbound_explicit_bzero
1185 void explicit_bzero(void* buf, size_t len);
1186 #endif
1187
1188 #if defined(HAVE_INET_NTOP) && !HAVE_DECL_INET_NTOP
1189 const char *inet_ntop(int af, const void *src, char *dst, size_t size);
1190 #endif
1191
1192 #if defined(HAVE_INET_PTON) && !HAVE_DECL_INET_PTON
1193 int inet_pton(int af, const char* src, void* dst);
1194 #endif
1195
1196 #if !defined(HAVE_STRPTIME) || !defined(STRPTIME_WORKS)
1197 #define strptime unbound_strptime
1198 struct tm;
1199 char *strptime(const char *s, const char *format, struct tm *tm);
1200 #endif
1201
1202 #ifdef HAVE_LIBRESSL
1203 #  if !HAVE_DECL_STRLCPY
1204 size_t strlcpy(char *dst, const char *src, size_t siz);
1205 #  endif
1206 #  if !HAVE_DECL_STRLCAT
1207 size_t strlcat(char *dst, const char *src, size_t siz);
1208 #  endif
1209 #  if !HAVE_DECL_ARC4RANDOM && defined(HAVE_ARC4RANDOM)
1210 uint32_t arc4random(void);
1211 #  endif
1212 #  if !HAVE_DECL_ARC4RANDOM_UNIFORM && defined(HAVE_ARC4RANDOM_UNIFORM)
1213 uint32_t arc4random_uniform(uint32_t upper_bound);
1214 #  endif
1215 #  if !HAVE_DECL_REALLOCARRAY
1216 void *reallocarray(void *ptr, size_t nmemb, size_t size);
1217 #  endif
1218 #endif /* HAVE_LIBRESSL */
1219 #ifndef HAVE_ARC4RANDOM
1220 int getentropy(void* buf, size_t len);
1221 uint32_t arc4random(void);
1222 void arc4random_buf(void* buf, size_t n);
1223 void _ARC4_LOCK(void);
1224 void _ARC4_UNLOCK(void);
1225 void _ARC4_LOCK_DESTROY(void);
1226 #endif
1227 #ifndef HAVE_ARC4RANDOM_UNIFORM
1228 uint32_t arc4random_uniform(uint32_t upper_bound);
1229 #endif
1230 #ifdef COMPAT_SHA512
1231 #ifndef SHA512_DIGEST_LENGTH
1232 #define SHA512_BLOCK_LENGTH             128
1233 #define SHA512_DIGEST_LENGTH            64
1234 #define SHA512_DIGEST_STRING_LENGTH     (SHA512_DIGEST_LENGTH * 2 + 1)
1235 typedef struct _SHA512_CTX {
1236         uint64_t        state[8];
1237         uint64_t        bitcount[2];
1238         uint8_t buffer[SHA512_BLOCK_LENGTH];
1239 } SHA512_CTX;
1240 #endif /* SHA512_DIGEST_LENGTH */
1241 void SHA512_Init(SHA512_CTX*);
1242 void SHA512_Update(SHA512_CTX*, void*, size_t);
1243 void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
1244 unsigned char *SHA512(void* data, unsigned int data_len, unsigned char *digest);
1245 #endif /* COMPAT_SHA512 */
1246
1247
1248
1249 #if defined(HAVE_EVENT_H) && !defined(HAVE_EVENT_BASE_ONCE) && !(defined(HAVE_EV_LOOP) || defined(HAVE_EV_DEFAULT_LOOP)) && (defined(HAVE_PTHREAD) || defined(HAVE_SOLARIS_THREADS))
1250    /* using version of libevent that is not threadsafe. */
1251 #  define LIBEVENT_SIGNAL_PROBLEM 1
1252 #endif
1253
1254 #ifndef CHECKED_INET6
1255 #  define CHECKED_INET6
1256 #  ifdef AF_INET6
1257 #    define INET6
1258 #  else
1259 #    define AF_INET6        28
1260 #  endif
1261 #endif /* CHECKED_INET6 */
1262
1263 #ifndef HAVE_GETADDRINFO
1264 struct sockaddr_storage;
1265 #include "compat/fake-rfc2553.h"
1266 #endif
1267
1268 #ifdef UNBOUND_ALLOC_STATS
1269 #  define malloc(s) unbound_stat_malloc_log(s, __FILE__, __LINE__, __func__)
1270 #  define calloc(n,s) unbound_stat_calloc_log(n, s, __FILE__, __LINE__, __func__)
1271 #  define free(p) unbound_stat_free_log(p, __FILE__, __LINE__, __func__)
1272 #  define realloc(p,s) unbound_stat_realloc_log(p, s, __FILE__, __LINE__, __func__)
1273 void *unbound_stat_malloc(size_t size);
1274 void *unbound_stat_calloc(size_t nmemb, size_t size);
1275 void unbound_stat_free(void *ptr);
1276 void *unbound_stat_realloc(void *ptr, size_t size);
1277 void *unbound_stat_malloc_log(size_t size, const char* file, int line,
1278         const char* func);
1279 void *unbound_stat_calloc_log(size_t nmemb, size_t size, const char* file,
1280         int line, const char* func);
1281 void unbound_stat_free_log(void *ptr, const char* file, int line,
1282         const char* func);
1283 void *unbound_stat_realloc_log(void *ptr, size_t size, const char* file,
1284         int line, const char* func);
1285 #elif defined(UNBOUND_ALLOC_LITE)
1286 #  include "util/alloc.h"
1287 #endif /* UNBOUND_ALLOC_LITE and UNBOUND_ALLOC_STATS */
1288
1289 /** default port for DNS traffic. */
1290 #define UNBOUND_DNS_PORT 53
1291 /** default port for DNS over TLS traffic. */
1292 #define UNBOUND_DNS_OVER_TLS_PORT 853
1293 /** default port for unbound control traffic, registered port with IANA,
1294     ub-dns-control  8953/tcp    unbound dns nameserver control */
1295 #define UNBOUND_CONTROL_PORT 8953
1296 /** the version of unbound-control that this software implements */
1297 #define UNBOUND_CONTROL_VERSION 1
1298
1299