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 [EMAIL PROTECTED] FreeBSD committer
pgp00000.pgp
Description: PGP signature