]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: add cache infrastructure and use it for table objects
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 26 Jun 2015 09:33:22 +0000 (11:33 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Aug 2015 23:13:35 +0000 (01:13 +0200)
commitbd21392a7cdfefdd4a069707da31474da5fe9458
tree7420311471ac381318b7d36ef014d69af71258fe
parent94002b41384890224bfb14d1b0986bd8b279b17e
src: add cache infrastructure and use it for table objects

This patch introduces the generic object cache that is populated during the
evaluation phase.

The first client of this infrastructure are table objects. As a result, there
is a single call to netlink_list_tables().

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/rule.h
src/cli.c
src/evaluate.c
src/main.c
src/rule.c