bind9/lib/isc
Colin Vidal 608c56f4ac restore reuseport to yes by default on supported platforms
Changes introduced by 72862c2abc moved the
default configuration from within `bin/named` to a central place
`bin/includes`.

The default configuration is conditioned by several compile-time macro.
While for most of them it's fine because they are defined in the global
`config.h` file included by default to all binaries (by meson), one
specific is not defined here. `HAVE_SO_REUSEPORT_LB` was defined in
`lib/isc/include/isc/netmgr.h` which is of course not included in
`bin/includes/defaultconfig.h`.

As a result, reuseport was disabled for all platform by default, even
the supported ones. This fixes the problem by checking if reuseport is
available on the platform from meson `config.h` generation directly,
which makes `HAVE_SO_REUSEPORT_LB` available everywhere.
2025-10-31 15:11:08 +01:00
..
include restore reuseport to yes by default on supported platforms 2025-10-31 15:11:08 +01:00
netmgr Use SET_IF_NOT_NULL in isc__nm_base64* 2025-10-22 12:50:55 +02:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
ascii.c Consolidate some ASCII tables in isc/ascii and isc/hex 2022-09-12 12:18:57 +01:00
assertions.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
async.c Remove unused isc_mutexblock and isc_condition units 2025-03-01 07:33:09 +01:00
async_p.h Change the isc_async API to use cds_wfcqueue internally 2023-05-12 14:16:25 +02:00
backtrace.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
base32.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
base64.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
commandline.c Remove spurious zconf.h include 2025-05-29 06:34:08 +02:00
counter.c Cleanup the isc_counter unit 2025-02-21 09:51:42 +00:00
crypto.c Change the 'isc_g_mctx' to be always available 2025-08-04 11:29:50 +02:00
dir.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
errno.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
errno2result.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
errno2result.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
error.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
file.c Unify handling of the program name in all the utilities 2025-05-29 06:17:32 +02:00
getaddresses.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
hash.c Use arc4random for CSPRNG when available 2025-10-02 13:26:07 +02:00
hashmap.c Use arc4random for CSPRNG when available 2025-10-02 13:26:07 +02:00
heap.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
helper.c Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00
hex.c expose hex_decode APIs 2025-10-01 12:16:05 +02:00
histo.c Use the <stdbit.h> names for bit manipulation shims 2025-08-26 15:32:53 +02:00
hmac.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ht.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
httpd.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
interfaceiter.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
iterated_hash.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
jemalloc_shim.h Add and use MALLOCX_ZERO_GET() macro to jemalloc_shim.h 2025-06-30 13:22:39 +02:00
job.c Use unique names for probes.d files 2025-09-24 13:18:13 +02:00
job_p.h Use proper padding instead of using alignas() 2024-02-08 10:54:35 +01:00
lex.c Remove convenience list macros from isc/util.h 2025-03-01 07:33:40 +01:00
lib.c Call rcu_barrier earlier in the destructor 2025-04-25 13:13:44 +02:00
log.c Use clang-format-21 to update formatting 2025-10-21 09:34:29 +02:00
loop.c Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00
loop_p.h Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00
managers.c Change the 'isc_g_mctx' to be always available 2025-08-04 11:29:50 +02:00
md.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
mem.c check memory context validity before mem_destory 2025-10-19 09:05:09 +02:00
mem_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
meminfo.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
meson.build Use arc4random for CSPRNG when available 2025-10-02 13:26:07 +02:00
mutex.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
mutex_p.h Use library constructor to create default mutex attr once 2022-07-13 13:19:32 +02:00
net.c Remove unused definition of ISC_CMSG_IP_TOS 2024-11-27 15:03:27 +01:00
netaddr.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
netscope.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
openssl_shim.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
openssl_shim.h Remove unused <openssl/hmac.h> headers from OpenSSL shims 2024-10-16 04:19:16 +00:00
os.c Add support for setting thread stack size 2025-08-05 10:46:09 +02:00
os_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
parseint.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
picohttpparser.c Add and apply InsertBraces statement 2025-08-19 07:58:33 +02:00
picohttpparser.h Update picohttpparser.{c,h} with upstream repository 2024-12-08 11:14:37 +00:00
portset.c clean up uses of ISC_R_NOMEMORY 2025-01-23 15:54:57 -08:00
probes-isc.d Use unique names for probes.d files 2025-09-24 13:18:13 +02:00
proxy2.c Use clang-format-20 to update formatting 2025-06-25 12:44:22 +10:00
quota.c Fix isc_quota bug 2025-02-20 10:56:00 +00:00
radix.c Use clang-format-20 to update formatting 2025-06-25 12:44:22 +10:00
random.c Use arc4random for CSPRNG when available 2025-10-02 13:26:07 +02:00
ratelimiter.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
regex.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
region.c Incrementally apply AXFR transfer 2024-11-22 15:00:55 +01:00
result.c report when zone reload already in progress 2025-10-17 20:36:18 +00:00
rwlock.c Use unique names for probes.d files 2025-09-24 13:18:13 +02:00
safe.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
serial.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
signal.c Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00
sockaddr.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
stdio.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
stdtime.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
string.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
symtab.c Switch symtab to use fxhash hashing 2025-03-20 11:26:09 +01:00
syslog.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
thread.c Add support for setting thread stack size 2025-08-05 10:46:09 +02:00
thread_p.h Document the current default stack sizes on different systems 2025-08-05 10:46:09 +02:00
tid.c Add ISC_TID_MAX with default being 512 threads 2025-06-28 13:32:12 +02:00
time.c Simplify add/sub/mul overflow checks 2025-08-26 15:32:53 +02:00
timer.c Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00
tls.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
tm.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
url.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
utf8.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
uv.c ensure file descriptors 0-2 are in use before using libuv 2025-08-28 08:16:06 +02:00
work.c Call isc__iterated_hash_initialize 2025-03-04 12:54:39 +00:00
xml.c Change the 'isc_g_mctx' to be always available 2025-08-04 11:29:50 +02:00