From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Craig Subject: Re: Shortcuts to counting rules? Date: Fri, 31 Oct 2008 11:39:59 +1000 Message-ID: <490A61EF.6010606@snapgear.com> References: <4908FDE9.7040006@hp.com> <49090A3D.40102@snapgear.com> <4909E386.1000405@hp.com> <490A0117.4090501@hp.com> <490A5EAA.9000000@hp.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <490A5EAA.9000000@hp.com> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Rick Jones Cc: netfilter@vger.kernel.org Rick Jones wrote: > In messing about further and at the risk of yet another emily litella > moment (I have no pride when I'm trying to learn something new :) with > what the getsockopt(IPT_SO_GET_INFO) returns vs what I get by iterating > with libiptc calls, I take it that I cannot just use num_entries from > ipt_getinfo but have to retrieve the entries and run through them > skipping over chain entries? Getting beyond my knowledge sorry. Try asking on the netfilter-devel list.