summaryrefslogtreecommitdiffstats
path: root/sys/sys/domain.h
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-03-03 12:11:20 +0000
committerniklas <niklas@openbsd.org>1996-03-03 12:11:20 +0000
commitbb63a7f50f08657e166aa04c0b3e4843472dd97d (patch)
tree0d6c74a26e6741facb0a438cad039be5515c2f1a /sys/sys/domain.h
parentMakefiles seemed to be broken a bit, i don't even (diff)
downloadwireguard-openbsd-bb63a7f50f08657e166aa04c0b3e4843472dd97d.tar.xz
wireguard-openbsd-bb63a7f50f08657e166aa04c0b3e4843472dd97d.zip
From NetBSD: 960217 merge
Diffstat (limited to 'sys/sys/domain.h')
-rw-r--r--sys/sys/domain.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/sys/domain.h b/sys/sys/domain.h
index 2f930610e7a..23f2f25871f 100644
--- a/sys/sys/domain.h
+++ b/sys/sys/domain.h
@@ -1,4 +1,5 @@
-/* $NetBSD: domain.h,v 1.8 1995/03/26 20:24:03 jtc Exp $ */
+/* $OpenBSD: domain.h,v 1.2 1996/03/03 12:11:38 niklas Exp $ */
+/* $NetBSD: domain.h,v 1.10 1996/02/09 18:25:07 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -48,19 +49,20 @@ struct domain {
int dom_family; /* AF_xxx */
char *dom_name;
void (*dom_init) /* initialize domain data structures */
- __P((void));
+ __P((void));
int (*dom_externalize) /* externalize access rights */
- __P((struct mbuf *));
- int (*dom_dispose) /* dispose of internalized rights */
- __P((struct mbuf *));
+ __P((struct mbuf *));
+ void (*dom_dispose) /* dispose of internalized rights */
+ __P((struct mbuf *));
struct protosw *dom_protosw, *dom_protoswNPROTOSW;
struct domain *dom_next;
int (*dom_rtattach) /* initialize routing table */
- __P((void **, int));
+ __P((void **, int));
int dom_rtoffset; /* an arg to rtattach, in bits */
int dom_maxrtkey; /* for routing layer */
};
#ifdef _KERNEL
struct domain *domains;
+void domaininit __P((void));
#endif