summaryrefslogtreecommitdiffstats
path: root/sys/netatm/atm_var.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-07-24 10:33:01 +0000
committerharti <harti@FreeBSD.org>2003-07-24 10:33:01 +0000
commitd64aeeda88935f9007e38f546c41d3404e6fbc8d (patch)
treeac3b8a8c0f7ab8ad309efe8644be546c2fd66d6c /sys/netatm/atm_var.h
parentce6580b5515c184f1852acae93a2bd23b2598384 (diff)
downloadFreeBSD-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_var.h')
-rw-r--r--sys/netatm/atm_var.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netatm/atm_var.h b/sys/netatm/atm_var.h
index c4c632a..6085275 100644
--- a/sys/netatm/atm_var.h
+++ b/sys/netatm/atm_var.h
@@ -174,5 +174,11 @@ int atm_stack_enq(int, void (*)(int, void *, intptr_t, intptr_t),
void *, Atm_connvc *, intptr_t, intptr_t);
void atm_stack_drain(void);
void atm_pdu_print(const KBuffer *, const char *);
+
+#ifdef SYSCTL_DECL
+SYSCTL_DECL(_net_harp);
+SYSCTL_DECL(_net_harp_atm);
+#endif
+
#endif /* _KERNEL */
#endif /* _NETATM_ATM_VAR_H */
OpenPOWER on IntegriCloud