summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_domain.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-01-14 12:04:03 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-01-14 12:04:03 +0000
commit08b6f0f68c7520cadd2a4adba1c4dffad2359e2f (patch)
tree70b2599d26f5cece308a5973f4c1a2a08a56776f /sys/kern/uipc_domain.c
parentd2732b96fe8c1e1b735763c7ef7627cb35b63780 (diff)
First step in Bluetooth protocol stack support.
The code is adopted from the FreeBSD netgraph-based Bluetooth implementation by Maksim Yevmenkin <m_evmenkin@yahoo.com> but all netgraph glue was replaced with usual BSD network stack hooks. This is a work in progress. Only HCI layer works for now, L2CAP and RFCOMM are on the way. Help in testing from many, ok markus@.
Diffstat (limited to 'sys/kern/uipc_domain.c')
-rw-r--r--sys/kern/uipc_domain.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index 5c6c6797787..f9abca937ff 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_domain.c,v 1.20 2004/11/27 14:50:55 pat Exp $ */
+/* $OpenBSD: uipc_domain.c,v 1.21 2005/01/14 12:04:02 grange Exp $ */
/* $NetBSD: uipc_domain.c,v 1.14 1996/02/09 19:00:44 christos Exp $ */
/*
@@ -45,6 +45,7 @@
#include <sys/sysctl.h>
#include <sys/timeout.h>
+#include "bluetooth.h"
#include "bpfilter.h"
struct domain *domains;
@@ -113,6 +114,9 @@ domaininit(void)
ADDDOMAIN(key);
#endif
#endif
+#if NBLUETOOTH > 0
+ ADDDOMAIN(bt);
+#endif
ADDDOMAIN(route);
#endif