Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2004 20:20:26 +0200
From:      Vincent Jardin <vjardin@free.fr>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>, Luigi Rizzo <rizzo@icir.org>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: ia_netbroadcast
Message-ID:  <200405182020.28286.vjardin@free.fr>
In-Reply-To: <20040518100503.GG845@darkness.comp.waw.pl>
References:  <20040518092439.GF845@darkness.comp.waw.pl> <20040518024346.A5068@xorpc.icir.org> <20040518100503.GG845@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
> +> This said, how do you plan to handle the alias search, by
> +> implementing a per-interface hash table containing the
> +> addresses and broadcast addresses ?
>
> First I want to find all places that need fast processing and it probably
> needs hash tables for IPs and broadcasts, but I'm not sure if that's all.

Why not a lookup using Patricia ? It is very efficient, moreover it is alre=
ady=20
provided by net/radix.c

Regards,
  Vincent



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405182020.28286.vjardin>