[netsniff-ng] [PATCH 1/2] flowtop: Add tab control to switch between tables

2017-01-18 Thread Vadim Kochan
Add ui_tab API to create ui tab control to switch between different ui tables which may contain different aggregated info per unique pid/port/proto/dst/src. Meanwhile there is only 1 ui tab entry for flows table. Added some missing cds_list_{next,prev,last}_entry functions into list.h header.

[netsniff-ng] [PATCH 0/2] flowtop: Add UI tab control for process stats

2017-01-18 Thread Vadim Kochan
Add UI tab control to switch between tabbed windows for dirrent flows table statistics info per pid/peer/port. The tab entries are switched by TAB keypress. Introduced proc_entry which holds aggregated related flows statistics (rate/pkts/bytes), beside this changed flow_entry to point to

[netsniff-ng] Re: [PATCH 2/2] flowtop: Add process UI tab entry

2017-01-18 Thread Tobias Klauser
On 2017-01-18 at 14:00:25 +0100, Vadim Kochan wrote: > Add process UI tab entry to show flows statistics per pid. > > Also changed flow_entry which now has pointer to new struct proc_entry > object which contains process related info. > > On each 1 second refresh proc_entry

[netsniff-ng] Re: [PATCH 1/2] flowtop: Add tab control to switch between tables

2017-01-18 Thread Tobias Klauser
On 2017-01-18 at 14:00:24 +0100, Vadim Kochan wrote: > Add ui_tab API to create ui tab control to switch between > different ui tables which may contain different aggregated > info per unique pid/port/proto/dst/src. > > Meanwhile there is only 1 ui tab entry for flows table. >

[netsniff-ng] [PATCH v2 1/2] flowtop: Add tab control to switch between tables

2017-01-18 Thread Vadim Kochan
Add ui_tab API to create ui tab control to switch between different ui tables which may contain different aggregated info per unique pid/port/proto/dst/src. Meanwhile there is only 1 ui tab entry for flows table. Added some missing cds_list_{next,prev,last}_entry functions into

[netsniff-ng] [PATCH v2 2/2] flowtop: Add process UI tab entry

2017-01-18 Thread Vadim Kochan
Add process UI tab entry to show flows statistics per pid. Also changed flow_entry which now has pointer to new struct proc_entry object which contains process related info. On each 1 second refresh proc_entry is checked if it exists by checking /proc/ path, and is deleted if there is no any

[netsniff-ng] [PATCH v2 0/2] flowtop: Add UI tab control for process stats

2017-01-18 Thread Vadim Kochan
Add UI tab control to switch between tabbed windows for dirrent flows table statistics info per pid/peer/port. The tab entries are switched by TAB keypress. Introduced proc_entry which holds aggregated related flows statistics (rate/pkts/bytes), beside this changed flow_entry to point to