aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorYi-Hung Wei <[email protected]>2018-03-04 15:29:52 -0800
committerPablo Neira Ayuso <[email protected]>2018-03-20 13:27:18 +0100
commit35d8deb80c30fdb2dee3e2dac71eab00d8a6fed5 (patch)
treed9922affc365bbb0770c0c46bba7c9263b904e95 /tools/perf/scripts/python/netdev-times.py
parent6aec208786c2a54cbf6135a0242b224e845bef98 (diff)
netfilter: conncount: Support count only use case
Currently, nf_conncount_count() counts the number of connections that matches key and inserts a conntrack 'tuple' with the same key into the accounting data structure. This patch supports another use case that only counts the number of connections where 'tuple' is not provided. Therefore, proper changes are made on nf_conncount_count() to support the case where 'tuple' is NULL. This could be useful for querying statistics or debugging purpose. Signed-off-by: Yi-Hung Wei <[email protected]> Acked-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions