From owner-freebsd-net@FreeBSD.ORG Thu Oct 7 00:16:39 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BF8716A4D6 for ; Thu, 7 Oct 2004 00:16:39 +0000 (GMT) Received: from outbound0.sv.meer.net (outbound0.sv.meer.net [205.217.152.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4546943D3F for ; Thu, 7 Oct 2004 00:16:37 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) i970G7vr067430; Wed, 6 Oct 2004 17:16:07 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (pc1.oakwoodazabu1-unet.ocn.ne.jp [220.110.140.201]) by mail.meer.net (8.12.10/8.12.2/meer) with ESMTP id i970F87h006938; Wed, 6 Oct 2004 17:15:11 -0700 (PDT) (envelope-from gnn@neville-neil.com) Date: Thu, 07 Oct 2004 09:15:00 +0900 Message-ID: From: "George V. Neville-Neil" To: Max Laier In-Reply-To: <200410061823.24492.max@love2party.net> References: <41640CEE.9070900@web.de> <200410061823.24492.max@love2party.net> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.5 Emacs/21.2 (powerpc-apple-darwin) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: freebsd-net@freebsd.org cc: Waldemar Kornewald Subject: Re: modularization X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 00:16:39 -0000 At Wed, 6 Oct 2004 18:23:17 +0200, Max Laier wrote: > Given the additional locking requirements and the additional checks, lookups > and function calls I hardly believe that it is a good idea. There might be > protocols that are easily plugged, but you can certainly do them at the > netgraph layer as well. Netgraph is a interesting thing to look at in any > case, when talking modularity. One other model to look at is The Click Modular Router, which is about modularizing the routing part of the code, as opposed to the end station code. Look at http://www.xorp.org because Click, and FreeBSD are in there. I have always thought that a network protocol toolkit would be a good thing, but admit that I have never had time to do the required work on our stack. It would take a lot of reworking to get it right, as others have pointed out already. But... If you do it, I want to know about it :-) Later, George