Author: deri
Date: 2012-12-25 20:47:58 +0100 (Tue, 25 Dec 2012)
New Revision: 5877

Modified:
   trunk/PF_RING/kernel/linux/pf_ring.h
   trunk/PF_RING/kernel/pf_ring.c
   trunk/PF_RING/userland/examples/pfcount.c
   trunk/PF_RING/userland/examples/pfsend.c
   trunk/PF_RING/userland/lib/pfring.c
   trunk/PF_RING/userland/lib/pfring.h
   trunk/PF_RING/userland/lib/pfring_mod.c
   trunk/PF_RING/userland/lib/pfring_mod.h
Log:
Added ability to create a stats file under /proc/net/pf_ring/stats so that
applications can report stats via the /proc filesystem.

Added
- pfring_set_application_stats() for reporting stats
- pfring_get_appl_stats_file_name() for getting the exac filename
  where the app sets the statistics

update pfcount and pfsend to report stats using these new primitives


_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to