diff options
author | wollman <wollman@FreeBSD.org> | 1995-05-11 00:13:26 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-05-11 00:13:26 +0000 |
commit | 37660997fe63e18311e879f7d973edfeb03a28f5 (patch) | |
tree | 300274f99668c935a329a2380c568f8de35d4eb3 /sys/netns/ns_proto.c | |
parent | 78ce3864de28cf6df1d35bae1167167384cc0d42 (diff) | |
download | FreeBSD-src-37660997fe63e18311e879f7d973edfeb03a28f5.zip FreeBSD-src-37660997fe63e18311e879f7d973edfeb03a28f5.tar.gz |
Make networking domains drop-ins, through the magic of GNU ld. (Some day,
there may even be LKMs.) Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
Diffstat (limited to 'sys/netns/ns_proto.c')
-rw-r--r-- | sys/netns/ns_proto.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netns/ns_proto.c b/sys/netns/ns_proto.c index a19e8cb..ff26004e 100644 --- a/sys/netns/ns_proto.c +++ b/sys/netns/ns_proto.c @@ -30,11 +30,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)ns_proto.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * From: @(#)ns_proto.c 8.1 (Berkeley) 6/10/93 + * $Id: ns_proto.c,v 1.2 1994/08/02 07:51:54 davidg Exp $ */ #include <sys/param.h> +#include <sys/kernel.h> #include <sys/socket.h> #include <sys/protosw.h> #include <sys/domain.h> @@ -95,3 +96,4 @@ struct domain nsdomain = nssw, &nssw[sizeof(nssw)/sizeof(nssw[0])], 0, rn_inithead, 16, sizeof(struct sockaddr_ns)}; +DOMAIN_SET(ns); |