Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/netdump/netdump_client.c
Show All 12 Lines | |||||
static SYSCTL_NODE(_net, OID_AUTO, netdump, CTLFLAG_RD, NULL, | static SYSCTL_NODE(_net, OID_AUTO, netdump, CTLFLAG_RD, NULL, | ||||
"netdump parameters"); | "netdump parameters"); | ||||
static int nd_debug; | static int nd_debug; | ||||
SYSCTL_INT(_net_netdump, OID_AUTO, debug, CTLFLAG_RWTUN, | SYSCTL_INT(_net_netdump, OID_AUTO, debug, CTLFLAG_RWTUN, | ||||
&nd_debug, 0, | &nd_debug, 0, | ||||
"Debug message verbosity"); | "Debug message verbosity"); | ||||
SYSCTL_PROC(_net_netdump, OID_AUTO, enabled, CTLFLAG_RD | CTLTYPE_INT, NULL, 0, | SYSCTL_PROC(_net_netdump, OID_AUTO, enabled, | ||||
netdump_enabled_sysctl, "I", "netdump configuration status"); | CTLFLAG_RD | CTLTYPE_INT | CTLFLAG_NEEDGIANT, | ||||
NULL, 0, netdump_enabled_sysctl, "I", | |||||
"netdump configuration status"); | |||||
static char nd_path[MAXPATHLEN]; | static char nd_path[MAXPATHLEN]; | ||||
SYSCTL_STRING(_net_netdump, OID_AUTO, path, CTLFLAG_RW, | SYSCTL_STRING(_net_netdump, OID_AUTO, path, CTLFLAG_RW, | ||||
nd_path, sizeof(nd_path), | nd_path, sizeof(nd_path), | ||||
"Server path for output files"); | "Server path for output files"); | ||||
/* | /* | ||||
* The following three variables were moved to debugnet(4), but these knobs | * The following three variables were moved to debugnet(4), but these knobs | ||||
* were retained as aliases. | * were retained as aliases. | ||||
*/ | */ | ||||
Show All 12 Lines |