IP Traffic: cstats V2
commit3e048dd6e5e61f29371bca982f9ba0e84893f7bd
authorAugusto Bott <augusto@bott.com.br>
Thu, 29 Sep 2011 06:59:21 +0000 (29 03:59 -0300)
committerAugusto Bott <augusto@bott.com.br>
Thu, 29 Sep 2011 06:59:21 +0000 (29 03:59 -0300)
tree47252501ac3c70679b9300b594645c1cda2db0f9
parentf37796d11d202a21c53b7e5e4fdc3353d8b0698b
IP Traffic: cstats V2

* cstats now uses an AVL balanced binary tree for internal structures and data storage instead of plain/static arrays, used by previous versions
* enhancements on the data/storage subsystem, improved resilience
* new nvram var/option cstats_all: enable auto-discovery of new addresses for IP Traffic monitoring (admin-iptraffic.asp)
* IP Traffic Real-Time Graph updated accordingly (ipt-24.asp)
* removed unused nvram var cstats_data (saving to NVRAM was never supported anyways)
* changed default value for nvram cstats_include (no longer needed)
release/src/router/cstats/cstats.c
release/src/router/httpd/bwm.c
release/src/router/httpd/tomato.c
release/src/router/nvram/defaults.c
release/src/router/shared/tree.h [new file with mode: 0644]
release/src/router/www/admin-iptraffic.asp