[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-net
Subject: Re: do we support non contiguous netmasks ?
From: Ruslan Ermilov <ru () freebsd ! org>
Date: 2004-03-31 9:15:34
Message-ID: 20040331091534.GA359 () ip ! net ! ua
[Download RAW message or body]
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 #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic