From owner-freebsd-hackers Sun Oct 20 11:10:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67F0037B401 for ; Sun, 20 Oct 2002 11:10:49 -0700 (PDT) Received: from cisco.com (sword.cisco.com [161.44.208.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F22543E77 for ; Sun, 20 Oct 2002 11:10:48 -0700 (PDT) (envelope-from sjt@cisco.com) Received: from sjt-u10.cisco.com (sjt-u10.cisco.com [10.85.30.63]) by cisco.com (8.8.5-Cisco.1/8.8.8) with ESMTP id OAA05272 for ; Sun, 20 Oct 2002 14:10:42 -0400 (EDT) Received: (sjt@localhost) by sjt-u10.cisco.com (8.8.5-Cisco.1/CISCO.WS.1.2) id OAA23582 for freebsd-hackers@freebsd.org; Sun, 20 Oct 2002 14:10:42 -0400 (EDT) Date: Sun, 20 Oct 2002 14:10:42 -0400 From: Steve Tremblett To: freebsd-hackers@freebsd.org Subject: dumb Q: netgraph node init? Message-ID: <20021020141042.B20092@sjt-u10.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to find how netgraph nodes are initialized. Basically my question is about runtime dynamic initialization. I have NETGRAPH_ETHER and NETGRAPH_PPPOE in my kernel config. I don't start pppoe at boot time. Before ppp is up, ngctl shows ng_ether but not pppoe. What defines how ng_ether is loaded and hooked at boot time as opposed to ng_pppoe loaded and hooked automatically? If someone could point me to the appropriate code it would be much appreciated! -- Steve Tremblett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message