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 proc_entry pid & name info. Added UI tab for per pid flows info - flows count, bytes, rates. The bytes/pkts are collected during the process living (but proc_entry is not removed till at lest one flow points to it), the rates info refreshes each 1 second per proc_entry. Re-added list.h which contains just missing cds_list_{next,prev,last}_entry functions which are needed for navigation over UI tab entries. Vadim Kochan (2): flowtop: Add tab control to switch between tables flowtop: Add process UI tab entry flowtop.c | 341 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------- list.h | 19 ++++ proc.c | 11 ++ proc.h | 2 + ui.c | 95 ++++++++++++++++- ui.h | 30 ++++++ 6 files changed, 463 insertions(+), 35 deletions(-) create mode 100644 list.h -- 2.11.0 -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.