From owner-cvs-src@FreeBSD.ORG Wed Aug 9 09:56:58 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC15616A4DE; Wed, 9 Aug 2006 09:56:58 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 542C943D49; Wed, 9 Aug 2006 09:56:58 +0000 (GMT) (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 k799uwIm031972; Wed, 9 Aug 2006 09:56:58 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k799uw9F031971; Wed, 9 Aug 2006 09:56:58 GMT (envelope-from glebius) Message-Id: <200608090956.k799uw9F031971@repoman.freebsd.org> From: Gleb Smirnoff Date: Wed, 9 Aug 2006 09:56:58 +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/share/man/man4 ng_pppoe.4 src/sys/netgraph ng_pppoe.c ng_pppoe.h 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: Wed, 09 Aug 2006 09:56:58 -0000 glebius 2006-08-09 09:56:58 UTC FreeBSD src repository Modified files: share/man/man4 ng_pppoe.4 sys/netgraph ng_pppoe.c ng_pppoe.h Log: Fix ng_pppoe(4) after turning off "autosrc feature" on ng_ether(4). - Store the Ethernet header in node softc. - Initialize header with dst addr and ethertype in node constructor method. - In node connect method send NGM_ETHER_GET_ENADDR message downwards. - If received reply from ng_ether(4) store the src addr in softc. - Add NGM_PPPOE_SETENDADDR message that allows user to override the address with whatever he/she wants. Revision Changes Path 1.35 +19 -2 src/share/man/man4/ng_pppoe.4 1.80 +72 -20 src/sys/netgraph/ng_pppoe.c 1.24 +2 -1 src/sys/netgraph/ng_pppoe.h