summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-07 22:30:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-07 22:30:35 +0000
commitee034e4f4b629ce3bd4c445b434bb11e945ce8f5 (patch)
tree558e24c7da281350a6f0e2b2ea07a6f3f3781d14 /sys/kern
parent5a66a4f93b5e0b7dde7b9aec9ed0d453feb6671b (diff)
ready for INET6 and KEY
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_domain.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index d0b140e2cb4..729b6a7a15c 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_domain.c,v 1.5 1997/07/23 04:33:53 denny Exp $ */
+/* $OpenBSD: uipc_domain.c,v 1.6 1999/01/07 22:30:34 deraadt Exp $ */
/* $NetBSD: uipc_domain.c,v 1.14 1996/02/09 19:00:44 christos Exp $ */
/*
@@ -50,6 +50,9 @@
void pffasttimo __P((void *));
void pfslowtimo __P((void *));
+#ifdef KEY
+int pfkey_init __P((void));
+#endif /* KEY */
#define ADDDOMAIN(x) { \
extern struct domain __CONCAT(x,domain); \
@@ -73,6 +76,12 @@ domaininit()
ADDDOMAIN(encap);
#endif
#endif
+#ifdef INET6
+ ADDDOMAIN(inet6);
+#endif /* INET6 */
+#ifdef KEY
+ pfkey_init();
+#endif /* KEY */
#ifdef IPX
ADDDOMAIN(ipx);
#endif