diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2023-11-21 19:48:36 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2023-11-25 20:03:06 +0100 |
commit | d6899bf3147c5abc3d474ecdca48a841f41855a6 (patch) | |
tree | 1d7bb93876b55bc02bef4fd754ead5310bec319b | |
parent | 3344aacf69fbe6e766ce0a0a35fa51975c1f52e5 (diff) |
netlink: Add workaround for missing NLM_F_ACK_TLVS and NLM_F_CAPPED
The feature for NETLINK_EXT_ACK also adds two additional flags. These
are NLM_F_ACK_TLVS and NLM_F_CAPPED and need to be defined as well to
be able to use the extended ACK feature.
-rw-r--r-- | ell/netlink-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ell/netlink-private.h b/ell/netlink-private.h index 0a1b016d..fdb584e6 100644 --- a/ell/netlink-private.h +++ b/ell/netlink-private.h @@ -27,6 +27,8 @@ enum nlmsgerr_attrs { NLMSGERR_ATTR_MSG, NLMSGERR_ATTR_OFFS, }; +#define NLM_F_CAPPED 0x100 +#define NLM_F_ACK_TLVS 0x200 #endif bool netlink_parse_ext_ack_error(const struct nlmsghdr *nlmsg, |