diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-04-29 20:29:09 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-05-02 23:30:35 +0200 |
commit | 1f4b36a18d945fced71bdfc0a2e369c44b8d8fe3 (patch) | |
tree | 174dcd1856388e126ac7ee893f8ef56a97e513d6 /include/rule.h | |
parent | 797b4f343fe248ca7a516b68d93895121e574c15 (diff) |
src: consolidate nft_cache infrastructure
- prepend nft_ prefix to nft_cache API and internal functions
- move declarations to cache.h (and remove redundant declarations)
- move struct nft_cache definition to cache.h
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/rule.h')
-rw-r--r-- | include/rule.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/rule.h b/include/rule.h index 90c01e90..7896eafe 100644 --- a/include/rule.h +++ b/include/rule.h @@ -771,12 +771,6 @@ extern struct error_record *rule_postprocess(struct rule *rule); struct netlink_ctx; extern int do_command(struct netlink_ctx *ctx, struct cmd *cmd); -extern unsigned int cache_evaluate(struct nft_ctx *nft, struct list_head *cmds); -extern int cache_update(struct nft_ctx *ctx, enum cmd_ops cmd, - struct list_head *msgs); -extern bool cache_needs_update(struct nft_cache *cache); -extern void cache_release(struct nft_cache *cache); - struct timeout_protocol { uint32_t array_size; const char *const *state_to_name; |