aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/netgraph/vjc/Makefile4
-rw-r--r--sys/modules/netgraph/vjc/ng_vjc.420
-rw-r--r--sys/modules/netgraph/vjc/ng_vjc.820
3 files changed, 19 insertions, 25 deletions
diff --git a/sys/modules/netgraph/vjc/Makefile b/sys/modules/netgraph/vjc/Makefile
index 510337fc2a91..b27f7675a027 100644
--- a/sys/modules/netgraph/vjc/Makefile
+++ b/sys/modules/netgraph/vjc/Makefile
@@ -2,8 +2,10 @@
# $Whistle: Makefile,v 1.1 1999/01/24 06:48:07 archie Exp $
KMOD= ng_vjc
-SRCS= ng_vjc.c
+SRCS= ng_vjc.c slcompress.c
MAN8= ng_vjc.8
KMODDEPS= netgraph
+.PATH: ${.CURDIR}/../../../net
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/vjc/ng_vjc.4 b/sys/modules/netgraph/vjc/ng_vjc.4
index 904e65dbc81c..c86be55c68b5 100644
--- a/sys/modules/netgraph/vjc/ng_vjc.4
+++ b/sys/modules/netgraph/vjc/ng_vjc.4
@@ -176,18 +176,6 @@ This node shuts down upon receipt of a
.Dv NGM_SHUTDOWN
control message, or when all hooks have been disconnected.
.Sh BUGS
-When used as a loadable kernel module, this node type requires the file
-.Dv "net/slcompress.c"
-to have been compiled into the kernel. Currently the only way to insure this
-is to include the
-.Dv slip ,
-.Dv ppp ,
-or
-.Dv i4bipr
-pseudo-devices in your kernel compilation. In the future there should
-be a kernel option that causes inclusion of this file without requiring
-one of these drivers.
-.Pp
Because the initialization routine in the kernel implementation of
Van Jacobsen compression initializes both compression and decompression
at once, this node does not allow compression and decompression to
@@ -195,6 +183,14 @@ be enabled in separate operations. In order to enable one when
the other is already enabled, first both must be disabled, then
both enabled. This of course resets the node state. This restriction
may be lifted in a later version.
+.Pp
+When built as a loadable kernel module, this module includes the file
+.Dv "net/slcompress.c" .
+Although loading the module should fail if
+.Dv "net/slcompress.c"
+already exists in the kernel, currently it does not, and the duplicate
+copies of the file do not interfere.
+However, this may change in the future.
.Sh SEE ALSO
.Xr netgraph 4 ,
.Xr ng_ppp 8 ,
diff --git a/sys/modules/netgraph/vjc/ng_vjc.8 b/sys/modules/netgraph/vjc/ng_vjc.8
index 904e65dbc81c..c86be55c68b5 100644
--- a/sys/modules/netgraph/vjc/ng_vjc.8
+++ b/sys/modules/netgraph/vjc/ng_vjc.8
@@ -176,18 +176,6 @@ This node shuts down upon receipt of a
.Dv NGM_SHUTDOWN
control message, or when all hooks have been disconnected.
.Sh BUGS
-When used as a loadable kernel module, this node type requires the file
-.Dv "net/slcompress.c"
-to have been compiled into the kernel. Currently the only way to insure this
-is to include the
-.Dv slip ,
-.Dv ppp ,
-or
-.Dv i4bipr
-pseudo-devices in your kernel compilation. In the future there should
-be a kernel option that causes inclusion of this file without requiring
-one of these drivers.
-.Pp
Because the initialization routine in the kernel implementation of
Van Jacobsen compression initializes both compression and decompression
at once, this node does not allow compression and decompression to
@@ -195,6 +183,14 @@ be enabled in separate operations. In order to enable one when
the other is already enabled, first both must be disabled, then
both enabled. This of course resets the node state. This restriction
may be lifted in a later version.
+.Pp
+When built as a loadable kernel module, this module includes the file
+.Dv "net/slcompress.c" .
+Although loading the module should fail if
+.Dv "net/slcompress.c"
+already exists in the kernel, currently it does not, and the duplicate
+copies of the file do not interfere.
+However, this may change in the future.
.Sh SEE ALSO
.Xr netgraph 4 ,
.Xr ng_ppp 8 ,