From owner-cvs-all Sun Aug 11 5:43:44 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 967B037B400; Sun, 11 Aug 2002 05:43:37 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F74543E6A; Sun, 11 Aug 2002 05:43:37 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g7BChbN84689; Sun, 11 Aug 2002 05:43:37 -0700 (PDT) (envelope-from rizzo) Date: Sun, 11 Aug 2002 05:43:37 -0700 From: Luigi Rizzo To: Ruslan Ermilov Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_rmx.c ip_input.c ip_var.h Message-ID: <20020811054337.B84502@iguana.icir.org> References: <200208091449.g79EnNRh005472@freefall.freebsd.org> <20020809080953.B62786@iguana.icir.org> <20020811105249.GB11677@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020811105249.GB11677@sunbay.com>; from ru@FreeBSD.org on Sun, Aug 11, 2002 at 01:52:49PM +0300 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 Sun, Aug 11, 2002 at 01:52:49PM +0300, Ruslan Ermilov wrote: ... > > this reminds me... what do we gain from having one route cached ? > > Most if not all boxes talk to multiple destinations anyways, > > > This works on assumption that two or more consecutive packets to > be forwarded are for the same destination. > > > so we should rather leverage on the cache in ip_flow.c than > > use this trick. > > > Fast forwarding is incompatible with many standard things, as hinted > in the inet(4) manpage. i know that part of the code :) But the info in the ipflow cache is reliable, and kept updated. The incompatibility only comes from the fact that some processing (e.g. firewalling, ipsec) is skipped in the fastforwarding case. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message