From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Date: Wed, 27 Jun 2007 03:16:53 +0000 Subject: Re: [LARTC] Load Balance and SNAT problem. Message-Id: <4681D6A5.2090700@riverviewtech.net> List-Id: References: <7e47206b0706242007q487365d3gb7c12658b9669edd@mail.gmail.com> In-Reply-To: <7e47206b0706242007q487365d3gb7c12658b9669edd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On 6/26/2007 10:07 PM, Salim S I wrote: > for (rth = rt_hash_table[hash].chain; rth; rth = rth->u.rt_next) > { > if (rth->key.dst = key->dst && > rth->key.src = key->src && > rth->key.iif = 0 && > rth->key.oif = key->oif && > #ifdef CONFIG_IP_ROUTE_FWMARK > rth->key.fwmark = key->fwmark && > #endif > !((rth->key.tos ^ key->tos) & > (IPTOS_RT_MASK | RTO_ONLINK))) I'm no C programmer, but it looks like the source, destination, in interface, and out interface are all part of the conditional, thus leading us to believe that caching (?) might be per combination of all the above? Grant. . . . _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc