From owner-freebsd-hackers Sun Oct 20 14: 0:11 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 65F0537B401 for ; Sun, 20 Oct 2002 14:00:09 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AC4543E65 for ; Sun, 20 Oct 2002 14:00:09 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021020210008.WJDZ11892.rwcrmhc52.attbi.com@InterJet.elischer.org>; Sun, 20 Oct 2002 21:00:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA19236; Sun, 20 Oct 2002 13:43:43 -0700 (PDT) Date: Sun, 20 Oct 2002 13:43:42 -0700 (PDT) From: Julian Elischer To: Steve Tremblett Cc: freebsd-hackers@freebsd.org Subject: Re: dumb Q: netgraph node init? In-Reply-To: <20021020141042.B20092@sjt-u10.cisco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 20 Oct 2002, Steve Tremblett wrote: > 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? ng_ether nodes are attached automatically to all exisiting ethernet interfaces. ng_pppoe nodes are only created when you ask for one. do a 'types' commnad in ngctl to see possible types to make. > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message