Date: Wed, 31 Mar 2004 12:15:34 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Luigi Rizzo <rizzo@icir.org> Cc: net@freebsd.org Subject: Re: do we support non contiguous netmasks ? Message-ID: <20040331091534.GA359@ip.net.ua> In-Reply-To: <20040331005914.A6934@xorpc.icir.org> References: <20040331005914.A6934@xorpc.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 31, 2004 at 12:59:14AM -0800, Luigi Rizzo wrote: > Hi, > i was wondering if anyone knows what kind of support we have > in FreeBSD networking code, for non contiguous netmasks. > While it is trivial to support them for interface addresses, > managing them in the routing table is probably far from trivial > and I believe also mostly useless... and anyways, i have no > idea how our kernel code deals with them >=20 Yes, our generic routing code that uses PATRICIA trees supports non-contiguos netmasks (see net/radix.c) but its current version has been opmimized for contiguous netmasks. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAaow2Ukv4P6juNwoRAs2SAJwLTWN6Xq5fNPfTVRq+35jvNqLFoACfYrwt 003GwtXk/ureKnTJZBCm4ms= =ttKa -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040331091534.GA359>