Date: Wed, 22 Apr 2009 13:47:36 +0100 From: "Bruce M. Simpson" <bms@FreeBSD.org> To: Will Andrews <will@firepipe.net> Cc: freebsd-net@freebsd.org Subject: Re: CARP as a module; followup thoughts Message-ID: <49EF11E8.508@FreeBSD.org> In-Reply-To: <2aada3410904212216o128e1fdfx8c299b3531adc694@mail.gmail.com> References: <2aada3410904212216o128e1fdfx8c299b3531adc694@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Will Andrews wrote: > Hello, > > I've written a patch (against 8.0-CURRENT as of r191369) which makes > it possible to build, load, run, & unload CARP as a module, using the > GENERIC kernel. It can be obtained from: > > http://firepipe.net/patches/carp-as-module-20090421.diff > There's no need to implement the in*_proto_register() stuff in that patch, you should just be able to re-use the encap_attach_func() functions. Look at how PIM is implemented in ip_mroute.c for an example. Other than that it looks like a good start... but would hold off on committing as-is. the more general case of registering a MAC address on an interface should be considered. cheers, BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EF11E8.508>