Home
last modified time | relevance | path

Searched refs:NLA_ALIGN (Results 1 – 4 of 4) sorted by relevance

/include/net/
Drtnh.h18 int totlen = NLA_ALIGN(rtnh->rtnh_len); in rtnh_next()
26 return (struct nlattr *) ((char *) rtnh + NLA_ALIGN(sizeof(*rtnh))); in rtnh_attrs()
31 return rtnh->rtnh_len - NLA_ALIGN(sizeof(*rtnh)); in rtnh_attrlen()
Dnetlink.h1047 return NLA_ALIGN(nla_attr_size(payload)); in nla_total_size()
1108 unsigned int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
1826 return NLA_ALIGN(nla_attr_size(payload)) in nla_total_size_64bit()
1828 + NLA_ALIGN(nla_attr_size(0)) in nla_total_size_64bit()
/include/uapi/linux/
Dnetlink.h231 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro
232 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
/include/linux/
Dgenl_magic_func.h290 .hdrsize = NLA_ALIGN(GENL_MAGIC_FAMILY_HDRSZ),