summaryrefslogtreecommitdiffstats
path: root/iptables/nft-cache.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-04-21 15:52:14 +0200
committerPhil Sutter <phil@nwl.cc>2023-05-03 19:11:55 +0200
commit4c923250269f9ef4a7b4235f4dc127b04932a8eb (patch)
tree9a370a1990ac6c22f7c43e2b630c7bb66ee1edfb /iptables/nft-cache.h
parent674e7c0f639f2322dcc7eee67aa9c3d52fa3ee65 (diff)
nft: ruleparse: Create family-specific source files
Extract the remaining nftnl rule parsing code from nft-<family>.c sources into dedicated ones to complete the separation. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-cache.h')
-rw-r--r--iptables/nft-cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/nft-cache.h b/iptables/nft-cache.h
index 58a01526..29ec6b5c 100644
--- a/iptables/nft-cache.h
+++ b/iptables/nft-cache.h
@@ -1,6 +1,8 @@
#ifndef _NFT_CACHE_H_
#define _NFT_CACHE_H_
+#include <libnftnl/chain.h>
+
struct nft_handle;
struct nft_chain;
struct nft_cmd;