Re: [netsniff-ng] Adjusting PPS ?

2016-01-05 Thread Vadim Kochan
On Mon, Dec 14, 2015 at 4:13 PM, Burak Özalp wrote: > Thank you it works!! > > > On 14-12-2015 15:51, Daniel Borkmann wrote: >> >> On 12/14/2015 02:45 PM, Burak Özalp wrote: >>> >>> Hi everbody, >>> >>> I recently use trafgen, it is very useful and with your helps,

[netsniff-ng] Re: [PATCH v2] trafgen: Add option to specify packets sending rate

2016-01-05 Thread Tobias Klauser
On 2015-12-28 at 10:19:12 +0100, Vadim Kochan wrote: > On Fri, Dec 25, 2015 at 03:19:59AM +0200, Vadim Kochan wrote: > > On Wed, Dec 23, 2015 at 10:58:32PM +0200, Vadim Kochan wrote: > > > On Wed, Dec 23, 2015 at 10:31:23PM +0200, Vadim Kochan wrote: > > > > Added -b,--rate

[netsniff-ng] [PATCH 1/2] flowtop: Use one func to update flow entry

2016-01-05 Thread Vadim Kochan
Seems there is no need to have 2 separate handlers for the flow updating, so use one which was used for flow refreshing. Significant change is that new entry will be not added if it was not found in the list, but such case should not happen. Signed-off-by: Vadim Kochan ---

[netsniff-ng] [PATCH 0/2] flowtop: Simplify flows dump & refreshing

2016-01-05 Thread Vadim Kochan
Use one nfct handler for flows dump, refreshing & events to make code simpler. Vadim Kochan (2): flowtop: Use one func to update flow entry flowtop: Use one nfct handle for dump & refresh flows flowtop.c | 96 ++- 1 file changed,

[netsniff-ng] [PATCH 2/2] flowtop: Use one nfct handle for dump & refresh flows

2016-01-05 Thread Vadim Kochan
Simplify dump & flows refreshing via one nfct handle, which is enough. Signed-off-by: Vadim Kochan --- flowtop.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/flowtop.c b/flowtop.c index cc5ffa2..4c15c06 100644 --- a/flowtop.c +++