|
@@ -3,6 +3,7 @@
|
|
|
|
|
|
#include <linux/list.h>
|
|
|
#include <linux/netfilter.h>
|
|
|
+#include <linux/netfilter/nfnetlink.h>
|
|
|
#include <linux/netfilter/x_tables.h>
|
|
|
#include <linux/netfilter/nf_tables.h>
|
|
|
#include <net/netlink.h>
|
|
@@ -521,6 +522,9 @@ void nft_unregister_chain_type(const struct nf_chain_type *);
|
|
|
int nft_register_expr(struct nft_expr_type *);
|
|
|
void nft_unregister_expr(struct nft_expr_type *);
|
|
|
|
|
|
+#define nft_dereference(p) \
|
|
|
+ nfnl_dereference(p, NFNL_SUBSYS_NFTABLES)
|
|
|
+
|
|
|
#define MODULE_ALIAS_NFT_FAMILY(family) \
|
|
|
MODULE_ALIAS("nft-afinfo-" __stringify(family))
|
|
|
|