xref: /original-bsd/sys/sys/domain.h (revision 9087ff44)
1 /*
2  * Copyright (c) 1982 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)domain.h	6.3 (Berkeley) 06/08/85
7  */
8 
9 /*
10  * Structure per communications domain.
11  */
12 struct	domain {
13 	int	dom_family;		/* AF_xxx */
14 	char	*dom_name;
15 	int	(*dom_init)();		/* initialize domain data structures */
16 	int	(*dom_externalize)();	/* externalize access rights */
17 	int	(*dom_dispose)();	/* dispose of internalized rights */
18 	struct	protosw *dom_protosw, *dom_protoswNPROTOSW;
19 	struct	domain *dom_next;
20 };
21 
22 #ifdef KERNEL
23 struct	domain *domains;
24 #endif
25