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
const struct nlattr *nl_attr_find(const struct ofpbuf *, size_t hdr_len,
uint16_t type);
const struct nlattr *nl_attr_find_nested(const struct nlattr *, uint16_t type);
+const struct nlattr *nl_attr_find__(const struct nlattr *attrs, size_t size,
+ uint16_t type);
#endif /* netlink.h */