Searched refs:NLA_ALIGN (Results 1 – 4 of 4) sorted by relevance
18 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()
1047 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()
231 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro232 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
290 .hdrsize = NLA_ALIGN(GENL_MAGIC_FAMILY_HDRSZ),