diff options
Diffstat (limited to 'include/nftables.h')
-rw-r--r-- | include/nftables.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/nftables.h b/include/nftables.h index d6d9b9cc..d49eb579 100644 --- a/include/nftables.h +++ b/include/nftables.h @@ -123,6 +123,7 @@ struct nft_ctx { bool check; struct nft_cache cache; uint32_t flags; + uint32_t optimize_flags; struct parser_state *state; void *scanner; struct scope *top_scope; @@ -224,6 +225,8 @@ int nft_print(struct output_ctx *octx, const char *fmt, ...) int nft_gmp_print(struct output_ctx *octx, const char *fmt, ...) __attribute__((format(printf, 2, 0))); +int nft_optimize(struct nft_ctx *nft, struct list_head *cmds); + #define __NFT_OUTPUT_NOTSUPP UINT_MAX #endif /* NFTABLES_NFTABLES_H */ |