NL_A_UNSPEC,
NL_A_U8,
NL_A_U16,
+ NL_A_BE16 = NL_A_U16,
NL_A_U32,
+ NL_A_BE32 = NL_A_U32,
NL_A_U64,
+ NL_A_BE64 = NL_A_U64,
NL_A_STRING,
NL_A_FLAG,
NL_A_NESTED,
static inline struct nlattr *
nl_attr_next(const struct nlattr *nla)
{
- return (struct nlattr *) ((uint8_t *) nla + NLA_ALIGN(nla->nla_len));
+ return (void *) ((uint8_t *) nla + NLA_ALIGN(nla->nla_len));
}
static inline bool