diff options
author | julian <julian@FreeBSD.org> | 1999-11-07 05:16:27 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1999-11-07 05:16:27 +0000 |
commit | 15df13a7465249a366b6c4b0408487f8c03944fc (patch) | |
tree | 7d6d36a62dd28dfb38de26d4cdebfc3f9f405a82 /share | |
parent | 52fd977f18bf0441d6a7f77fa7b7cda0eea35026 (diff) | |
download | FreeBSD-src-15df13a7465249a366b6c4b0408487f8c03944fc.zip FreeBSD-src-15df13a7465249a366b6c4b0408487f8c03944fc.tar.gz |
Stop nroff from complaining about the freeBSD version..
Also some updates to the vjc node man page.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/ng_UI.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_async.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_echo.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_frame_relay.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_hole.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_iface.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_lmi.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_rfc1490.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_tee.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_tty.4 | 2 | ||||
-rw-r--r-- | share/man/man4/ng_vjc.4 | 64 |
11 files changed, 55 insertions, 29 deletions
diff --git a/share/man/man4/ng_UI.4 b/share/man/man4/ng_UI.4 index f432fc4..74b6832 100644 --- a/share/man/man4/ng_UI.4 +++ b/share/man/man4/ng_UI.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_UI 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_UI .Nd UI netgraph node type diff --git a/share/man/man4/ng_async.4 b/share/man/man4/ng_async.4 index f07ef48..2d0a0d4 100644 --- a/share/man/man4/ng_async.4 +++ b/share/man/man4/ng_async.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_ASYNC 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_async .Nd asynchronous framing netgraph node type diff --git a/share/man/man4/ng_echo.4 b/share/man/man4/ng_echo.4 index 4e5a083..7e22a6f 100644 --- a/share/man/man4/ng_echo.4 +++ b/share/man/man4/ng_echo.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_ECHO 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_echo .Nd netgraph echo node type diff --git a/share/man/man4/ng_frame_relay.4 b/share/man/man4/ng_frame_relay.4 index bdfe8e2..fc9ef0f 100644 --- a/share/man/man4/ng_frame_relay.4 +++ b/share/man/man4/ng_frame_relay.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_FRAME_RELAY 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_frame_relay .Nd Frame relay netgraph node type diff --git a/share/man/man4/ng_hole.4 b/share/man/man4/ng_hole.4 index df3bf56..472b22c 100644 --- a/share/man/man4/ng_hole.4 +++ b/share/man/man4/ng_hole.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_HOLE 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_hole .Nd netgraph discard node type diff --git a/share/man/man4/ng_iface.4 b/share/man/man4/ng_iface.4 index 3e0eabb..7cb1884 100644 --- a/share/man/man4/ng_iface.4 +++ b/share/man/man4/ng_iface.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_IFACE 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_iface .Nd interface netgraph node type diff --git a/share/man/man4/ng_lmi.4 b/share/man/man4/ng_lmi.4 index 48c42f6..2ce52a7 100644 --- a/share/man/man4/ng_lmi.4 +++ b/share/man/man4/ng_lmi.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_LMI 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_lmi .Nd Frame relay LMI protocol netgraph node type diff --git a/share/man/man4/ng_rfc1490.4 b/share/man/man4/ng_rfc1490.4 index d8a7cfc..a2aa9d0 100644 --- a/share/man/man4/ng_rfc1490.4 +++ b/share/man/man4/ng_rfc1490.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_RFC1490 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_rfc1490 .Nd RFC 1490 netgraph node type diff --git a/share/man/man4/ng_tee.4 b/share/man/man4/ng_tee.4 index 66da25e..e8cb8e4 100644 --- a/share/man/man4/ng_tee.4 +++ b/share/man/man4/ng_tee.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_TEE 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_tee .Nd netgraph ``tee'' node type diff --git a/share/man/man4/ng_tty.4 b/share/man/man4/ng_tty.4 index 5314116..c3f0aa5 100644 --- a/share/man/man4/ng_tty.4 +++ b/share/man/man4/ng_tty.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_TTY 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_tty .Nd netgraph node type that is also a line discipline diff --git a/share/man/man4/ng_vjc.4 b/share/man/man4/ng_vjc.4 index 99ec561..8a5c365 100644 --- a/share/man/man4/ng_vjc.4 +++ b/share/man/man4/ng_vjc.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_VJC 8 -.Os FreeBSD 3 +.Os FreeBSD 4.0 .Sh NAME .Nm ng_vjc .Nd Van Jacobsen compression netgraph node type @@ -60,6 +60,7 @@ nodes represent the compressed side of the node. Packets received on the .Dv ip will be compressed or passed through as appropriate. Packets received on the other three hooks will be uncompressed as appropriate. +This node also supports ``always pass through'' mode in either direction. .Pp Van Jacobsen compression only applies to TCP packets. Only ``normal'' (i.e., common case) TCP packets are actually compressed. @@ -75,6 +76,7 @@ Other non-TCP IP packets are forwarded unchanged to When connecting to a .Xr ng_ppp 8 node, the +.Dv ip , .Dv vjuncomp , .Dv vjcomp , and @@ -82,10 +84,11 @@ and nodes should be connected to the .Xr ng_ppp 8 node's -.Dv vjcomp , -.Dv vjuncomp , +.Dv vjc_ip , +.Dv vjc_vjcomp , +.Dv vjc_vjuncomp , and -.Dv ip +.Dv vjc_ip nodes, respectively. .Sh HOOKS This node type supports the following hooks: @@ -102,32 +105,45 @@ Downstream uncompressed IP packets. .Sh CONTROL MESSAGES This node type supports the generic control messages, plus the following: .Bl -tag -width foo -.It Dv NGM_VJC_CONFIG +.It Dv NGM_VJC_SET_CONFIG This command resets the compression state and configures it according to the supplied .Dv "struct ngm_vjc_config" argument. This structure contains the following fields: .Bd -literal -offset 4n struct ngm_vjc_config { - u_char enabled; /* Enable compression/decompression */ + u_char enableComp; /* Enable compression */ + u_char enableDecomp; /* Enable decompression */ u_char numChannels; /* Number of outgoing channels */ u_char compressCID; /* OK to compress outgoing CID's */ }; .Ed .Pp When -.Dv enabled -is set to zero, the node operates in ``pass through'' mode, only -accepting packets on the +.Dv enableComp +is set to zero, all packets received on the .Dv ip -and +hook are forwarded unchanged out the .Dv vjip +hook. Similarly, when +.Dv enableDecomp +is set to zero, all packets received on the +.Dv vjip +hook are forwarded unchanged out the +.Dv ip +hook, and packets are not accepted on the +.Dv vjcomp +and +.Dv vjuncomp hooks. -.Dv numChannels -should be set to the number of compression channels, and is a value -between 3 and 16, inclusive. +When a node is first created, +both compression and decompression are disabled and the node is +therefore operating in bi-directional ``pass through'' mode. .Pp -The +When enabling compression, +.Dv numChannels +should be set to the number of outgoing compression channels, and is a value +between 3 and 16, inclusive. Also, the .Dv compressCID field indicates whether it is OK to compress the CID field for outgoing compressed TCP packets. This value should be zero unless @@ -142,9 +158,11 @@ structure, which is defined in .Dv "net/slcompress.h" . .It Dv NGM_VJC_CLR_STATS Clears the node statistics counters. Statistics are also cleared whenever the -.Dv enabled -field is changed from zero to one by a -.Dv NGM_VJC_CONFIG +.Dv enableComp +or +.Dv enableDecomp +fields are changed from zero to one by a +.Dv NGM_VJC_SET_CONFIG control message. .It Dv NGM_VJC_RECV_ERROR When the @@ -158,9 +176,9 @@ 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 that the file +When used as a loadable kernel module, this node type requires the file .Dv "net/slcompress.c" -was compiled into the kernel. Currently the only way to insure this +to have been compiled into the kernel. Currently the only way to insure this is to include the .Dv slip , .Dv ppp , @@ -169,6 +187,14 @@ or 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 +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. .Sh SEE ALSO .Xr netgraph 4 , .Xr ng_ppp 8 , |