summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-netlink/netlink-internal.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-27 16:30:19 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-08-31 21:18:34 +0900
commit416e84192a0739de6ada3214fe84183f669aa8a9 (patch)
tree9b9c57bd504e59e800a0b6e282d4fa04ce4111ba /src/libsystemd/sd-netlink/netlink-internal.h
parente0df8e99935cc87886b4d700b89c53eb4eee1ca5 (diff)
downloadsystemd-416e84192a0739de6ada3214fe84183f669aa8a9.tar.gz
sd-netlink: introduce sd_netlink_message_get_max_attribute()
Diffstat (limited to 'src/libsystemd/sd-netlink/netlink-internal.h')
-rw-r--r--src/libsystemd/sd-netlink/netlink-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-internal.h b/src/libsystemd/sd-netlink/netlink-internal.h
index 050edaec78..299b7d660b 100644
--- a/src/libsystemd/sd-netlink/netlink-internal.h
+++ b/src/libsystemd/sd-netlink/netlink-internal.h
@@ -112,7 +112,7 @@ struct netlink_container {
const struct NLTypeSystem *type_system; /* the type system of the container */
size_t offset; /* offset from hdr to the start of the container */
struct netlink_attribute *attributes;
- unsigned short n_attributes; /* number of attributes in container */
+ uint16_t max_attribute; /* the maximum attribute in container */
};
struct sd_netlink_message {