From owner-freebsd-net@FreeBSD.ORG Wed Apr 22 10:08:15 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A5391065674 for ; Wed, 22 Apr 2009 10:08:15 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE388FC1F for ; Wed, 22 Apr 2009 10:08:15 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 141882FC89A; Wed, 22 Apr 2009 06:08:14 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 22 Apr 2009 06:08:14 -0400 X-Sasl-enc: 4JG5pJJmeCIO09FfmVQwtlAoTAbPES7pBwvpL/sDVz3c 1240394893 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 7BA0C3100C; Wed, 22 Apr 2009 06:08:13 -0400 (EDT) Message-ID: <49EEEC8B.7080109@incunabulum.net> Date: Wed, 22 Apr 2009 11:08:11 +0100 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Will Andrews References: <2aada3410904212216o128e1fdfx8c299b3531adc694@mail.gmail.com> In-Reply-To: <2aada3410904212216o128e1fdfx8c299b3531adc694@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: CARP as a module; followup thoughts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 10:08:15 -0000 Will Andrews wrote: > I'm sure most of this sounds like rambling from a crazed lunatic or > something, but I'm also sure most who understand my patch agree that > it isn't the nicest of ways to make it possible to load carp (or any > other protocol) as a module. > Not at all. It is a mess to be sure. One of the criticisms of Netgraph is that it is poorly understood outside of its immediate developer community. The BSD networking stack has a number of textbooks written for it, Netgraph does not, and it probably factored into the decision of Itronix to sponsor a from-scratch implementation of Bluetooth for NetBSD -- netgraph has been considered 'a bridge too far', to score a cheesy pun. It has also been criticised for performance, although I am not in a position to judge either way at the moment, I simply don't have all the information to hand, and am busy doing other things often. I don't have time to look at your patch right now, unfortunately, but can try to make time when less pressed. When I last looked at the CARP hooks, during the ether_input() cleanup, all that was really missing was the ability to register soft MAC addresses in the perfect hash filter entries other than the one programmed into the card (or configured via ifconfig(8) mechanisms). cheers BMS