From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH] libipt_statistic Date: Mon, 02 Jul 2007 19:40:10 +0200 Message-ID: <4689387A.4050207@trash.net> References: <4688F979.60606@trash.net> <46891294.9030405@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Netfilter Development Mailinglist To: NICOLAS BOULIANE Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org NICOLAS BOULIANE wrote: > On 7/2/07, Patrick McHardy wrote: > >> It starts at zero and goes up to n - 1. So for the second >> packet you would actually use --packet 1. A bit >> counterintuitive, I agree, but too late to change. > > with --every 4 --packet 2 > [ count = every - packet ] > > in the final check: > count = 1 > every = 3 > packet = 2 > > I don't see what is starting at zero. The count. --packet n will match the n+1th packet.