From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: ctnetlink questions Date: Tue, 21 Oct 2003 22:00:32 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3F959060.3000807@trash.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Harald Welte , Netfilter Development Mailinglist Return-path: To: Henrik Nordstrom In-Reply-To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Henrik Nordstrom wrote: >On Tue, 21 Oct 2003, Patrick McHardy wrote: > > > >>Ok there's another problem, for fast lookups by id (we don't want to >>search the entire hash) we need to encode the hash chain of a tuple >>in the id. We basically have two choices now for the remaining bits: >> >> > >You can always make the userspace ID larger by including the bucket >number. There is no need to extend the ID stored in the conntrack for >this as it is already known. > >Regards >Henrik > > Ok I have to admit I didn't think of this obvious solution. Thanks again, Patrick