Searched refs:NLA_ALIGN (Results 1 – 8 of 8) sorted by relevance
146 if (NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(NLA_HDRLEN + len) > sizeof(*req)) in nlattr_add()156 req->nh.nlmsg_len = NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(nla->nla_len); in nlattr_add()
27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
231 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro232 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
188 na = (struct nlattr *)((char *)na + NLA_ALIGN(na->nla_len)); in get_family_id()438 len += NLA_ALIGN(na->nla_len); in main()497 len2 += NLA_ALIGN(na->nla_len); in main()
1577 NLA_ALIGN
1617 NLA_ALIGN
3060 pub fn NLA_ALIGN(len: ::c_int) -> ::c_int {
3591 pub fn NLA_ALIGN(len: ::c_int) -> ::c_int {