path: root/include
diff options
authorPablo Neira Ayuso <>2017-02-16 14:27:45 +0100
committerPablo Neira Ayuso <>2017-02-16 14:27:45 +0100
commit49f29c7dfebebb24560a26cfb82a4d76fcf9426f (patch)
tree1961f383bd12fcd7ed14ee68014fc73325437ca3 /include
parentb270a9d377da0ace919db064c994753efd7a9884 (diff)
common: get rid of nftnl_batch_build_hdr()
Add __nftnl_nlmsg_build_hdr() so nftnl_batch_build_hdr() and nftnl_nlmsg_build_hdr() share the same code. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include')
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libnftnl/common.h b/include/libnftnl/common.h
index b9c6ff3..f67f186 100644
--- a/include/libnftnl/common.h
+++ b/include/libnftnl/common.h
@@ -41,8 +41,8 @@ enum nftnl_parse_type {
struct nftnl_parse_err;
-struct nlmsghdr *nftnl_nlmsg_build_hdr(char *buf, uint16_t cmd, uint16_t family,
- uint16_t type, uint32_t seq);
+struct nlmsghdr *nftnl_nlmsg_build_hdr(char *buf, uint16_t type, uint16_t family,
+ uint16_t flags, uint32_t seq);
struct nftnl_parse_err *nftnl_parse_err_alloc(void);
void nftnl_parse_err_free(struct nftnl_parse_err *);