File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / doc / mpd24.html
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:39:23 2021 UTC (3 years, 7 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_9p16, v5_9, HEAD
mpd 5.9

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    2: <HTML>
    3: <HEAD>
    4: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    5: <TITLE>Compression (CCP) layer</TITLE>
    6: </HEAD>
    7: <BODY text="#000000" bgcolor="#ffffff">
    8: 
    9: <A HREF="mpd.html"><EM>Mpd 5.9 User Manual</EM></A>
   10:  <b>:</b> <A HREF="mpd17.html"><EM>Configuring Mpd</EM></A>
   11:  <b>:</b> <EM>Compression (CCP) layer</EM><BR>
   12: <b>Previous:</b> <A HREF="mpd23.html"><EM>Encryption (ECP) layer</EM></A><BR>
   13: <b>Next:</b> <A HREF="mpd25.html"><EM>MPPC protocol</EM></A>
   14: 
   15: 
   16: <HR NOSHADE>
   17:   <H2><A NAME="24"></A>4.6. Compression (CCP) layer<A NAME="compression"></A></H2>
   18: 
   19: <p>This chapter describes commands that configure the Compression Control
   20: Protocol (CCP) layer. All of these commands apply to the currently
   21: active bundle.</p>
   22: <p>To use CCP you should enable compression at the bundle level.
   23: To allow compression to be negotiated you should enable here some of 
   24: compression protocols.</p>
   25: <p>
   26: <dl>
   27: 
   28: <dt><b><code>set ccp accept <em>option ...</em> </code></b><dd>
   29: <dt><b><code>set ccp deny <em>option ...</em> </code></b><dd>
   30: <dt><b><code>set ccp enable <em>option ...</em> </code></b><dd>
   31: <dt><b><code>set ccp disable <em>option ...</em> </code></b><dd>
   32: <dt><b><code>set ccp yes <em>option ...</em> </code></b><dd>
   33: <dt><b><code>set ccp no <em>option ...</em> </code></b><dd>
   34: <p>These commands configure various CCP options. Each direction of
   35: traffic (transmit and receive) is independent from the other.
   36: All options default to <code><b>disable</b></code> and <code><b>deny</b></code>.</p>
   37: <p>The <code><b>enable</b></code> and <code><b>disable</b></code> commands determine
   38: whether we desire the corresponding option on received data.
   39: The <code><b>accept</b></code> and <code><b>deny</b></code> commands determine
   40: whether we will allow the peer to request the corresponding option
   41: (which we must enable on our transmitted data).</p>
   42: 
   43: <p>The <b><code>yes</code></b> command is the same as
   44: <code><b>enable</b></code> and <code><b>accept</b></code>.
   45: The <b><code>no</code></b> command is the same as
   46: <code><b>disable</b></code> and <code><b>deny</b></code>.</p>
   47: 
   48: </dl>
   49: </p>
   50: 
   51: <p>The options available at the CCP layer are listed below.</p>
   52: <p>
   53: <dl>
   54: 
   55: <dt><b><code>pred1</code></b><dd><p>This option enables Predictor-1 (RFC 1978) compression.
   56: Predictor-1 compression is much faster then Deflate.</p>
   57: <p>This option requires ng_pred1 Netgraph node type, which is present
   58: since FreeBSD 6.2-STABLE of 2007-01-28.
   59: If there is no ng_pred1 in system, this algorithm is supported
   60: in user-level, but will consume more CPU power.</p>
   61: <p>The default is disable.</p>
   62: 
   63: <dt><b><code>deflate</code></b><dd><p>This option enables Deflate (RFC 1979) compression.
   64: Deflate compression usually gives better compression ratio then Predictor-1.</p>
   65: <p>This option requires ng_deflate Netgraph node type, which is present
   66: since FreeBSD 6.2-STABLE of 2007-01-28.</p>
   67: <p>The default is disable.</p>
   68: 
   69: <dt><b><code>mppc</code></b><dd><p>This option enables MPPC compression/encryption subprotocol.
   70: For details see 
   71: <A HREF="mpd25.html#mppc">the MPPC protocol chapter</A>.</p>
   72: <p>The default is disable.</p>
   73: 
   74: </dl>
   75: </p>
   76: <H3>4.6.1. <A HREF="mpd25.html#25">MPPC protocol</A></H3>
   77:  <HR NOSHADE>
   78: <A HREF="mpd.html"><EM>Mpd 5.9 User Manual</EM></A>
   79:  <b>:</b> <A HREF="mpd17.html"><EM>Configuring Mpd</EM></A>
   80:  <b>:</b> <EM>Compression (CCP) layer</EM><BR>
   81: <b>Previous:</b> <A HREF="mpd23.html"><EM>Encryption (ECP) layer</EM></A><BR>
   82: <b>Next:</b> <A HREF="mpd25.html"><EM>MPPC protocol</EM></A>
   83: 
   84: 
   85: 
   86: </BODY>
   87: </HTML>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>