mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 18:50:07 +01:00
platform/netlink: add NLA_S32 enum value for attribute type
This commit is contained in:
parent
8d0b30b243
commit
45ca7dfaf3
2 changed files with 2 additions and 0 deletions
|
|
@ -619,6 +619,7 @@ nla_nest_end(struct nl_msg *msg, struct nlattr *start)
|
|||
static const uint8_t nla_attr_minlen[NLA_TYPE_MAX + 1] = {
|
||||
[NLA_U8] = sizeof(uint8_t),
|
||||
[NLA_U16] = sizeof(uint16_t),
|
||||
[NLA_S32] = sizeof(int32_t),
|
||||
[NLA_U32] = sizeof(uint32_t),
|
||||
[NLA_U64] = sizeof(uint64_t),
|
||||
[NLA_STRING] = 1,
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ enum {
|
|||
NLA_UNSPEC, /* Unspecified type, binary data chunk */
|
||||
NLA_U8, /* 8 bit integer */
|
||||
NLA_U16, /* 16 bit integer */
|
||||
NLA_S32, /* 32 bit integer */
|
||||
NLA_U32, /* 32 bit integer */
|
||||
NLA_U64, /* 64 bit integer */
|
||||
NLA_STRING, /* NUL terminated character string */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue