From owner-freebsd-current Wed Nov 6 13: 3: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C96737B404; Wed, 6 Nov 2002 13:03:02 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1F5E43E88; Wed, 6 Nov 2002 13:03:01 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id gA6L2qpk047905; Wed, 6 Nov 2002 14:02:52 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 06 Nov 2002 14:02:27 -0700 (MST) Message-Id: <20021106.140227.66271045.imp@bsdimp.com> To: julian@elischer.org Cc: myevmenk@exodus.net, current@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: Netgraph and KQUEUE(2) From: "M. Warner Losh" In-Reply-To: References: <20021106.125555.20031393.imp@bsdimp.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: Julian Elischer writes: : Ok but there cound be netgraph nodes that have no hardware but could be : called into creation by some external event. : e.g. a netgraph hook on a pseudointerface like gif or tun. : (not at present but a possibility I was looking at last week) There's an API that one could expose that would allow these sorts of things to be passed to devd. If it is a true interface, then one can discover that with routing announcements, iirc. I'd personally like to see all things in the kernel in the device tree, but there's some good reasons that this might be a touch too radical. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message