diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-27 16:30:19 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-31 21:18:34 +0900 |
commit | 416e84192a0739de6ada3214fe84183f669aa8a9 (patch) | |
tree | 9b9c57bd504e59e800a0b6e282d4fa04ce4111ba /src/libsystemd/sd-netlink/netlink-internal.h | |
parent | e0df8e99935cc87886b4d700b89c53eb4eee1ca5 (diff) | |
download | systemd-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.h | 2 |
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 { |