/* * Copyright (c) 1982, 1986 Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% * * @(#)domain.h 7.4 (Berkeley) 06/28/90 */ /* * Structure per communications domain. */ struct domain { int dom_family; /* AF_xxx */ char *dom_name; int (*dom_init)(); /* initialize domain data structures */ int (*dom_externalize)(); /* externalize access rights */ int (*dom_dispose)(); /* dispose of internalized rights */ struct protosw *dom_protosw, *dom_protoswNPROTOSW; struct domain *dom_next; }; #ifdef KERNEL struct domain *domains; #endif