about summary refs log tree commit diff
path: root/src/libnm-platform/nm-netlink.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-12-03 22:59:09 +0100
committerMichael Biebl <biebl@debian.org>2022-12-03 22:59:09 +0100
commit06356c8ac470c1fa46f881b0598ec48a653e69ae (patch)
tree42e7714b4caedf4d23ebefd42d8d0afebc6f3569 /src/libnm-platform/nm-netlink.h
parent78ecd0c8a4a337e38470f3fae5db74daf61ba86a (diff)
parent372b62c2c25eb1f2e811f84849e9b69c40ae6245 (diff)
Merge branch 'debian/master' into debian/bullseye-backports
Diffstat (limited to 'src/libnm-platform/nm-netlink.h')
-rw-r--r--src/libnm-platform/nm-netlink.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libnm-platform/nm-netlink.h b/src/libnm-platform/nm-netlink.h
index 44ed70af..634be2b4 100644
--- a/src/libnm-platform/nm-netlink.h
+++ b/src/libnm-platform/nm-netlink.h
@@ -393,13 +393,11 @@ nla_parse_nested(struct nlattr           *tb[],
 
 /*****************************************************************************/
 
-struct nl_msg *nlmsg_alloc(void);
-
-struct nl_msg *nlmsg_alloc_size(size_t max);
+struct nl_msg *nlmsg_alloc(size_t len);
 
 struct nl_msg *nlmsg_alloc_convert(struct nlmsghdr *hdr);
 
-struct nl_msg *nlmsg_alloc_simple(uint16_t nlmsgtype, uint16_t flags);
+struct nl_msg *nlmsg_alloc_new(size_t size, uint16_t nlmsgtype, uint16_t flags);
 
 void *nlmsg_reserve(struct nl_msg *n, uint32_t len, uint32_t pad);