IPTraffic: get rid of nested loop for realtime conntrack counting
commitee084060e1fcdc94db7c5596111e92d67b679001
authorAugusto Bott <augusto@bott.com.br>
Tue, 3 Jan 2012 11:06:22 +0000 (3 09:06 -0200)
committerAugusto Bott <augusto@bott.com.br>
Tue, 3 Jan 2012 11:06:22 +0000 (3 09:06 -0200)
treea0e56c4527624546d4f526ce8dba6aabcac0ac86
parent7b95ad8c33256927220245597c9dddca8634de65
IPTraffic: get rid of nested loop for realtime conntrack counting

* less CPU usage, replacing code on commit 7b95ad8c33256927220245597c9dddca8634de65
* moved some of the iptraffic-related stuff out of httpd/bwm.c into httpd/iptraffic.[c|h]
release/src/router/httpd/Makefile
release/src/router/httpd/bwm.c
release/src/router/httpd/iptraffic.c [new file with mode: 0644]
release/src/router/httpd/iptraffic.h [new file with mode: 0644]