From owner-freebsd-net@FreeBSD.ORG Fri Jan 17 20:18:26 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB9A733D for ; Fri, 17 Jan 2014 20:18:26 +0000 (UTC) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 9A53516B2 for ; Fri, 17 Jan 2014 20:18:25 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id F37957300A; Fri, 17 Jan 2014 21:20:50 +0100 (CET) Date: Fri, 17 Jan 2014 21:20:50 +0100 From: Luigi Rizzo To: Olivier Cochard-Labb? Subject: Re: Problems with netmap pkt-gen (ip range and packet counter) Message-ID: <20140117202050.GC62555@onelab2.iet.unipi.it> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 20:18:26 -0000 On Fri, Jan 17, 2014 at 08:16:46PM +0100, Olivier Cochard-Labb? wrote: > On Mon, Dec 23, 2013 at 11:16 AM, Olivier Cochard-Labb? > wrote: > > > > > My second problem is with the latest -current version of pkt-gen only: The > > first time (and only the first time) I'm using the pk-gen in sender mode > > with a max number of packet (-n option) to send: It doesn't stop and > > doesn't exit automatically when counter is reached. sorry if i forgot to answer: if there is a difference between the first and subsequent run it is possibly a memory initialization problem. cheers luigi