mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
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)
This commit is contained in:
parent
0459cf3275
commit
299e9fe970
1 changed files with 4 additions and 2 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue