Re: do we support non contiguous netmasks ?

From: Ruslan Ermilov (ru_at_freebsd.org)
Date: 03/31/04

  • Next message: Daniel Ortiz: "About ET/BWMGR"
    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
    
    



  • Next message: Daniel Ortiz: "About ET/BWMGR"

    Relevant Pages

    • Re: do we support non contiguous netmasks ?
      ... > i was wondering if anyone knows what kind of support we have ... > in FreeBSD networking code, for non contiguous netmasks. ... non-contiguous masks need to go. ...
      (freebsd-net)
    • do we support non contiguous netmasks ?
      ... in FreeBSD networking code, for non contiguous netmasks. ... While it is trivial to support them for interface addresses, ... To unsubscribe, ...
      (freebsd-net)