Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 1998 17:16:38 +0000
From:      dmaddox@scsn.net (Donald J. Maddox)
To:        rotel@indigo.ie, dmaddox@scsn.net, Frank Pawlak <fpawlak@execpc.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Kernel PPP
Message-ID:  <19980413171638.50241@scsn.net>
In-Reply-To: <199804132055.VAA07266@indigo.ie>; from Niall Smart on Mon, Apr 13, 1998 at 09:55:55PM %2B0000
References:  <199804132055.VAA07266@indigo.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 13, 1998 at 09:55:55PM +0000, Niall Smart wrote:
> On Apr 13,  3:59pm, Donald J. Maddox wrote:
> } Subject: Re: Kernel PPP
> > On Mon, Apr 13, 1998 at 06:11:56PM +0000, Niall Smart wrote:
> > > On Apr 13, 12:01pm, Frank Pawlak wrote:
> > > } Subject: Re: Kernel PPP
> > > > On 13 Apr, Niall Smart wrote:
> > > > > On Apr 12,  6:09pm, Frank Pawlak wrote:
> > > > > } Subject: Kernel PPP
> > > 
> > 
> > Actually, pppd _does_ have a 'deflate' option...
> 
> No, it doesn't.  Thats "/usr/sbin/ppp", not "/usr/sbin/pppd"

Yes it does.  From `man pppd`:


PPPD(8)                                                   PPPD(8)

NAME
       pppd - Point to Point Protocol daemon

SYNOPSIS
       pppd [ tty_name ] [ speed ] [ options ]

DESCRIPTION
       The  Point-to-Point  Protocol  (PPP) provides a method for
       transmitting datagrams over serial  point-to-point  links.
       PPP is composed of three parts: a method for encapsulating
       datagrams over serial links, an  extensible  Link  Control
       Protocol  (LCP), and a family of Network Control Protocols
       (NCP) for establishing and configuring different  network-
       layer protocols.
.
.
<big snip>
.
.

       deflate nr,nt
              Request  that  the  peer  compress  packets that it
              sends, using the Deflate  scheme,  with  a  maximum
              window  size  of 2**nr bytes, and agree to compress
              packets sent to the peer with a maximum window size
              of  2**nt  bytes.   If  nt  is  not  specified,  it
              defaults to the value given for nr.  Values in  the
              range  8  to  15  may be used for nr and nt; larger
              values give better  compression  but  consume  more
              kernel memory for compression dictionaries.  Alter-
              natively, a value of 0 for nr or nt  disables  com-
              pression in the corresponding direction.  Use node-
              flate or deflate 0 to disable  Deflate  compression
              entirely.  (Note: pppd requests Deflate compression
              in preference to BSD-Compress if the  peer  can  do
              either.)


<big snip>

       deflate nr,nt
              Request  that  the  peer  compress  packets that it
              sends, using the Deflate  scheme,  with  a  maximum
              window  size  of 2**nr bytes, and agree to compress
              packets sent to the peer with a maximum window size
              of  2**nt  bytes.   If  nt  is  not  specified,  it
              defaults to the value given for nr.  Values in  the
              range  8  to  15  may be used for nr and nt; larger
              values give better  compression  but  consume  more
              kernel memory for compression dictionaries.  Alter-
              natively, a value of 0 for nr or nt  disables  com-
              pression in the corresponding direction.  Use node-
              flate or deflate 0 to disable  Deflate  compression
              entirely.  (Note: pppd requests Deflate compression
              in preference to BSD-Compress if the  peer  can  do
              either.)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980413171638.50241>