summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2020-08-22 11:47:22 +0000
committerkn <kn@openbsd.org>2020-08-22 11:47:22 +0000
commitc38ca5bd9490649d525e589fe88581da0148fdb2 (patch)
treee1d31670aa7bd8e65a3baecd2beab2e08316207e /sys/netinet/in.h
parentdrm/amd/display: dchubbub p-state warning during surface planes switch (diff)
downloadwireguard-openbsd-c38ca5bd9490649d525e589fe88581da0148fdb2.tar.xz
wireguard-openbsd-c38ca5bd9490649d525e589fe88581da0148fdb2.zip
Move sysctl(2) CTL_DEBUG from DEBUG to new DEBUG_SYSCTL
Adding "debug.my-knob" sysctls is really helpful to select different code paths and/or log on demand during runtime without recompile, but as this code is under DEBUG, lots of other noise comes with it which is often undesired, at least when looking at specific subsystems only. Adding globals to the kernel and breaking into DDB to change them helps, but that does not work over SSH, hence the need for debug sysctls. Introduces DEBUG_SYSCTL to make use of the "debug" MIB without the rest of DEBUG; it's DEBUG_SYSCTL and not SYSCTL_DEBUG because it's not a general option for all of sysctl(2). OK gnezdo
Diffstat (limited to 'sys/netinet/in.h')
0 files changed, 0 insertions, 0 deletions