diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-10-27 21:50:35 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-10-27 22:03:01 +0100 |
commit | d8aec16c2b73a3f7b5183ccbe25d0522bf2f4f3c (patch) | |
tree | 4088f35bc4a929223c9703d7ba61ed44613cbe1e /include/libnftables/rule.h | |
parent | fe59236952e037029c484b3f2ee75c658df90a9c (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 <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/rule.h')
-rw-r--r-- | include/libnftables/rule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h index 09d4637..a501d2d 100644 --- a/include/libnftables/rule.h +++ b/include/libnftables/rule.h @@ -39,6 +39,8 @@ uint64_t nft_rule_attr_get_u64(const struct nft_rule *r, uint16_t attr); void nft_rule_add_expr(struct nft_rule *r, struct nft_rule_expr *expr); +struct nlmsghdr; + void nft_rule_nlmsg_build_payload(struct nlmsghdr *nlh, struct nft_rule *t); enum { |