From owner-freebsd-net@FreeBSD.ORG Tue May 18 14:55:36 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCA5F16A4D0; Tue, 18 May 2004 14:55:36 -0700 (PDT) Received: from venus.vincentjardin.net (lns-p19-19-82-65-139-241.adsl.proxad.net [82.65.139.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32E2D43DE4; Tue, 18 May 2004 11:15:10 -0700 (PDT) (envelope-from jardin@venus.vincentjardin.net) Received: from venus.vincentjardin.net (localhost [127.0.0.1]) i4IIKTGp006032; Tue, 18 May 2004 20:20:29 +0200 (CEST) (envelope-from jardin@venus.vincentjardin.net) Received: from localhost (localhost [[UNIX: localhost]]) by venus.vincentjardin.net (8.12.9/8.12.9/Submit) id i4IIKSiR006031; Tue, 18 May 2004 20:20:28 +0200 (CEST) From: Vincent Jardin To: Pawel Jakub Dawidek , Luigi Rizzo Date: Tue, 18 May 2004 20:20:26 +0200 User-Agent: KMail/1.5.2 References: <20040518092439.GF845@darkness.comp.waw.pl> <20040518024346.A5068@xorpc.icir.org> <20040518100503.GG845@darkness.comp.waw.pl> In-Reply-To: <20040518100503.GG845@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200405182020.28286.vjardin@free.fr> cc: freebsd-net@FreeBSD.org Subject: Re: ia_netbroadcast X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 21:55:36 -0000 > +> 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