From owner-freebsd-net@FreeBSD.ORG Tue May 18 03:05:12 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 1B13B16A4CE for ; Tue, 18 May 2004 03:05:12 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8C9D43D6B for ; Tue, 18 May 2004 03:05:04 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 30A5BACAF1; Tue, 18 May 2004 12:05:03 +0200 (CEST) Date: Tue, 18 May 2004 12:05:03 +0200 From: Pawel Jakub Dawidek To: Luigi Rizzo Message-ID: <20040518100503.GG845@darkness.comp.waw.pl> References: <20040518092439.GF845@darkness.comp.waw.pl> <20040518024346.A5068@xorpc.icir.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="g+nE7Lp8ucACtfsu" Content-Disposition: inline In-Reply-To: <20040518024346.A5068@xorpc.icir.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 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 10:05:12 -0000 --g+nE7Lp8ucACtfsu Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 18, 2004 at 02:43:46AM -0700, Luigi Rizzo wrote: +> On Tue, May 18, 2004 at 11:24:39AM +0200, Pawel Jakub Dawidek wrote: +> > Hi. +> >=20 +> > Do we still need ia_netboradcast field? It is calculated depending on +> > old-fashion classes (A, B, C). Is it used still? +> > I wonder if ia_broadaddr isn't sufficient today. +>=20 +> not just that, it seems that ia_netboradcast contains bogus info. So? +> 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. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --g+nE7Lp8ucACtfsu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAqd/PForvXbEpPzQRAmchAKCQHB8KmMY3RH17R+21D90U9yD2SACfSn4M BXBbVPX6t6OmvEewUf1/Lc0= =22i5 -----END PGP SIGNATURE----- --g+nE7Lp8ucACtfsu--