diff options
author | harti <harti@FreeBSD.org> | 2003-07-24 10:33:01 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-24 10:33:01 +0000 |
commit | d64aeeda88935f9007e38f546c41d3404e6fbc8d (patch) | |
tree | ac3b8a8c0f7ab8ad309efe8644be546c2fd66d6c /sys/netatm/atm_proto.c | |
parent | ce6580b5515c184f1852acae93a2bd23b2598384 (diff) | |
download | FreeBSD-src-d64aeeda88935f9007e38f546c41d3404e6fbc8d.zip FreeBSD-src-d64aeeda88935f9007e38f546c41d3404e6fbc8d.tar.gz |
Create a subtree 'harp' of the net sysctl tree. This uses a fixed
OID as the other protocol family sub-trees do, that is equal to the
protocol family identifier. Make the ATM layer debugging flags
available under this tree.
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks
Diffstat (limited to 'sys/netatm/atm_proto.c')
-rw-r--r-- | sys/netatm/atm_proto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netatm/atm_proto.c b/sys/netatm/atm_proto.c index da9ef0f..174852c 100644 --- a/sys/netatm/atm_proto.c +++ b/sys/netatm/atm_proto.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/domain.h> #include <sys/protosw.h> #include <sys/socket.h> +#include <sys/sysctl.h> #include <net/if.h> #include <netatm/port.h> #include <netatm/queue.h> @@ -114,6 +115,8 @@ struct domain atmdomain = { DOMAIN_SET(atm); +SYSCTL_NODE(_net, PF_ATM, harp, CTLFLAG_RW, 0, "HARP/ATM family"); +SYSCTL_NODE(_net_harp, OID_AUTO, atm, CTLFLAG_RW, 0, "ATM layer"); /* * Protocol request not supported |