platform/netlink: add NLA_S32 enum value for attribute type
This commit is contained in:
@@ -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] = {
|
static const uint8_t nla_attr_minlen[NLA_TYPE_MAX + 1] = {
|
||||||
[NLA_U8] = sizeof(uint8_t),
|
[NLA_U8] = sizeof(uint8_t),
|
||||||
[NLA_U16] = sizeof(uint16_t),
|
[NLA_U16] = sizeof(uint16_t),
|
||||||
|
[NLA_S32] = sizeof(int32_t),
|
||||||
[NLA_U32] = sizeof(uint32_t),
|
[NLA_U32] = sizeof(uint32_t),
|
||||||
[NLA_U64] = sizeof(uint64_t),
|
[NLA_U64] = sizeof(uint64_t),
|
||||||
[NLA_STRING] = 1,
|
[NLA_STRING] = 1,
|
||||||
|
@@ -31,6 +31,7 @@ enum {
|
|||||||
NLA_UNSPEC, /* Unspecified type, binary data chunk */
|
NLA_UNSPEC, /* Unspecified type, binary data chunk */
|
||||||
NLA_U8, /* 8 bit integer */
|
NLA_U8, /* 8 bit integer */
|
||||||
NLA_U16, /* 16 bit integer */
|
NLA_U16, /* 16 bit integer */
|
||||||
|
NLA_S32, /* 32 bit integer */
|
||||||
NLA_U32, /* 32 bit integer */
|
NLA_U32, /* 32 bit integer */
|
||||||
NLA_U64, /* 64 bit integer */
|
NLA_U64, /* 64 bit integer */
|
||||||
NLA_STRING, /* NUL terminated character string */
|
NLA_STRING, /* NUL terminated character string */
|
||||||
|
Reference in New Issue
Block a user