Date: Thu, 28 Dec 2006 16:35:25 +0300 From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netgraph ng_ppp.c ng_ppp.h Message-ID: <20061228133525.GN46380@FreeBSD.org> In-Reply-To: <200612281321.kBSDLsfb022830@repoman.freebsd.org> References: <200612281321.kBSDLsfb022830@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 28, 2006 at 01:21:54PM +0000, Gleb Smirnoff wrote: T> glebius 2006-12-28 13:21:54 UTC T> T> FreeBSD src repository T> T> Modified files: T> sys/netgraph ng_ppp.c ng_ppp.h T> Log: T> Before this commit, if the compression is enabled the, ng_ppp(4) T> node would send every outgoing frame to the "compress" hook. T> Packets received on the "compress" hook were expected to be T> compressed and PROT_COMPD tag was put on them unconditionally. T> T> After this commit an alternative compression mode can be set. T> In this mode the node doesn't put the PROT_COMPD, the compressor T> should put it itself. This is important for such kind of T> compressors, that can submit uncompressed frames. T> T> Before this commit, if the decompression is enabled, the ng_ppp(4) T> node would send and incoming frame to the "decompress" hook T> only if it has the PROT_COMPD proto tag on it. T> T> After this commit an alternative decompression mode can be set. T> In this mode the node sends all the incoming packets to the T> decompression hook. This is important for such kind of compressors T> that need uncompressed packets too, to keep their library in sync. T> T> These new features will be used in new version of mpd4, and in new T> compressor nodes. T> T> Submitted by: Alexander Motin <mav alkar.net> This commit obfuscates ng_ppp_input() further. We have plans to toss some code in the ng_ppp(4), utilizing per-hook receive data methods to make its input code path more clear for reading. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061228133525.GN46380>