View | Details | Raw Unified | Return to bug 15649
Collapse All | Expand All

(-)ng_vjc.8 (-4 / +4 lines)
Lines 52-66 Link Here
52
compress TCP packet headers.  The
52
compress TCP packet headers.  The
53
.Dv ip
53
.Dv ip
54
hook represents the uncompressed side of the node, while the
54
hook represents the uncompressed side of the node, while the
55
.Dv vjcomp ,
55
.Dv vjcomp ,
56
.Dv vjuncomp ,
56
.Dv vjuncomp ,
57
and
57
and
58
.Dv vjip
58
.Dv vjip
59
nodes represent the compressed side of the node. Packets received on the
59
hooks represent the compressed side of the node. Packets received on the
60
.Dv ip
60
.Dv ip
61
will be compressed or passed through as appropriate. Packets received
61
will be compressed or passed through as appropriate. Packets received
62
on the other three hooks will be uncompressed as appropriate.
62
on the other three hooks will be uncompressed as appropriate.
63
This node also supports
63
This node also supports
64
.Dq always pass through
64
.Dq always pass through
65
mode in either direction.
65
mode in either direction.
66
.Pp
66
.Pp
Lines 81-103 Link Here
81
.Xr ng_ppp 8
81
.Xr ng_ppp 8
82
node, the
82
node, the
83
.Dv ip ,
83
.Dv ip ,
84
.Dv vjuncomp ,
84
.Dv vjuncomp ,
85
.Dv vjcomp , 
85
.Dv vjcomp , 
86
and
86
and
87
.Dv vjip
87
.Dv vjip
88
nodes should be connected to the
88
hooks should be connected to the
89
.Xr ng_ppp 8
89
.Xr ng_ppp 8
90
node's
90
node's
91
.Dv vjc_ip ,
91
.Dv vjc_ip ,
92
.Dv vjc_vjcomp ,
92
.Dv vjc_vjcomp ,
93
.Dv vjc_vjuncomp ,
93
.Dv vjc_vjuncomp ,
94
and
94
and
95
.Dv vjc_ip
95
.Dv vjc_ip
96
nodes, respectively.
96
hooks, respectively.
97
.Sh HOOKS
97
.Sh HOOKS
98
This node type supports the following hooks:
98
This node type supports the following hooks:
99
.Pp
99
.Pp
100
.Bl -tag -width foobarbazi
100
.Bl -tag -width foobarbazi
101
.It Dv ip
101
.It Dv ip
102
Upstream (uncompressed) IP packets.
102
Upstream (uncompressed) IP packets.
103
.It Dv vjcomp
103
.It Dv vjcomp
Lines 149-163 Link Here
149
When enabling compression,
149
When enabling compression,
150
.Dv maxChannel
150
.Dv maxChannel
151
should be set to the number of outgoing compression channels minus one,
151
should be set to the number of outgoing compression channels minus one,
152
and is a value between 3 and 15, inclusive. Also, the
152
and is a value between 3 and 15, inclusive. Also, the
153
.Dv compressCID
153
.Dv compressCID
154
field indicates whether it is OK to compress the CID field for
154
field indicates whether it is OK to compress the CID field for
155
outgoing compressed TCP packets. This value should be zero unless
155
outgoing compressed TCP packets. This value should be zero unless
156
either (a) it not possible for an incoming frame to be lost, or
156
either (a) it is not possible for an incoming frame to be lost, or
157
(b) lost frames can be reliably detected and a
157
(b) lost frames can be reliably detected and a
158
.Dv NGM_VJC_RECV_ERROR
158
.Dv NGM_VJC_RECV_ERROR
159
message is immediately sent whenever this occurs.
159
message is immediately sent whenever this occurs.
160
.It Dv NGM_VJC_GET_STATE
160
.It Dv NGM_VJC_GET_STATE
161
This command returns the node's current state described by the
161
This command returns the node's current state described by the
162
.Dv "struct slcompress"
162
.Dv "struct slcompress"
163
structure, which is defined in
163
structure, which is defined in

Return to bug 15649