summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKristian Evensen <kristian.evensen@gmail.com>2018-09-03 18:28:20 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-09-17 12:04:14 +0200
commit59c08c69c2788612f1afd199c5c87d9df8b8a356 (patch)
tree29ab6d518212b5bfecff80e93f1beb2a593a4248 /tools/perf/scripts/python/export-to-postgresql.py
parent6c47260250fc6114ce2012db13e1cd3938a27b73 (diff)
netfilter: ctnetlink: Support L3 protocol-filter on flush
The same connection mark can be set on flows belonging to different address families. This commit adds support for filtering on the L3 protocol when flushing connection track entries. If no protocol is specified, then all L3 protocols match. In order to avoid code duplication and a redundant check, the protocol comparison in ctnetlink_dump_table() has been removed. Instead, a filter is created if the GET-message triggering the dump contains an address family. ctnetlink_filter_match() is then used to compare the L3 protocols. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions