Date: Thu, 28 Dec 2006 13:21:54 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_ppp.c ng_ppp.h Message-ID: <200612281321.kBSDLsfb022830@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2006-12-28 13:21:54 UTC FreeBSD src repository Modified files: sys/netgraph ng_ppp.c ng_ppp.h Log: Before this commit, if the compression is enabled the, ng_ppp(4) node would send every outgoing frame to the "compress" hook. Packets received on the "compress" hook were expected to be compressed and PROT_COMPD tag was put on them unconditionally. After this commit an alternative compression mode can be set. In this mode the node doesn't put the PROT_COMPD, the compressor should put it itself. This is important for such kind of compressors, that can submit uncompressed frames. Before this commit, if the decompression is enabled, the ng_ppp(4) node would send and incoming frame to the "decompress" hook only if it has the PROT_COMPD proto tag on it. After this commit an alternative decompression mode can be set. In this mode the node sends all the incoming packets to the decompression hook. This is important for such kind of compressors that need uncompressed packets too, to keep their library in sync. These new features will be used in new version of mpd4, and in new compressor nodes. Submitted by: Alexander Motin <mav alkar.net> Revision Changes Path 1.58 +113 -48 src/sys/netgraph/ng_ppp.c 1.13 +14 -0 src/sys/netgraph/ng_ppp.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612281321.kBSDLsfb022830>