From owner-cvs-all Sat Sep 29 6:37:28 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id E05EC37B408; Sat, 29 Sep 2001 06:37:14 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id f8TDbAg74755; Sat, 29 Sep 2001 16:37:10 +0300 (EEST) (envelope-from ru) Date: Sat, 29 Sep 2001 16:37:10 +0300 From: Ruslan Ermilov To: Jonathan Lemon Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet if_ether.c in.c in_var.h ip_icmp.c ip_input.c ip_output.c Message-ID: <20010929163710.B73075@sunbay.com> References: <200109290434.f8T4YB458912@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109290434.f8T4YB458912@freefall.freebsd.org>; from jlemon@FreeBSD.org on Fri, Sep 28, 2001 at 09:34:11PM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Sep 28, 2001 at 09:34:11PM -0700, Jonathan Lemon wrote: > jlemon 2001/09/28 21:34:11 PDT > > Modified files: > sys/netinet if_ether.c in.c in_var.h ip_icmp.c > ip_input.c ip_output.c > Log: > Add a hash table that contains the list of internet addresses, and use > this in place of the in_ifaddr list when appropriate. This improves > performance on hosts which have a large number of IP aliases. > > Revision Changes Path > 1.83 +25 -18 src/sys/netinet/if_ether.c > 1.58 +20 -14 src/sys/netinet/in.c > 1.41 +19 -3 src/sys/netinet/in_var.h > 1.61 +21 -14 src/sys/netinet/ip_icmp.c > 1.181 +31 -18 src/sys/netinet/ip_input.c > 1.138 +3 -2 src/sys/netinet/ip_output.c > #define INADDR_HMASK (INREASS_NHASH - 1) ^^^^^^^^^^^^^ Modelled this after IP reassembly hash? :-) Please fix. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message