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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 > 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, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAaow2Ukv4P6juNwoRAs2SAJwLTWN6Xq5fNPfTVRq+35jvNqLFoACfYrwt 003GwtXk/ureKnTJZBCm4ms= =ttKa -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040331091534.GA359>
