1 /* config.h. Generated from config.h.in by configure. */ 2 /* config.h.in. Generated from configure.ac by autoheader. */ 3 4 /* apply the fallthrough attribute. */ 5 #define ATTR_FALLTHROUGH __attribute__((fallthrough)); 6 7 /* apply the noreturn attribute to a function that exits the program */ 8 #define ATTR_NORETURN __attribute__((__noreturn__)) 9 10 /* apply the weak attribute to a symbol */ 11 #define ATTR_WEAK __attribute__((weak)) 12 13 /* Directory to chroot to */ 14 #define CHROOT_DIR "/var/unbound" 15 16 /* Define this to enable client subnet option. */ 17 /* #undef CLIENT_SUBNET */ 18 19 /* Do sha512 definitions in config.h */ 20 /* #undef COMPAT_SHA512 */ 21 22 /* Command line arguments used with configure */ 23 #define CONFCMDLINE "--prefix= --exec-prefix=/usr --with-conf-file=/var/unbound/unbound.conf --with-run-dir=/var/unbound --with-username=unbound" 24 25 /* Pathname to the Unbound configuration file */ 26 #define CONFIGFILE "/var/unbound/unbound.conf" 27 28 /* Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work 29 */ 30 /* #undef DARWIN_BROKEN_SETREUID */ 31 32 /* Whether daemon is deprecated */ 33 /* #undef DEPRECATED_DAEMON */ 34 35 /* Whether X509_NAME_get_text_by_NID is deprecated */ 36 /* #undef DEPRECATED_X509_NAME_GET_TEXT_BY_NID */ 37 38 /* Deprecate RSA 1024 bit length, makes that an unsupported key */ 39 /* #undef DEPRECATE_RSA_1024 */ 40 41 /* Define this to enable kernel based UDP source port randomization. */ 42 /* #undef DISABLE_EXPLICIT_PORT_RANDOMISATION */ 43 44 /* default dnstap socket path */ 45 /* #undef DNSTAP_SOCKET_PATH */ 46 47 /* Define if you want to use debug lock checking (slow). */ 48 /* #undef ENABLE_LOCK_CHECKS */ 49 50 /* Define this if you enabled-allsymbols from libunbound to link binaries to 51 it for smaller install size, but the libunbound export table is polluted by 52 internal symbols */ 53 /* #undef EXPORT_ALL_SYMBOLS */ 54 55 /* Define to 1 if you have the `accept4' function. */ 56 #define HAVE_ACCEPT4 1 57 58 /* Define to 1 if you have the `arc4random' function. */ 59 #define HAVE_ARC4RANDOM 1 60 61 /* Define to 1 if you have the `arc4random_uniform' function. */ 62 #define HAVE_ARC4RANDOM_UNIFORM 1 63 64 /* Define to 1 if you have the <arpa/inet.h> header file. */ 65 #define HAVE_ARPA_INET_H 1 66 67 /* Define to 1 if you have the `ASN1_STRING_get0_data' function. */ 68 #define HAVE_ASN1_STRING_GET0_DATA 1 69 70 /* Whether the C compiler accepts the "fallthrough" attribute */ 71 #define HAVE_ATTR_FALLTHROUGH 1 72 73 /* Whether the C compiler accepts the "format" attribute */ 74 #define HAVE_ATTR_FORMAT 1 75 76 /* Whether the C compiler accepts the "nonstring" attribute */ 77 #define HAVE_ATTR_NONSTRING 1 78 79 /* Whether the C compiler accepts the "noreturn" attribute */ 80 #define HAVE_ATTR_NORETURN 1 81 82 /* Whether the C compiler accepts the "unused" attribute */ 83 #define HAVE_ATTR_UNUSED 1 84 85 /* Whether the C compiler accepts the "weak" attribute */ 86 #define HAVE_ATTR_WEAK 1 87 88 /* If we have be64toh */ 89 #define HAVE_BE64TOH 1 90 91 /* Define to 1 if you have the `BIO_set_callback_ex' function. */ 92 #define HAVE_BIO_SET_CALLBACK_EX 1 93 94 /* Define to 1 if you have the <bsd/stdlib.h> header file. */ 95 /* #undef HAVE_BSD_STDLIB_H */ 96 97 /* Define to 1 if you have the <bsd/string.h> header file. */ 98 /* #undef HAVE_BSD_STRING_H */ 99 100 /* Define to 1 if you have the `chown' function. */ 101 #define HAVE_CHOWN 1 102 103 /* Define to 1 if you have the `chroot' function. */ 104 #define HAVE_CHROOT 1 105 106 /* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ 107 /* #undef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA */ 108 109 /* Define to 1 if you have the `CRYPTO_THREADID_set_callback' function. */ 110 /* #undef HAVE_CRYPTO_THREADID_SET_CALLBACK */ 111 112 /* Define to 1 if you have the `ctime_r' function. */ 113 #define HAVE_CTIME_R 1 114 115 /* Define to 1 if you have the `daemon' function. */ 116 #define HAVE_DAEMON 1 117 118 /* Define to 1 if you have the declaration of `arc4random', and to 0 if you 119 don't. */ 120 /* #undef HAVE_DECL_ARC4RANDOM */ 121 122 /* Define to 1 if you have the declaration of `arc4random_uniform', and to 0 123 if you don't. */ 124 /* #undef HAVE_DECL_ARC4RANDOM_UNIFORM */ 125 126 /* Define to 1 if you have the declaration of `evsignal_assign', and to 0 if 127 you don't. */ 128 /* #undef HAVE_DECL_EVSIGNAL_ASSIGN */ 129 130 /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you 131 don't. */ 132 #define HAVE_DECL_INET_NTOP 1 133 134 /* Define to 1 if you have the declaration of `inet_pton', and to 0 if you 135 don't. */ 136 #define HAVE_DECL_INET_PTON 1 137 138 /* Define to 1 if you have the declaration of `nghttp2_session_server_new', 139 and to 0 if you don't. */ 140 /* #undef HAVE_DECL_NGHTTP2_SESSION_SERVER_NEW */ 141 142 /* Define to 1 if you have the declaration of `ngtcp2_conn_server_new', and to 143 0 if you don't. */ 144 /* #undef HAVE_DECL_NGTCP2_CONN_SERVER_NEW */ 145 146 /* Define to 1 if you have the declaration of `ngtcp2_crypto_encrypt_cb', and 147 to 0 if you don't. */ 148 /* #undef HAVE_DECL_NGTCP2_CRYPTO_ENCRYPT_CB */ 149 150 /* Define to 1 if you have the declaration of `ngtcp2_crypto_ossl_ctx_new', 151 and to 0 if you don't. */ 152 /* #undef HAVE_DECL_NGTCP2_CRYPTO_OSSL_CTX_NEW */ 153 154 /* Define to 1 if you have the declaration of `NID_ED25519', and to 0 if you 155 don't. */ 156 #define HAVE_DECL_NID_ED25519 1 157 158 /* Define to 1 if you have the declaration of `NID_ED448', and to 0 if you 159 don't. */ 160 #define HAVE_DECL_NID_ED448 1 161 162 /* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you 163 don't. */ 164 #define HAVE_DECL_NID_SECP384R1 1 165 166 /* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0 167 if you don't. */ 168 #define HAVE_DECL_NID_X9_62_PRIME256V1 1 169 170 /* Define to 1 if you have the declaration of `reallocarray', and to 0 if you 171 don't. */ 172 #define HAVE_DECL_REALLOCARRAY 1 173 174 /* Define to 1 if you have the declaration of `redisConnect', and to 0 if you 175 don't. */ 176 /* #undef HAVE_DECL_REDISCONNECT */ 177 178 /* Define to 1 if you have the declaration of `sk_SSL_COMP_pop_free', and to 0 179 if you don't. */ 180 #define HAVE_DECL_SK_SSL_COMP_POP_FREE 1 181 182 /* Define to 1 if you have the declaration of 183 `SSL_COMP_get_compression_methods', and to 0 if you don't. */ 184 #define HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS 1 185 186 /* Define to 1 if you have the declaration of `SSL_CTX_set_ecdh_auto', and to 187 0 if you don't. */ 188 #define HAVE_DECL_SSL_CTX_SET_ECDH_AUTO 1 189 190 /* Define to 1 if you have the declaration of `SSL_CTX_set_tmp_ecdh', and to 0 191 if you don't. */ 192 #define HAVE_DECL_SSL_CTX_SET_TMP_ECDH 1 193 194 /* Define to 1 if you have the declaration of `strlcat', and to 0 if you 195 don't. */ 196 /* #undef HAVE_DECL_STRLCAT */ 197 198 /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you 199 don't. */ 200 /* #undef HAVE_DECL_STRLCPY */ 201 202 /* Define to 1 if you have the declaration of `XML_StopParser', and to 0 if 203 you don't. */ 204 #define HAVE_DECL_XML_STOPPARSER 1 205 206 /* Define to 1 if you have the <dlfcn.h> header file. */ 207 #define HAVE_DLFCN_H 1 208 209 /* Define to 1 if you have the `DSA_SIG_set0' function. */ 210 #define HAVE_DSA_SIG_SET0 1 211 212 /* Define to 1 if you have the <endian.h> header file. */ 213 #define HAVE_ENDIAN_H 1 214 215 /* Define to 1 if you have the `endprotoent' function. */ 216 #define HAVE_ENDPROTOENT 1 217 218 /* Define to 1 if you have the `endpwent' function. */ 219 #define HAVE_ENDPWENT 1 220 221 /* Define to 1 if you have the `endservent' function. */ 222 #define HAVE_ENDSERVENT 1 223 224 /* Define to 1 if you have the `ENGINE_cleanup' function. */ 225 /* #undef HAVE_ENGINE_CLEANUP */ 226 227 /* Define to 1 if you have the `ERR_free_strings' function. */ 228 /* #undef HAVE_ERR_FREE_STRINGS */ 229 230 /* Define to 1 if you have the `ERR_load_crypto_strings' function. */ 231 /* #undef HAVE_ERR_LOAD_CRYPTO_STRINGS */ 232 233 /* Define to 1 if you have the `event_assign' function. */ 234 /* #undef HAVE_EVENT_ASSIGN */ 235 236 /* Define to 1 if you have the `event_base_free' function. */ 237 /* #undef HAVE_EVENT_BASE_FREE */ 238 239 /* Define to 1 if you have the `event_base_get_method' function. */ 240 /* #undef HAVE_EVENT_BASE_GET_METHOD */ 241 242 /* Define to 1 if you have the `event_base_new' function. */ 243 /* #undef HAVE_EVENT_BASE_NEW */ 244 245 /* Define to 1 if you have the `event_base_once' function. */ 246 /* #undef HAVE_EVENT_BASE_ONCE */ 247 248 /* Define to 1 if you have the <event.h> header file. */ 249 /* #undef HAVE_EVENT_H */ 250 251 /* Define to 1 if you have the `EVP_aes_256_cbc' function. */ 252 #define HAVE_EVP_AES_256_CBC 1 253 254 /* Define to 1 if you have the `EVP_cleanup' function. */ 255 /* #undef HAVE_EVP_CLEANUP */ 256 257 /* Define to 1 if you have the `EVP_default_properties_is_fips_enabled' 258 function. */ 259 #define HAVE_EVP_DEFAULT_PROPERTIES_IS_FIPS_ENABLED 1 260 261 /* Define to 1 if you have the `EVP_DigestVerify' function. */ 262 #define HAVE_EVP_DIGESTVERIFY 1 263 264 /* Define to 1 if you have the `EVP_dss1' function. */ 265 /* #undef HAVE_EVP_DSS1 */ 266 267 /* Define to 1 if you have the `EVP_EncryptInit_ex' function. */ 268 #define HAVE_EVP_ENCRYPTINIT_EX 1 269 270 /* Define to 1 if you have the `EVP_MAC_CTX_set_params' function. */ 271 #define HAVE_EVP_MAC_CTX_SET_PARAMS 1 272 273 /* Define to 1 if you have the `EVP_MD_CTX_new' function. */ 274 #define HAVE_EVP_MD_CTX_NEW 1 275 276 /* Define to 1 if you have the `EVP_sha1' function. */ 277 #define HAVE_EVP_SHA1 1 278 279 /* Define to 1 if you have the `EVP_sha256' function. */ 280 #define HAVE_EVP_SHA256 1 281 282 /* Define to 1 if you have the `EVP_sha512' function. */ 283 #define HAVE_EVP_SHA512 1 284 285 /* Define to 1 if you have the `ev_default_loop' function. */ 286 /* #undef HAVE_EV_DEFAULT_LOOP */ 287 288 /* Define to 1 if you have the `ev_loop' function. */ 289 /* #undef HAVE_EV_LOOP */ 290 291 /* Define to 1 if you have the <expat.h> header file. */ 292 #define HAVE_EXPAT_H 1 293 294 /* Define to 1 if you have the `explicit_bzero' function. */ 295 #define HAVE_EXPLICIT_BZERO 1 296 297 /* Define to 1 if you have the `fcntl' function. */ 298 #define HAVE_FCNTL 1 299 300 /* Define to 1 if you have the `FIPS_mode' function. */ 301 /* #undef HAVE_FIPS_MODE */ 302 303 /* Define to 1 if you have the `fnmatch' function. */ 304 #define HAVE_FNMATCH 1 305 306 /* Define to 1 if you have the <fnmatch.h> header file. */ 307 #define HAVE_FNMATCH_H 1 308 309 /* Define to 1 if you have the `fork' function. */ 310 #define HAVE_FORK 1 311 312 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 313 #define HAVE_FSEEKO 1 314 315 /* Define to 1 if you have the `fsync' function. */ 316 #define HAVE_FSYNC 1 317 318 /* Whether getaddrinfo is available */ 319 #define HAVE_GETADDRINFO 1 320 321 /* Define to 1 if you have the `getauxval' function. */ 322 /* #undef HAVE_GETAUXVAL */ 323 324 /* Define to 1 if you have the `getentropy' function. */ 325 /* #undef HAVE_GETENTROPY */ 326 327 /* Define to 1 if you have the `getifaddrs' function. */ 328 #define HAVE_GETIFADDRS 1 329 330 /* Define to 1 if you have the <getopt.h> header file. */ 331 #define HAVE_GETOPT_H 1 332 333 /* Define to 1 if you have the `getpwnam' function. */ 334 #define HAVE_GETPWNAM 1 335 336 /* Define to 1 if you have the `getrlimit' function. */ 337 #define HAVE_GETRLIMIT 1 338 339 /* Define to 1 if you have the `gettid' function. */ 340 /* #undef HAVE_GETTID */ 341 342 /* Define to 1 if you have the `glob' function. */ 343 #define HAVE_GLOB 1 344 345 /* Define to 1 if you have the <glob.h> header file. */ 346 #define HAVE_GLOB_H 1 347 348 /* Define to 1 if you have the `gmtime_r' function. */ 349 #define HAVE_GMTIME_R 1 350 351 /* Define to 1 if you have the <grp.h> header file. */ 352 #define HAVE_GRP_H 1 353 354 /* Define to 1 if you have the <hiredis/hiredis.h> header file. */ 355 /* #undef HAVE_HIREDIS_HIREDIS_H */ 356 357 /* Define to 1 if you have the `HMAC_Init_ex' function. */ 358 #define HAVE_HMAC_INIT_EX 1 359 360 /* If we have htobe64 */ 361 #define HAVE_HTOBE64 1 362 363 /* Define to 1 if you have the <ifaddrs.h> header file. */ 364 #define HAVE_IFADDRS_H 1 365 366 /* Define to 1 if you have the `if_nametoindex' function. */ 367 #define HAVE_IF_NAMETOINDEX 1 368 369 /* Define to 1 if you have the `inet_aton' function. */ 370 #define HAVE_INET_ATON 1 371 372 /* Define to 1 if you have the `inet_ntop' function. */ 373 #define HAVE_INET_NTOP 1 374 375 /* Define to 1 if you have the `inet_pton' function. */ 376 #define HAVE_INET_PTON 1 377 378 /* Define to 1 if you have the `initgroups' function. */ 379 #define HAVE_INITGROUPS 1 380 381 /* Define to 1 if you have the <inttypes.h> header file. */ 382 #define HAVE_INTTYPES_H 1 383 384 /* if the function 'ioctlsocket' is available */ 385 /* #undef HAVE_IOCTLSOCKET */ 386 387 /* Define to 1 if you have the <iphlpapi.h> header file. */ 388 /* #undef HAVE_IPHLPAPI_H */ 389 390 /* Define to 1 if you have the `isblank' function. */ 391 #define HAVE_ISBLANK 1 392 393 /* Define to 1 if you have the `kill' function. */ 394 #define HAVE_KILL 1 395 396 /* Use portable libbsd functions */ 397 /* #undef HAVE_LIBBSD */ 398 399 /* Define to 1 if you have the <libkern/OSByteOrder.h> header file. */ 400 /* #undef HAVE_LIBKERN_OSBYTEORDER_H */ 401 402 /* Define if we have LibreSSL */ 403 /* #undef HAVE_LIBRESSL */ 404 405 /* If we have atomic_store */ 406 #define HAVE_LINK_ATOMIC_STORE 1 407 408 /* Define to 1 if you have the <linux/net_tstamp.h> header file. */ 409 /* #undef HAVE_LINUX_NET_TSTAMP_H */ 410 411 /* Define to 1 if you have the `localtime_r' function. */ 412 #define HAVE_LOCALTIME_R 1 413 414 /* Define to 1 if you have the <login_cap.h> header file. */ 415 #define HAVE_LOGIN_CAP_H 1 416 417 /* If have GNU libc compatible malloc */ 418 #define HAVE_MALLOC 1 419 420 /* Define to 1 if you have the `memmove' function. */ 421 #define HAVE_MEMMOVE 1 422 423 /* Define to 1 if you have the <minix/config.h> header file. */ 424 /* #undef HAVE_MINIX_CONFIG_H */ 425 426 /* Define to 1 if you have the <netdb.h> header file. */ 427 #define HAVE_NETDB_H 1 428 429 /* Define to 1 if you have the <netinet/in.h> header file. */ 430 #define HAVE_NETINET_IN_H 1 431 432 /* Define to 1 if you have the <netinet/tcp.h> header file. */ 433 #define HAVE_NETINET_TCP_H 1 434 435 /* Define to 1 if you have the <netioapi.h> header file. */ 436 /* #undef HAVE_NETIOAPI_H */ 437 438 /* Use libnettle for crypto */ 439 /* #undef HAVE_NETTLE */ 440 441 /* Define to 1 if you have the <nettle/dsa-compat.h> header file. */ 442 /* #undef HAVE_NETTLE_DSA_COMPAT_H */ 443 444 /* Define to 1 if you have the <nettle/eddsa.h> header file. */ 445 /* #undef HAVE_NETTLE_EDDSA_H */ 446 447 /* Define to 1 if you have the <net/if.h> header file. */ 448 #define HAVE_NET_IF_H 1 449 450 /* Define to 1 if you have the <net/pfvar.h> header file. */ 451 /* #undef HAVE_NET_PFVAR_H */ 452 453 /* Define this to use nghttp2 client. */ 454 /* #undef HAVE_NGHTTP2 */ 455 456 /* Define to 1 if you have the <nghttp2/nghttp2.h> header file. */ 457 /* #undef HAVE_NGHTTP2_NGHTTP2_H */ 458 459 /* Define this to use ngtcp2. */ 460 /* #undef HAVE_NGTCP2 */ 461 462 /* Define to 1 if you have the `ngtcp2_ccerr_default' function. */ 463 /* #undef HAVE_NGTCP2_CCERR_DEFAULT */ 464 465 /* Define to 1 if you have the `ngtcp2_conn_encode_0rtt_transport_params' 466 function. */ 467 /* #undef HAVE_NGTCP2_CONN_ENCODE_0RTT_TRANSPORT_PARAMS */ 468 469 /* Define to 1 if you have the `ngtcp2_conn_get_max_local_streams_uni' 470 function. */ 471 /* #undef HAVE_NGTCP2_CONN_GET_MAX_LOCAL_STREAMS_UNI */ 472 473 /* Define to 1 if you have the `ngtcp2_conn_get_num_scid' function. */ 474 /* #undef HAVE_NGTCP2_CONN_GET_NUM_SCID */ 475 476 /* Define to 1 if you have the `ngtcp2_conn_in_closing_period' function. */ 477 /* #undef HAVE_NGTCP2_CONN_IN_CLOSING_PERIOD */ 478 479 /* Define to 1 if you have the `ngtcp2_conn_in_draining_period' function. */ 480 /* #undef HAVE_NGTCP2_CONN_IN_DRAINING_PERIOD */ 481 482 /* Define if ngtcp2_conn_shutdown_stream has 4 arguments. */ 483 /* #undef HAVE_NGTCP2_CONN_SHUTDOWN_STREAM4 */ 484 485 /* Define to 1 if you have the `ngtcp2_conn_tls_early_data_rejected' function. 486 */ 487 /* #undef HAVE_NGTCP2_CONN_TLS_EARLY_DATA_REJECTED */ 488 489 /* Define to 1 if you have the `ngtcp2_crypto_encrypt_cb' function. */ 490 /* #undef HAVE_NGTCP2_CRYPTO_ENCRYPT_CB */ 491 492 /* Define to 1 if you have the 493 `ngtcp2_crypto_quictls_configure_client_context' function. */ 494 /* #undef HAVE_NGTCP2_CRYPTO_QUICTLS_CONFIGURE_CLIENT_CONTEXT */ 495 496 /* Define to 1 if you have the 497 `ngtcp2_crypto_quictls_configure_server_context' function. */ 498 /* #undef HAVE_NGTCP2_CRYPTO_QUICTLS_CONFIGURE_SERVER_CONTEXT */ 499 500 /* Define to 1 if you have the 501 `ngtcp2_crypto_quictls_from_ossl_encryption_level' function. */ 502 /* #undef HAVE_NGTCP2_CRYPTO_QUICTLS_FROM_OSSL_ENCRYPTION_LEVEL */ 503 504 /* Define to 1 if you have the `ngtcp2_crypto_quictls_init' function. */ 505 /* #undef HAVE_NGTCP2_CRYPTO_QUICTLS_INIT */ 506 507 /* Define to 1 if the system has the type `ngtcp2_encryption_level'. */ 508 /* #undef HAVE_NGTCP2_ENCRYPTION_LEVEL */ 509 510 /* Define to 1 if you have the <ngtcp2/ngtcp2_crypto_openssl.h> header file. 511 */ 512 /* #undef HAVE_NGTCP2_NGTCP2_CRYPTO_OPENSSL_H */ 513 514 /* Define to 1 if you have the <ngtcp2/ngtcp2_crypto_ossl.h> header file. */ 515 /* #undef HAVE_NGTCP2_NGTCP2_CRYPTO_OSSL_H */ 516 517 /* Define to 1 if you have the <ngtcp2/ngtcp2_crypto_quictls.h> header file. 518 */ 519 /* #undef HAVE_NGTCP2_NGTCP2_CRYPTO_QUICTLS_H */ 520 521 /* Define to 1 if you have the <ngtcp2/ngtcp2.h> header file. */ 522 /* #undef HAVE_NGTCP2_NGTCP2_H */ 523 524 /* Use libnss for crypto */ 525 /* #undef HAVE_NSS */ 526 527 /* Define to 1 if you have the `OpenSSL_add_all_digests' function. */ 528 /* #undef HAVE_OPENSSL_ADD_ALL_DIGESTS */ 529 530 /* Define to 1 if you have the <openssl/bn.h> header file. */ 531 #define HAVE_OPENSSL_BN_H 1 532 533 /* Define to 1 if you have the `OPENSSL_cleanup' function. */ 534 #define HAVE_OPENSSL_CLEANUP 1 535 536 /* Define to 1 if you have the `OPENSSL_config' function. */ 537 #define HAVE_OPENSSL_CONFIG 1 538 539 /* Define to 1 if you have the <openssl/conf.h> header file. */ 540 #define HAVE_OPENSSL_CONF_H 1 541 542 /* Define to 1 if you have the <openssl/core_names.h> header file. */ 543 #define HAVE_OPENSSL_CORE_NAMES_H 1 544 545 /* Define to 1 if you have the <openssl/dh.h> header file. */ 546 #define HAVE_OPENSSL_DH_H 1 547 548 /* Define to 1 if you have the <openssl/dsa.h> header file. */ 549 #define HAVE_OPENSSL_DSA_H 1 550 551 /* Define to 1 if you have the <openssl/engine.h> header file. */ 552 #define HAVE_OPENSSL_ENGINE_H 1 553 554 /* Define to 1 if you have the <openssl/err.h> header file. */ 555 #define HAVE_OPENSSL_ERR_H 1 556 557 /* Define to 1 if you have the `OPENSSL_init_crypto' function. */ 558 #define HAVE_OPENSSL_INIT_CRYPTO 1 559 560 /* Define to 1 if you have the `OPENSSL_init_ssl' function. */ 561 #define HAVE_OPENSSL_INIT_SSL 1 562 563 /* Define to 1 if you have the <openssl/param_build.h> header file. */ 564 #define HAVE_OPENSSL_PARAM_BUILD_H 1 565 566 /* Define to 1 if you have the <openssl/rand.h> header file. */ 567 #define HAVE_OPENSSL_RAND_H 1 568 569 /* Define to 1 if you have the <openssl/rsa.h> header file. */ 570 #define HAVE_OPENSSL_RSA_H 1 571 572 /* Define to 1 if you have the <openssl/ssl.h> header file. */ 573 #define HAVE_OPENSSL_SSL_H 1 574 575 /* Define to 1 if you have the `OSSL_PARAM_BLD_new' function. */ 576 #define HAVE_OSSL_PARAM_BLD_NEW 1 577 578 /* Define to 1 if you have the `poll' function. */ 579 #define HAVE_POLL 1 580 581 /* Define to 1 if you have the <poll.h> header file. */ 582 #define HAVE_POLL_H 1 583 584 /* Define if you have POSIX threads libraries and header files. */ 585 #define HAVE_PTHREAD 1 586 587 /* Define to 1 if you have the <pthread_np.h> header file. */ 588 #define HAVE_PTHREAD_NP_H 1 589 590 /* Have PTHREAD_PRIO_INHERIT. */ 591 #define HAVE_PTHREAD_PRIO_INHERIT 1 592 593 /* Define to 1 if the system has the type `pthread_rwlock_t'. */ 594 #define HAVE_PTHREAD_RWLOCK_T 1 595 596 /* Define if pthread_setname_np has the common 2 arguments. */ 597 #define HAVE_PTHREAD_SETNAME_NP 1 598 599 /* Define if pthread_setname_np has only 1 argument. */ 600 /* #undef HAVE_PTHREAD_SETNAME_NP1 */ 601 602 /* Define if pthread_setname_np has 3 arguments. */ 603 /* #undef HAVE_PTHREAD_SETNAME_NP3 */ 604 605 /* Define if pthread_setname_np exists as pthread_set_name_np instead. */ 606 #define HAVE_PTHREAD_SET_NAME_NP 1 607 608 /* Define to 1 if the system has the type `pthread_spinlock_t'. */ 609 #define HAVE_PTHREAD_SPINLOCK_T 1 610 611 /* Define to 1 if you have the <pwd.h> header file. */ 612 #define HAVE_PWD_H 1 613 614 /* Define if you have Python libraries and header files. */ 615 /* #undef HAVE_PYTHON */ 616 617 /* Define to 1 if you have the `random' function. */ 618 #define HAVE_RANDOM 1 619 620 /* Define to 1 if you have the `RAND_cleanup' function. */ 621 /* #undef HAVE_RAND_CLEANUP */ 622 623 /* If we have reallocarray(3) */ 624 #define HAVE_REALLOCARRAY 1 625 626 /* Define to 1 if you have the `recvmsg' function. */ 627 #define HAVE_RECVMSG 1 628 629 /* Define to 1 if you have the `sendmsg' function. */ 630 #define HAVE_SENDMSG 1 631 632 /* Define to 1 if you have the `setregid' function. */ 633 /* #undef HAVE_SETREGID */ 634 635 /* Define to 1 if you have the `setresgid' function. */ 636 #define HAVE_SETRESGID 1 637 638 /* Define to 1 if you have the `setresuid' function. */ 639 #define HAVE_SETRESUID 1 640 641 /* Define to 1 if you have the `setreuid' function. */ 642 /* #undef HAVE_SETREUID */ 643 644 /* Define to 1 if you have the `setrlimit' function. */ 645 #define HAVE_SETRLIMIT 1 646 647 /* Define to 1 if you have the `setsid' function. */ 648 #define HAVE_SETSID 1 649 650 /* Define to 1 if you have the `setusercontext' function. */ 651 #define HAVE_SETUSERCONTEXT 1 652 653 /* Define to 1 if you have the `SHA512_Update' function. */ 654 /* #undef HAVE_SHA512_UPDATE */ 655 656 /* Define to 1 if you have the `shmget' function. */ 657 #define HAVE_SHMGET 1 658 659 /* Define to 1 if you have the `sigprocmask' function. */ 660 #define HAVE_SIGPROCMASK 1 661 662 /* Define to 1 if you have the `sleep' function. */ 663 #define HAVE_SLEEP 1 664 665 /* Define to 1 if you have the `snprintf' function. */ 666 #define HAVE_SNPRINTF 1 667 668 /* Define to 1 if you have the `socketpair' function. */ 669 #define HAVE_SOCKETPAIR 1 670 671 /* Using Solaris threads */ 672 /* #undef HAVE_SOLARIS_THREADS */ 673 674 /* Define to 1 if you have the `srandom' function. */ 675 #define HAVE_SRANDOM 1 676 677 /* Define if you have the SSL libraries installed. */ 678 #define HAVE_SSL /**/ 679 680 /* Define to 1 if you have the `SSL_CTX_set_alpn_protos' function. */ 681 #define HAVE_SSL_CTX_SET_ALPN_PROTOS 1 682 683 /* Define to 1 if you have the `SSL_CTX_set_alpn_select_cb' function. */ 684 #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1 685 686 /* Define to 1 if you have the `SSL_CTX_set_ciphersuites' function. */ 687 #define HAVE_SSL_CTX_SET_CIPHERSUITES 1 688 689 /* Define to 1 if you have the `SSL_CTX_set_security_level' function. */ 690 #define HAVE_SSL_CTX_SET_SECURITY_LEVEL 1 691 692 /* Define to 1 if you have the `SSL_CTX_set_tlsext_ticket_key_evp_cb' 693 function. */ 694 #define HAVE_SSL_CTX_SET_TLSEXT_TICKET_KEY_EVP_CB 1 695 696 /* Define to 1 if you have the `SSL_get0_alpn_selected' function. */ 697 #define HAVE_SSL_GET0_ALPN_SELECTED 1 698 699 /* Define to 1 if you have the `SSL_get0_peername' function. */ 700 #define HAVE_SSL_GET0_PEERNAME 1 701 702 /* Define to 1 if you have the `SSL_get1_peer_certificate' function. */ 703 #define HAVE_SSL_GET1_PEER_CERTIFICATE 1 704 705 /* Define to 1 if you have the `SSL_is_quic' function. */ 706 /* #undef HAVE_SSL_IS_QUIC */ 707 708 /* Define to 1 if you have the `SSL_set1_dnsname' function. */ 709 /* #undef HAVE_SSL_SET1_DNSNAME */ 710 711 /* Define to 1 if you have the `SSL_set1_host' function. */ 712 #define HAVE_SSL_SET1_HOST 1 713 714 /* Define to 1 if you have the `SSL_set_quic_tls_early_data_enabled' function. 715 */ 716 /* #undef HAVE_SSL_SET_QUIC_TLS_EARLY_DATA_ENABLED */ 717 718 /* Define to 1 if you have the <stdarg.h> header file. */ 719 #define HAVE_STDARG_H 1 720 721 /* Define to 1 if you have the <stdatomic.h> header file. */ 722 #define HAVE_STDATOMIC_H 1 723 724 /* Define to 1 if you have the <stdbool.h> header file. */ 725 #define HAVE_STDBOOL_H 1 726 727 /* Define to 1 if you have the <stdint.h> header file. */ 728 #define HAVE_STDINT_H 1 729 730 /* Define to 1 if you have the <stdio.h> header file. */ 731 #define HAVE_STDIO_H 1 732 733 /* Define to 1 if you have the <stdlib.h> header file. */ 734 #define HAVE_STDLIB_H 1 735 736 /* Define to 1 if you have the `strftime' function. */ 737 #define HAVE_STRFTIME 1 738 739 /* Define to 1 if you have the <strings.h> header file. */ 740 #define HAVE_STRINGS_H 1 741 742 /* Define to 1 if you have the <string.h> header file. */ 743 #define HAVE_STRING_H 1 744 745 /* Define to 1 if you have the `strlcat' function. */ 746 #define HAVE_STRLCAT 1 747 748 /* Define to 1 if you have the `strlcpy' function. */ 749 #define HAVE_STRLCPY 1 750 751 /* Define to 1 if you have the `strptime' function. */ 752 #define HAVE_STRPTIME 1 753 754 /* Define to 1 if you have the `strsep' function. */ 755 #define HAVE_STRSEP 1 756 757 /* Define to 1 if `ipi_spec_dst' is a member of `struct in_pktinfo'. */ 758 /* #undef HAVE_STRUCT_IN_PKTINFO_IPI_SPEC_DST */ 759 760 /* Define to 1 if `tokenlen' is a member of `struct ngtcp2_pkt_hd'. */ 761 /* #undef HAVE_STRUCT_NGTCP2_PKT_HD_TOKENLEN */ 762 763 /* Define to 1 if `max_tx_udp_payload_size' is a member of `struct 764 ngtcp2_settings'. */ 765 /* #undef HAVE_STRUCT_NGTCP2_SETTINGS_MAX_TX_UDP_PAYLOAD_SIZE */ 766 767 /* Define to 1 if `tokenlen' is a member of `struct ngtcp2_settings'. */ 768 /* #undef HAVE_STRUCT_NGTCP2_SETTINGS_TOKENLEN */ 769 770 /* Define to 1 if `original_dcid_present' is a member of `struct 771 ngtcp2_transport_params'. */ 772 /* #undef HAVE_STRUCT_NGTCP2_TRANSPORT_PARAMS_ORIGINAL_DCID_PRESENT */ 773 774 /* Define to 1 if the system has the type `struct ngtcp2_version_cid'. */ 775 /* #undef HAVE_STRUCT_NGTCP2_VERSION_CID */ 776 777 /* Define to 1 if `sun_len' is a member of `struct sockaddr_un'. */ 778 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1 779 780 /* Define to 1 if `st_mtimensec' is a member of `struct stat'. */ 781 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 782 783 /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ 784 #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 785 786 /* Define if you have Swig libraries and header files. */ 787 /* #undef HAVE_SWIG */ 788 789 /* Define to 1 if you have the <syslog.h> header file. */ 790 #define HAVE_SYSLOG_H 1 791 792 /* Define to 1 if systemd should be used */ 793 /* #undef HAVE_SYSTEMD */ 794 795 /* Define to 1 if you have the <sys/endian.h> header file. */ 796 #define HAVE_SYS_ENDIAN_H 1 797 798 /* Define to 1 if you have the <sys/ipc.h> header file. */ 799 #define HAVE_SYS_IPC_H 1 800 801 /* Define to 1 if you have the <sys/param.h> header file. */ 802 #define HAVE_SYS_PARAM_H 1 803 804 /* Define to 1 if you have the <sys/resource.h> header file. */ 805 #define HAVE_SYS_RESOURCE_H 1 806 807 /* Define to 1 if you have the <sys/select.h> header file. */ 808 #define HAVE_SYS_SELECT_H 1 809 810 /* Define to 1 if you have the <sys/sha2.h> header file. */ 811 /* #undef HAVE_SYS_SHA2_H */ 812 813 /* Define to 1 if you have the <sys/shm.h> header file. */ 814 #define HAVE_SYS_SHM_H 1 815 816 /* Define to 1 if you have the <sys/socket.h> header file. */ 817 #define HAVE_SYS_SOCKET_H 1 818 819 /* Define to 1 if you have the <sys/stat.h> header file. */ 820 #define HAVE_SYS_STAT_H 1 821 822 /* Define to 1 if you have the <sys/sysctl.h> header file. */ 823 /* #undef HAVE_SYS_SYSCTL_H */ 824 825 /* Define to 1 if you have the <sys/types.h> header file. */ 826 #define HAVE_SYS_TYPES_H 1 827 828 /* Define to 1 if you have the <sys/uio.h> header file. */ 829 #define HAVE_SYS_UIO_H 1 830 831 /* Define to 1 if you have the <sys/un.h> header file. */ 832 #define HAVE_SYS_UN_H 1 833 834 /* Define to 1 if you have the <sys/wait.h> header file. */ 835 #define HAVE_SYS_WAIT_H 1 836 837 /* Define to 1 if you have the <TargetConditionals.h> header file. */ 838 /* #undef HAVE_TARGETCONDITIONALS_H */ 839 840 /* Define to 1 if you have the <time.h> header file. */ 841 #define HAVE_TIME_H 1 842 843 /* Define to 1 if you have the `tzset' function. */ 844 #define HAVE_TZSET 1 845 846 /* Define to 1 if you have the <unistd.h> header file. */ 847 #define HAVE_UNISTD_H 1 848 849 /* Define to 1 if you have the `usleep' function. */ 850 #define HAVE_USLEEP 1 851 852 /* Define to 1 if you have the `vfork' function. */ 853 #define HAVE_VFORK 1 854 855 /* Define to 1 if you have the <vfork.h> header file. */ 856 /* #undef HAVE_VFORK_H */ 857 858 /* Define to 1 if you have the <wchar.h> header file. */ 859 #define HAVE_WCHAR_H 1 860 861 /* Define to 1 if you have the <windows.h> header file. */ 862 /* #undef HAVE_WINDOWS_H */ 863 864 /* Using Windows threads */ 865 /* #undef HAVE_WINDOWS_THREADS */ 866 867 /* Define to 1 if you have the <winsock2.h> header file. */ 868 /* #undef HAVE_WINSOCK2_H */ 869 870 /* Define to 1 if `fork' works. */ 871 #define HAVE_WORKING_FORK 1 872 873 /* Define to 1 if `vfork' works. */ 874 #define HAVE_WORKING_VFORK 1 875 876 /* Define to 1 if you have the `writev' function. */ 877 #define HAVE_WRITEV 1 878 879 /* Define to 1 if you have the <ws2tcpip.h> header file. */ 880 /* #undef HAVE_WS2TCPIP_H */ 881 882 /* Define to 1 if you have the `X509_get_key_usage' function. */ 883 #define HAVE_X509_GET_KEY_USAGE 1 884 885 /* Define to 1 if you have the `X509_NAME_get_text_by_NID' function. */ 886 #define HAVE_X509_NAME_GET_TEXT_BY_NID 1 887 888 /* Define to 1 if you have the `X509_VERIFY_PARAM_set1_host' function. */ 889 #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1 890 891 /* Define to 1 if you have the `_beginthreadex' function. */ 892 /* #undef HAVE__BEGINTHREADEX */ 893 894 /* If HMAC_Init_ex() returns void */ 895 /* #undef HMAC_INIT_EX_RETURNS_VOID */ 896 897 /* if lex has yylex_destroy */ 898 #define LEX_HAS_YYLEX_DESTROY 1 899 900 /* Define to the sub-directory where libtool stores uninstalled libraries. */ 901 #define LT_OBJDIR ".libs/" 902 903 /* Define to the maximum message length to pass to syslog. */ 904 #define MAXSYSLOGMSGLEN 10240 905 906 /* Define if memcmp() does not compare unsigned bytes */ 907 /* #undef MEMCMP_IS_BROKEN */ 908 909 /* Define if mkdir has one argument. */ 910 /* #undef MKDIR_HAS_ONE_ARG */ 911 912 /* Define if the network stack does not fully support nonblocking io (causes 913 lower performance). */ 914 /* #undef NONBLOCKING_IS_BROKEN */ 915 916 /* Put -D_ALL_SOURCE define in config.h */ 917 /* #undef OMITTED__D_ALL_SOURCE */ 918 919 /* Put -D_BSD_SOURCE define in config.h */ 920 /* #undef OMITTED__D_BSD_SOURCE */ 921 922 /* Put -D_DEFAULT_SOURCE define in config.h */ 923 /* #undef OMITTED__D_DEFAULT_SOURCE */ 924 925 /* Put -D_GNU_SOURCE define in config.h */ 926 /* #undef OMITTED__D_GNU_SOURCE */ 927 928 /* Put -D_LARGEFILE_SOURCE=1 define in config.h */ 929 /* #undef OMITTED__D_LARGEFILE_SOURCE_1 */ 930 931 /* Put -D_POSIX_C_SOURCE=200112 define in config.h */ 932 /* #undef OMITTED__D_POSIX_C_SOURCE_200112 */ 933 934 /* Put -D_XOPEN_SOURCE=600 define in config.h */ 935 /* #undef OMITTED__D_XOPEN_SOURCE_600 */ 936 937 /* Put -D_XOPEN_SOURCE_EXTENDED=1 define in config.h */ 938 /* #undef OMITTED__D_XOPEN_SOURCE_EXTENDED_1 */ 939 940 /* Put -D__EXTENSIONS__ define in config.h */ 941 /* #undef OMITTED__D__EXTENSIONS__ */ 942 943 /* Define to the address where bug reports for this package should be sent. */ 944 #define PACKAGE_BUGREPORT "unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues" 945 946 /* Define to the full name of this package. */ 947 #define PACKAGE_NAME "unbound" 948 949 /* Define to the full name and version of this package. */ 950 #define PACKAGE_STRING "unbound 1.26.1" 951 952 /* Define to the one symbol short name of this package. */ 953 #define PACKAGE_TARNAME "unbound" 954 955 /* Define to the home page for this package. */ 956 #define PACKAGE_URL "" 957 958 /* Define to the version of this package. */ 959 #define PACKAGE_VERSION "1.26.1" 960 961 /* default pidfile location */ 962 #define PIDFILE "/var/unbound/unbound.pid" 963 964 /* Define to necessary symbol if this constant uses a non-standard name on 965 your system. */ 966 /* #undef PTHREAD_CREATE_JOINABLE */ 967 968 /* Return type of signal handlers, but autoconf 2.70 says 'your code may 969 safely assume C89 semantics that RETSIGTYPE is void.' */ 970 #define RETSIGTYPE void 971 972 /* if REUSEPORT is enabled by default */ 973 #define REUSEPORT_DEFAULT 0 974 975 /* default rootkey location */ 976 #define ROOT_ANCHOR_FILE "/var/unbound/root.key" 977 978 /* default rootcert location */ 979 #define ROOT_CERT_FILE "/var/unbound/icannbundle.pem" 980 981 /* version number for resource files */ 982 #define RSRC_PACKAGE_VERSION 1,26,1,0 983 984 /* Directory to chdir to */ 985 #define RUN_DIR "/var/unbound" 986 987 /* Shared data */ 988 #define SHARE_DIR "/var/unbound" 989 990 /* The size of `pthread_t', as computed by sizeof. */ 991 #define SIZEOF_PTHREAD_T 8 992 993 /* The size of `size_t', as computed by sizeof. */ 994 #define SIZEOF_SIZE_T 8 995 996 /* The size of `time_t', as computed by sizeof. */ 997 #define SIZEOF_TIME_T 8 998 999 /* The size of `unsigned long', as computed by sizeof. */ 1000 #define SIZEOF_UNSIGNED_LONG 8 1001 1002 /* define if (v)snprintf does not return length needed, (but length used) */ 1003 /* #undef SNPRINTF_RET_BROKEN */ 1004 1005 /* Define to 1 if libsodium supports sodium_set_misuse_handler */ 1006 /* #undef SODIUM_MISUSE_HANDLER */ 1007 1008 /* Define to 1 if all of the C90 standard headers exist (not just the ones 1009 required in a freestanding environment). This macro is provided for 1010 backward compatibility; new code need not use it. */ 1011 #define STDC_HEADERS 1 1012 1013 /* use default strptime. */ 1014 #define STRPTIME_WORKS 1 1015 1016 /* Use win32 resources and API */ 1017 /* #undef UB_ON_WINDOWS */ 1018 1019 /* the SYSLOG_FACILITY to use, default LOG_DAEMON */ 1020 #define UB_SYSLOG_FACILITY LOG_DAEMON 1021 1022 /* default username */ 1023 #define UB_USERNAME "unbound" 1024 1025 /* use to enable lightweight alloc assertions, for debug use */ 1026 /* #undef UNBOUND_ALLOC_LITE */ 1027 1028 /* use malloc not regions, for debug use */ 1029 /* #undef UNBOUND_ALLOC_NONREGIONAL */ 1030 1031 /* use statistics for allocs and frees, for debug use */ 1032 /* #undef UNBOUND_ALLOC_STATS */ 1033 1034 /* define this to enable debug checks. */ 1035 /* #undef UNBOUND_DEBUG */ 1036 1037 /* Define to 1 to use cachedb support */ 1038 /* #undef USE_CACHEDB */ 1039 1040 /* Define to 1 to enable dnscrypt support */ 1041 /* #undef USE_DNSCRYPT */ 1042 1043 /* Define to 1 to enable dnscrypt with xchacha20 support */ 1044 /* #undef USE_DNSCRYPT_XCHACHA20 */ 1045 1046 /* Define to 1 to enable dnstap support */ 1047 /* #undef USE_DNSTAP */ 1048 1049 /* Define this to enable DSA support. */ 1050 /* #undef USE_DSA */ 1051 1052 /* Define this to enable ECDSA support. */ 1053 #define USE_ECDSA 1 1054 1055 /* Define this to enable an EVP workaround for older openssl */ 1056 /* #undef USE_ECDSA_EVP_WORKAROUND */ 1057 1058 /* Define this to enable ED25519 support. */ 1059 #define USE_ED25519 1 1060 1061 /* Define this to enable ED448 support. */ 1062 #define USE_ED448 1 1063 1064 /* Define this to enable GOST support. */ 1065 /* #undef USE_GOST */ 1066 1067 /* Define to 1 to use ipsecmod support. */ 1068 /* #undef USE_IPSECMOD */ 1069 1070 /* Define to 1 to use ipset support */ 1071 /* #undef USE_IPSET */ 1072 1073 /* Define if you enable libevent */ 1074 /* #undef USE_LIBEVENT */ 1075 1076 /* Define this to enable use of /proc/sys/net/ipv4/ip_local_port_range as a 1077 default outgoing port range. This is only for the libunbound on Linux and 1078 does not affect unbound resolving daemon itself. This may severely limit 1079 the number of available outgoing ports and thus decrease randomness. Define 1080 this only when the target system restricts (e.g. some of SELinux enabled 1081 distributions) the use of non-ephemeral ports. */ 1082 /* #undef USE_LINUX_IP_LOCAL_PORT_RANGE */ 1083 1084 /* Define if you want to use internal select based events */ 1085 #define USE_MINI_EVENT 1 1086 1087 /* Define this to enable client TCP Fast Open. */ 1088 /* #undef USE_MSG_FASTOPEN */ 1089 1090 /* Define this to use ngtcp2_crypto_ossl. */ 1091 /* #undef USE_NGTCP2_CRYPTO_OSSL */ 1092 1093 /* Define this to enable client TCP Fast Open. */ 1094 /* #undef USE_OSX_MSG_FASTOPEN */ 1095 1096 /* Define this to use hiredis client. */ 1097 /* #undef USE_REDIS */ 1098 1099 /* Define this to enable SHA1 support. */ 1100 #define USE_SHA1 1 1101 1102 /* Define this to enable SHA256 and SHA512 support. */ 1103 #define USE_SHA2 1 1104 1105 /* Enable extensions on AIX 3, Interix. */ 1106 #ifndef _ALL_SOURCE 1107 # define _ALL_SOURCE 1 1108 #endif 1109 /* Enable general extensions on macOS. */ 1110 #ifndef _DARWIN_C_SOURCE 1111 # define _DARWIN_C_SOURCE 1 1112 #endif 1113 /* Enable general extensions on Solaris. */ 1114 #ifndef __EXTENSIONS__ 1115 # define __EXTENSIONS__ 1 1116 #endif 1117 /* Enable GNU extensions on systems that have them. */ 1118 #ifndef _GNU_SOURCE 1119 # define _GNU_SOURCE 1 1120 #endif 1121 /* Enable X/Open compliant socket functions that do not require linking 1122 with -lxnet on HP-UX 11.11. */ 1123 #ifndef _HPUX_ALT_XOPEN_SOCKET_API 1124 # define _HPUX_ALT_XOPEN_SOCKET_API 1 1125 #endif 1126 /* Identify the host operating system as Minix. 1127 This macro does not affect the system headers' behavior. 1128 A future release of Autoconf may stop defining this macro. */ 1129 #ifndef _MINIX 1130 /* # undef _MINIX */ 1131 #endif 1132 /* Enable general extensions on NetBSD. 1133 Enable NetBSD compatibility extensions on Minix. */ 1134 #ifndef _NETBSD_SOURCE 1135 # define _NETBSD_SOURCE 1 1136 #endif 1137 /* Enable OpenBSD compatibility extensions on NetBSD. 1138 Oddly enough, this does nothing on OpenBSD. */ 1139 #ifndef _OPENBSD_SOURCE 1140 # define _OPENBSD_SOURCE 1 1141 #endif 1142 /* Define to 1 if needed for POSIX-compatible behavior. */ 1143 #ifndef _POSIX_SOURCE 1144 /* # undef _POSIX_SOURCE */ 1145 #endif 1146 /* Define to 2 if needed for POSIX-compatible behavior. */ 1147 #ifndef _POSIX_1_SOURCE 1148 /* # undef _POSIX_1_SOURCE */ 1149 #endif 1150 /* Enable POSIX-compatible threading on Solaris. */ 1151 #ifndef _POSIX_PTHREAD_SEMANTICS 1152 # define _POSIX_PTHREAD_SEMANTICS 1 1153 #endif 1154 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 1155 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1156 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 1157 #endif 1158 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 1159 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 1160 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 1161 #endif 1162 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 1163 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 1164 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 1165 #endif 1166 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 1167 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 1168 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 1169 #endif 1170 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 1171 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 1172 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 1173 #endif 1174 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 1175 #ifndef __STDC_WANT_LIB_EXT2__ 1176 # define __STDC_WANT_LIB_EXT2__ 1 1177 #endif 1178 /* Enable extensions specified by ISO/IEC 24747:2009. */ 1179 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 1180 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 1181 #endif 1182 /* Enable extensions on HP NonStop. */ 1183 #ifndef _TANDEM_SOURCE 1184 # define _TANDEM_SOURCE 1 1185 #endif 1186 /* Enable X/Open extensions. Define to 500 only if necessary 1187 to make mbstate_t available. */ 1188 #ifndef _XOPEN_SOURCE 1189 /* # undef _XOPEN_SOURCE */ 1190 #endif 1191 1192 1193 /* Define this to enable server TCP Fast Open. */ 1194 /* #undef USE_TCP_FASTOPEN */ 1195 1196 /* Whether the windows socket API is used */ 1197 /* #undef USE_WINSOCK */ 1198 1199 /* the version of the windows API enabled */ 1200 #define WINVER 0x0502 1201 1202 /* Define if you want dynlib module. */ 1203 /* #undef WITH_DYNLIBMODULE */ 1204 1205 /* Define if you want Python module. */ 1206 /* #undef WITH_PYTHONMODULE */ 1207 1208 /* Define if you want PyUnbound. */ 1209 /* #undef WITH_PYUNBOUND */ 1210 1211 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 1212 `char[]'. */ 1213 #define YYTEXT_POINTER 1 1214 1215 /* Number of bits in a file offset, on hosts where this is settable. */ 1216 /* #undef _FILE_OFFSET_BITS */ 1217 1218 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 1219 /* #undef _LARGEFILE_SOURCE */ 1220 1221 /* Define for large files, on AIX-style hosts. */ 1222 /* #undef _LARGE_FILES */ 1223 1224 /* Enable for compile on Minix */ 1225 #define _NETBSD_SOURCE 1 1226 1227 /* defined to use gcc ansi snprintf and sscanf that understands %lld when 1228 compiled for windows. */ 1229 /* #undef __USE_MINGW_ANSI_STDIO */ 1230 1231 /* Define to empty if `const' does not conform to ANSI C. */ 1232 /* #undef const */ 1233 1234 /* Define to `int' if <sys/types.h> doesn't define. */ 1235 /* #undef gid_t */ 1236 1237 /* in_addr_t */ 1238 /* #undef in_addr_t */ 1239 1240 /* in_port_t */ 1241 /* #undef in_port_t */ 1242 1243 /* Define to `__inline__' or `__inline' if that's what the C compiler 1244 calls it, or to nothing if 'inline' is not supported under any name. */ 1245 #ifndef __cplusplus 1246 /* #undef inline */ 1247 #endif 1248 1249 /* Define to `short' if <sys/types.h> does not define. */ 1250 /* #undef int16_t */ 1251 1252 /* Define to `int' if <sys/types.h> does not define. */ 1253 /* #undef int32_t */ 1254 1255 /* Define to `long long' if <sys/types.h> does not define. */ 1256 /* #undef int64_t */ 1257 1258 /* Define to `signed char' if <sys/types.h> does not define. */ 1259 /* #undef int8_t */ 1260 1261 /* Define if replacement function should be used. */ 1262 /* #undef malloc */ 1263 1264 /* Define to `long int' if <sys/types.h> does not define. */ 1265 /* #undef off_t */ 1266 1267 /* Define as a signed integer type capable of holding a process identifier. */ 1268 /* #undef pid_t */ 1269 1270 /* Define to 'int' if not defined */ 1271 /* #undef rlim_t */ 1272 1273 /* Define to `unsigned int' if <sys/types.h> does not define. */ 1274 /* #undef size_t */ 1275 1276 /* Define to 'int' if not defined */ 1277 /* #undef socklen_t */ 1278 1279 /* Define to `int' if <sys/types.h> does not define. */ 1280 /* #undef ssize_t */ 1281 1282 /* Define to 'unsigned char if not defined */ 1283 /* #undef u_char */ 1284 1285 /* Define to `int' if <sys/types.h> doesn't define. */ 1286 /* #undef uid_t */ 1287 1288 /* Define to `unsigned short' if <sys/types.h> does not define. */ 1289 /* #undef uint16_t */ 1290 1291 /* Define to `unsigned int' if <sys/types.h> does not define. */ 1292 /* #undef uint32_t */ 1293 1294 /* Define to `unsigned long long' if <sys/types.h> does not define. */ 1295 /* #undef uint64_t */ 1296 1297 /* Define to `unsigned char' if <sys/types.h> does not define. */ 1298 /* #undef uint8_t */ 1299 1300 /* Define as `fork' if `vfork' does not work. */ 1301 /* #undef vfork */ 1302 1303 #if defined(OMITTED__D_GNU_SOURCE) && !defined(_GNU_SOURCE) 1304 #define _GNU_SOURCE 1 1305 #endif 1306 1307 #if defined(OMITTED__D_BSD_SOURCE) && !defined(_BSD_SOURCE) 1308 #define _BSD_SOURCE 1 1309 #endif 1310 1311 #if defined(OMITTED__D_DEFAULT_SOURCE) && !defined(_DEFAULT_SOURCE) 1312 #define _DEFAULT_SOURCE 1 1313 #endif 1314 1315 #if defined(OMITTED__D__EXTENSIONS__) && !defined(__EXTENSIONS__) 1316 #define __EXTENSIONS__ 1 1317 #endif 1318 1319 #if defined(OMITTED__D_POSIX_C_SOURCE_200112) && !defined(_POSIX_C_SOURCE) 1320 #define _POSIX_C_SOURCE 200112 1321 #endif 1322 1323 #if defined(OMITTED__D_XOPEN_SOURCE_600) && !defined(_XOPEN_SOURCE) 1324 #define _XOPEN_SOURCE 600 1325 #endif 1326 1327 #if defined(OMITTED__D_XOPEN_SOURCE_EXTENDED_1) && !defined(_XOPEN_SOURCE_EXTENDED) 1328 #define _XOPEN_SOURCE_EXTENDED 1 1329 #endif 1330 1331 #if defined(OMITTED__D_ALL_SOURCE) && !defined(_ALL_SOURCE) 1332 #define _ALL_SOURCE 1 1333 #endif 1334 1335 #if defined(OMITTED__D_LARGEFILE_SOURCE_1) && !defined(_LARGEFILE_SOURCE) 1336 #define _LARGEFILE_SOURCE 1 1337 #endif 1338 1339 1340 1341 1342 #ifndef _OPENBSD_SOURCE 1343 #define _OPENBSD_SOURCE 1 1344 #endif 1345 1346 #ifndef UNBOUND_DEBUG 1347 # ifndef NDEBUG 1348 # define NDEBUG 1349 # endif 1350 #endif 1351 1352 /** Use small-ldns codebase */ 1353 #define USE_SLDNS 1 1354 #ifdef HAVE_SSL 1355 # define LDNS_BUILD_CONFIG_HAVE_SSL 1 1356 #endif 1357 1358 #include <stdio.h> 1359 #include <string.h> 1360 #include <unistd.h> 1361 #include <assert.h> 1362 1363 #if STDC_HEADERS 1364 #include <stdlib.h> 1365 #include <stddef.h> 1366 #endif 1367 1368 #ifdef HAVE_STDARG_H 1369 #include <stdarg.h> 1370 #endif 1371 1372 #ifdef HAVE_STDINT_H 1373 #include <stdint.h> 1374 #endif 1375 1376 #include <errno.h> 1377 1378 #if HAVE_SYS_PARAM_H 1379 #include <sys/param.h> 1380 #endif 1381 1382 #ifdef HAVE_SYS_SOCKET_H 1383 #include <sys/socket.h> 1384 #endif 1385 1386 #ifdef HAVE_SYS_UIO_H 1387 #include <sys/uio.h> 1388 #endif 1389 1390 #ifdef HAVE_NETINET_IN_H 1391 #include <netinet/in.h> 1392 #endif 1393 1394 #ifdef HAVE_NETINET_TCP_H 1395 #include <netinet/tcp.h> 1396 #endif 1397 1398 #ifdef HAVE_ARPA_INET_H 1399 #include <arpa/inet.h> 1400 #endif 1401 1402 #ifdef HAVE_WINSOCK2_H 1403 #include <winsock2.h> 1404 #endif 1405 1406 #ifdef HAVE_WS2TCPIP_H 1407 #include <ws2tcpip.h> 1408 #endif 1409 1410 #if !defined(USE_WINSOCK) || !defined(HAVE_SNPRINTF) || defined(SNPRINTF_RET_BROKEN) || defined(__USE_MINGW_ANSI_STDIO) 1411 #define ARG_LL "%ll" 1412 #else 1413 #define ARG_LL "%I64" 1414 #endif 1415 1416 #ifndef AF_LOCAL 1417 #define AF_LOCAL AF_UNIX 1418 #endif 1419 1420 1421 1422 #ifdef HAVE_ATTR_FORMAT 1423 # define ATTR_FORMAT(archetype, string_index, first_to_check) \ 1424 __attribute__ ((format (archetype, string_index, first_to_check))) 1425 #else /* !HAVE_ATTR_FORMAT */ 1426 # define ATTR_FORMAT(archetype, string_index, first_to_check) /* empty */ 1427 #endif /* !HAVE_ATTR_FORMAT */ 1428 1429 1430 #if defined(DOXYGEN) 1431 # define ATTR_UNUSED(x) x 1432 #elif defined(__cplusplus) 1433 # define ATTR_UNUSED(x) 1434 #elif defined(HAVE_ATTR_UNUSED) 1435 # define ATTR_UNUSED(x) x __attribute__((unused)) 1436 #else /* !HAVE_ATTR_UNUSED */ 1437 # define ATTR_UNUSED(x) x 1438 #endif /* !HAVE_ATTR_UNUSED */ 1439 1440 1441 #if defined(DOXYGEN) 1442 # define ATTR_NONSTRING(x) x 1443 #elif defined(__cplusplus) 1444 # define ATTR_NONSTRING(x) __attribute__((nonstring)) x 1445 #elif defined(HAVE_ATTR_NONSTRING) 1446 # define ATTR_NONSTRING(x) __attribute__((nonstring)) x 1447 #else /* !HAVE_ATTR_NONSTRING */ 1448 # define ATTR_NONSTRING(x) x 1449 #endif /* !HAVE_ATTR_NONSTRING */ 1450 1451 1452 #ifndef HAVE_FSEEKO 1453 #define fseeko fseek 1454 #define ftello ftell 1455 #endif /* HAVE_FSEEKO */ 1456 1457 1458 #ifndef MAXHOSTNAMELEN 1459 #define MAXHOSTNAMELEN 256 1460 #endif 1461 1462 #if !defined(HAVE_SNPRINTF) || defined(SNPRINTF_RET_BROKEN) 1463 #define snprintf snprintf_unbound 1464 #define vsnprintf vsnprintf_unbound 1465 #include <stdarg.h> 1466 int snprintf (char *str, size_t count, const char *fmt, ...); 1467 int vsnprintf (char *str, size_t count, const char *fmt, va_list arg); 1468 #endif /* HAVE_SNPRINTF or SNPRINTF_RET_BROKEN */ 1469 1470 #ifndef HAVE_INET_PTON 1471 #define inet_pton inet_pton_unbound 1472 int inet_pton(int af, const char* src, void* dst); 1473 #endif /* HAVE_INET_PTON */ 1474 1475 1476 #ifndef HAVE_INET_NTOP 1477 #define inet_ntop inet_ntop_unbound 1478 const char *inet_ntop(int af, const void *src, char *dst, size_t size); 1479 #endif 1480 1481 1482 #ifndef HAVE_INET_ATON 1483 #define inet_aton inet_aton_unbound 1484 int inet_aton(const char *cp, struct in_addr *addr); 1485 #endif 1486 1487 1488 #ifndef HAVE_MEMMOVE 1489 #define memmove memmove_unbound 1490 void *memmove(void *dest, const void *src, size_t n); 1491 #endif 1492 1493 1494 #ifndef HAVE_STRLCAT 1495 #define strlcat strlcat_unbound 1496 size_t strlcat(char *dst, const char *src, size_t siz); 1497 #endif 1498 1499 1500 #ifndef HAVE_STRLCPY 1501 #define strlcpy strlcpy_unbound 1502 size_t strlcpy(char *dst, const char *src, size_t siz); 1503 #endif 1504 1505 1506 #ifndef HAVE_GMTIME_R 1507 #define gmtime_r gmtime_r_unbound 1508 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1509 #endif 1510 1511 1512 #ifndef HAVE_REALLOCARRAY 1513 #define reallocarray reallocarrayunbound 1514 void* reallocarray(void *ptr, size_t nmemb, size_t size); 1515 #endif 1516 1517 1518 #if !defined(HAVE_SLEEP) || defined(HAVE_WINDOWS_H) 1519 #define sleep(x) Sleep((x)*1000) /* on win32 */ 1520 #endif /* HAVE_SLEEP */ 1521 1522 1523 #ifndef HAVE_USLEEP 1524 #define usleep(x) Sleep((x)/1000 + 1) /* on win32 */ 1525 #endif /* HAVE_USLEEP */ 1526 1527 1528 #ifndef HAVE_RANDOM 1529 #define random rand /* on win32, for tests only (bad random) */ 1530 #endif /* HAVE_RANDOM */ 1531 1532 1533 #ifndef HAVE_SRANDOM 1534 #define srandom(x) srand(x) /* on win32, for tests only (bad random) */ 1535 #endif /* HAVE_SRANDOM */ 1536 1537 1538 /* detect if we need to cast to unsigned int for FD_SET to avoid warnings */ 1539 #ifdef HAVE_WINSOCK2_H 1540 #define FD_SET_T (u_int) 1541 #else 1542 #define FD_SET_T 1543 #endif 1544 1545 1546 #ifndef IPV6_MIN_MTU 1547 #define IPV6_MIN_MTU 1280 1548 #endif /* IPV6_MIN_MTU */ 1549 1550 1551 #ifdef MEMCMP_IS_BROKEN 1552 #include "compat/memcmp.h" 1553 #define memcmp memcmp_unbound 1554 int memcmp(const void *x, const void *y, size_t n); 1555 #endif 1556 1557 1558 1559 #ifndef HAVE_CTIME_R 1560 #define ctime_r unbound_ctime_r 1561 char *ctime_r(const time_t *timep, char *buf); 1562 #endif 1563 1564 #ifndef HAVE_STRSEP 1565 #define strsep unbound_strsep 1566 char *strsep(char **stringp, const char *delim); 1567 #endif 1568 1569 #ifndef HAVE_ISBLANK 1570 #define isblank unbound_isblank 1571 int isblank(int c); 1572 #endif 1573 1574 #ifndef HAVE_EXPLICIT_BZERO 1575 #define explicit_bzero unbound_explicit_bzero 1576 void explicit_bzero(void* buf, size_t len); 1577 #endif 1578 1579 #if defined(HAVE_INET_NTOP) && !HAVE_DECL_INET_NTOP 1580 const char *inet_ntop(int af, const void *src, char *dst, size_t size); 1581 #endif 1582 1583 #if defined(HAVE_INET_PTON) && !HAVE_DECL_INET_PTON 1584 int inet_pton(int af, const char* src, void* dst); 1585 #endif 1586 1587 #if !defined(HAVE_STRPTIME) || !defined(STRPTIME_WORKS) 1588 #define strptime unbound_strptime 1589 struct tm; 1590 char *strptime(const char *s, const char *format, struct tm *tm); 1591 #endif 1592 1593 #if !HAVE_DECL_REALLOCARRAY 1594 void *reallocarray(void *ptr, size_t nmemb, size_t size); 1595 #endif 1596 1597 #ifdef HAVE_LIBBSD 1598 #include <bsd/string.h> 1599 #include <bsd/stdlib.h> 1600 #endif 1601 1602 #ifdef HAVE_LIBRESSL 1603 # if !HAVE_DECL_STRLCPY 1604 size_t strlcpy(char *dst, const char *src, size_t siz); 1605 # endif 1606 # if !HAVE_DECL_STRLCAT 1607 size_t strlcat(char *dst, const char *src, size_t siz); 1608 # endif 1609 # if !HAVE_DECL_ARC4RANDOM && defined(HAVE_ARC4RANDOM) 1610 uint32_t arc4random(void); 1611 # endif 1612 # if !HAVE_DECL_ARC4RANDOM_UNIFORM && defined(HAVE_ARC4RANDOM_UNIFORM) 1613 uint32_t arc4random_uniform(uint32_t upper_bound); 1614 # endif 1615 #endif /* HAVE_LIBRESSL */ 1616 #ifndef HAVE_ARC4RANDOM 1617 int getentropy(void* buf, size_t len); 1618 uint32_t arc4random(void); 1619 void arc4random_buf(void* buf, size_t n); 1620 void _ARC4_LOCK(void); 1621 void _ARC4_UNLOCK(void); 1622 void _ARC4_LOCK_DESTROY(void); 1623 #endif 1624 #ifndef HAVE_ARC4RANDOM_UNIFORM 1625 uint32_t arc4random_uniform(uint32_t upper_bound); 1626 #endif 1627 #ifdef COMPAT_SHA512 1628 #ifndef SHA512_DIGEST_LENGTH 1629 #define SHA512_BLOCK_LENGTH 128 1630 #define SHA512_DIGEST_LENGTH 64 1631 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1) 1632 typedef struct _SHA512_CTX { 1633 uint64_t state[8]; 1634 uint64_t bitcount[2]; 1635 uint8_t buffer[SHA512_BLOCK_LENGTH]; 1636 } SHA512_CTX; 1637 #endif /* SHA512_DIGEST_LENGTH */ 1638 void SHA512_Init(SHA512_CTX*); 1639 void SHA512_Update(SHA512_CTX*, void*, size_t); 1640 void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*); 1641 unsigned char *SHA512(void* data, unsigned int data_len, unsigned char *digest); 1642 #endif /* COMPAT_SHA512 */ 1643 1644 1645 1646 #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)) 1647 /* using version of libevent that is not threadsafe. */ 1648 # define LIBEVENT_SIGNAL_PROBLEM 1 1649 #endif 1650 1651 #ifndef CHECKED_INET6 1652 # define CHECKED_INET6 1653 # ifdef AF_INET6 1654 # define INET6 1655 # else 1656 # define AF_INET6 28 1657 # endif 1658 #endif /* CHECKED_INET6 */ 1659 1660 #ifndef HAVE_GETADDRINFO 1661 struct sockaddr_storage; 1662 #include "compat/fake-rfc2553.h" 1663 #endif 1664 1665 #ifdef UNBOUND_ALLOC_STATS 1666 # define malloc(s) unbound_stat_malloc_log(s, __FILE__, __LINE__, __func__) 1667 # define calloc(n,s) unbound_stat_calloc_log(n, s, __FILE__, __LINE__, __func__) 1668 # define free(p) unbound_stat_free_log(p, __FILE__, __LINE__, __func__) 1669 # define realloc(p,s) unbound_stat_realloc_log(p, s, __FILE__, __LINE__, __func__) 1670 # define strdup(s) unbound_stat_strdup_log(s, __FILE__, __LINE__, __func__) 1671 #ifdef HAVE_REALLOCARRAY 1672 # define reallocarray(p,n,s) unbound_stat_reallocarray_log(p, n, s, __FILE__, __LINE__, __func__) 1673 #endif 1674 void *unbound_stat_malloc(size_t size); 1675 void *unbound_stat_calloc(size_t nmemb, size_t size); 1676 void unbound_stat_free(void *ptr); 1677 void *unbound_stat_realloc(void *ptr, size_t size); 1678 void *unbound_stat_malloc_log(size_t size, const char* file, int line, 1679 const char* func); 1680 void *unbound_stat_calloc_log(size_t nmemb, size_t size, const char* file, 1681 int line, const char* func); 1682 void unbound_stat_free_log(void *ptr, const char* file, int line, 1683 const char* func); 1684 void *unbound_stat_realloc_log(void *ptr, size_t size, const char* file, 1685 int line, const char* func); 1686 void *unbound_stat_reallocarray_log(void *ptr, size_t nmemb, size_t size, 1687 const char* file, int line, const char* func); 1688 char *unbound_stat_strdup_log(const char *s, const char* file, int line, 1689 const char* func); 1690 #elif defined(UNBOUND_ALLOC_LITE) 1691 # include "util/alloc.h" 1692 #endif /* UNBOUND_ALLOC_LITE and UNBOUND_ALLOC_STATS */ 1693 1694 /** default port for DNS traffic. */ 1695 #define UNBOUND_DNS_PORT 53 1696 /** default port for DNS over TLS traffic. */ 1697 #define UNBOUND_DNS_OVER_TLS_PORT 853 1698 /** default port for DNS over HTTPS traffic. */ 1699 #define UNBOUND_DNS_OVER_HTTPS_PORT 443 1700 /** default port for DNS over QUIC traffic. */ 1701 #define UNBOUND_DNS_OVER_QUIC_PORT 853 1702 /** default port for unbound control traffic, registered port with IANA, 1703 ub-dns-control 8953/tcp unbound dns nameserver control */ 1704 #define UNBOUND_CONTROL_PORT 8953 1705 /** the version of unbound-control that this software implements */ 1706 #define UNBOUND_CONTROL_VERSION 1 1707 1708 1709