From: Vadim Kochan <[email protected]>

Added periodic (0.5s) dump of existing and visible flow to update
packets & bytes counters.
Needs to clone nf_conntrack object for new added flow entry to
update counters for this particular flow, instead of dump entire
conntrack table. Counters are showed in human readable format in SI units.

Also added showing count of existing valid flows.

Added new sysctl module with helpers to easy set/get value from
/proc/sys.

Vadim Kochan (5):
  sysctl: Add proc sysctl set/get helpers
  flowtop: Refactor walking for each flow node by presenter
  flowtop: Add connection traffic accounting
  flowtop: Show total numbers of flows
  flowtop: Show flow bytes in human readable format

 flowtop.c        | 351 ++++++++++++++++++++++++++++++++++++-------------------
 flowtop/Makefile |   1 +
 sysctl.c         |  69 +++++++++++
 sysctl.h         |   7 ++
 4 files changed, 311 insertions(+), 117 deletions(-)
 create mode 100644 sysctl.c
 create mode 100644 sysctl.h

-- 
2.4.2

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to