sysctlinfo is a new interface to explore the sysctl MIB-Tree and to pass objects info to userland,
https://papers.freebsd.org/2020/bsdcan/siciliano-sysctlinfo/
https://gitlab.com/alfix/sysctlinfo
After a refactoring the kernel computation is ~100% more efficient than the undocumented interface to pass all info about an object to userland.
Currently it is used by:
sysutils/sysctlbyname-improved-kmod
devel/libsysctlmibinfo2
audio/mixertui
sysutils/nsysctl
deskutils/sysctlview
sysctl-mib-html (https://gitlab.com/alfix/sysctl-mib-html)