BSD 4_3 release
[unix-history] / usr / src / sys / h / domain.h
CommitLineData
da7c5cc6 1/*
1810611d 2 * Copyright (c) 1982, 1986 Regents of the University of California.
da7c5cc6
KM
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
95f51977 6 * @(#)domain.h 7.1 (Berkeley) 6/4/86
da7c5cc6 7 */
850ce80b
BJ
8
9/*
e0a7275e 10 * Structure per communications domain.
850ce80b
BJ
11 */
12struct domain {
e0a7275e 13 int dom_family; /* AF_xxx */
850ce80b 14 char *dom_name;
fde4dc17
MK
15 int (*dom_init)(); /* initialize domain data structures */
16 int (*dom_externalize)(); /* externalize access rights */
17 int (*dom_dispose)(); /* dispose of internalized rights */
e0a7275e
BJ
18 struct protosw *dom_protosw, *dom_protoswNPROTOSW;
19 struct domain *dom_next;
850ce80b
BJ
20};
21
22#ifdef KERNEL
23struct domain *domains;
24#endif