summaryrefslogtreecommitdiffstats
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-05-11 00:13:26 +0000
committerwollman <wollman@FreeBSD.org>1995-05-11 00:13:26 +0000
commit37660997fe63e18311e879f7d973edfeb03a28f5 (patch)
tree300274f99668c935a329a2380c568f8de35d4eb3 /sys/net/rtsock.c
parent78ce3864de28cf6df1d35bae1167167384cc0d42 (diff)
downloadFreeBSD-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/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index ea651d5..dc3b3fb 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -36,6 +36,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
@@ -793,3 +794,4 @@ struct domain routedomain =
{ PF_ROUTE, "route", route_init, 0, 0,
routesw, &routesw[sizeof(routesw)/sizeof(routesw[0])] };
+DOMAIN_SET(route);
OpenPOWER on IntegriCloud