Re: do we support non contiguous netmasks ?
From: Ruslan Ermilov (ru_at_freebsd.org)
Date: 03/31/04
- Previous message: Luigi Rizzo: "do we support non contiguous netmasks ?"
- In reply to: Luigi Rizzo: "do we support non contiguous netmasks ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 12:15:34 +0300 To: Luigi Rizzo <rizzo@icir.org>
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
- application/pgp-signature attachment: stored
- Previous message: Luigi Rizzo: "do we support non contiguous netmasks ?"
- In reply to: Luigi Rizzo: "do we support non contiguous netmasks ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|