From owner-cvs-src@FreeBSD.ORG Thu Jan 25 21:16:51 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5137816A405; Thu, 25 Jan 2007 21:16:51 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2B1D513C45B; Thu, 25 Jan 2007 21:16:51 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0PLGpS5041638; Thu, 25 Jan 2007 21:16:51 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0PLGpBf041637; Thu, 25 Jan 2007 21:16:51 GMT (envelope-from glebius) Message-Id: <200701252116.l0PLGpBf041637@repoman.freebsd.org> From: Gleb Smirnoff Date: Thu, 25 Jan 2007 21:16:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_ppp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2007 21:16:51 -0000 glebius 2007-01-25 21:16:50 UTC FreeBSD src repository Modified files: sys/netgraph ng_ppp.c Log: - Create ng_ppp_bypass() function, that prepares a packet with bypass header, to send it out to userland. - Use ng_ppp_bypass() in ng_ppp_proto_recv(). - Use ng_ppp_bypass() in ng_ppp_comp_recv() and in ng_ppp_crypt_recv() if compression or encryption is disabled, respectively. - Any LCP packet goes directly to ng_ppp_bypass(), instead of passing through PPP stack. - Any non-LCP packet on disabled link is discarded. This is behavior defined in RFC. Submitted by: Alexander Motin Revision Changes Path 1.62 +66 -30 src/sys/netgraph/ng_ppp.c