path: root/include/libnftables/chain.h
diff options
authorPablo Neira Ayuso <>2013-10-27 21:50:35 +0100
committerPablo Neira Ayuso <>2013-10-27 22:03:01 +0100
commitd8aec16c2b73a3f7b5183ccbe25d0522bf2f4f3c (patch)
tree4088f35bc4a929223c9703d7ba61ed44613cbe1e /include/libnftables/chain.h
parentfe59236952e037029c484b3f2ee75c658df90a9c (diff)
include: fix missing struct nlmsghdr without definition
The definition of this structure belongs to the scope of linux/netlink.h. Based on patch from Jan Engelhardt. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/libnftables/chain.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnftables/chain.h b/include/libnftables/chain.h
index d3086ea..d85a2a2 100644
--- a/include/libnftables/chain.h
+++ b/include/libnftables/chain.h
@@ -41,6 +41,8 @@ uint32_t nft_chain_attr_get_u32(struct nft_chain *c, uint16_t attr);
int32_t nft_chain_attr_get_s32(struct nft_chain *c, uint16_t attr);
uint64_t nft_chain_attr_get_u64(struct nft_chain *c, uint16_t attr);
+struct nlmsghdr;
void nft_chain_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_chain *t);
enum {