do we support non contiguous netmasks ?

Ruslan Ermilov ru at freebsd.org
Wed Mar 31 01:15:44 PST 2004


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 at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040331/c7acbf45/attachment.bin


More information about the freebsd-net mailing list