flowtop: Get rid of flushing flows by dumping ipv4/ipv6 tables
commite23a0ad4457fc8a0dc07c6c9c14764033a0b644a
authorVadim Kochan <vadim4j@gmail.com>
Sat, 1 Aug 2015 08:04:09 +0000 (1 11:04 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 3 Aug 2015 07:55:35 +0000 (3 09:55 +0200)
tree117968f921e2f0a9c7f7812d6e4dce7e335c38ab
parentc2e0fe0f4fd8e539ffdda6ec5656a969a1582757
flowtop: Get rid of flushing flows by dumping ipv4/ipv6 tables

Get rid of flushing connections which resets all counters.

Use dump whole ipv4/ipv6 connection tables to fullfill the existing
flows, but this needs to use hand-made flow filtering because
nfct_filter does not work when we do NFCT_Q_DUMP.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
flowtop.c