diff options
author | Ed Maste <emaste@FreeBSD.org> | 2023-10-12 01:38:00 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2024-01-12 17:53:45 +0000 |
commit | 299e9fe9709ac520ce1ea5069d0e25540acff573 (patch) | |
tree | 39617a723514d90b3a9bc5379ea09f979f639557 | |
parent | 0459cf327549f067ea1583a8d428e556232b6082 (diff) | |
download | src-299e9fe9709ac520ce1ea5069d0e25540acff573.tar.gz src-299e9fe9709ac520ce1ea5069d0e25540acff573.zip |
netlink: Add sysctl descriptions for net.netlink tree
Reviewed by: markj, melifaro
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43368
(cherry picked from commit 20010b86fe0e181bdad947449fced07bf3fb9cb6)
-rw-r--r-- | sys/netlink/netlink_glue.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netlink/netlink_glue.c b/sys/netlink/netlink_glue.c index e7649c6b13dc..879adefab7bd 100644 --- a/sys/netlink/netlink_glue.c +++ b/sys/netlink/netlink_glue.c @@ -50,8 +50,10 @@ #include <netlink/route/route_var.h> /* Standard bits: built-in the kernel */ -SYSCTL_NODE(_net, OID_AUTO, netlink, CTLFLAG_RD, 0, ""); -SYSCTL_NODE(_net_netlink, OID_AUTO, debug, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, ""); +SYSCTL_NODE(_net, OID_AUTO, netlink, CTLFLAG_RD, 0, + "RFC3549 Netlink network state socket family"); +SYSCTL_NODE(_net_netlink, OID_AUTO, debug, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, + "Netlink per-subsystem debug levels"); MALLOC_DEFINE(M_NETLINK, "netlink", "Memory used for netlink packets"); |