Searched refs:NLA_ALIGN (Results 1 – 10 of 10) sorted by relevance
281 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1))288 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
226 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro227 #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()
60 len = tc->tc_opts->d_size - NLA_ALIGN(sizeof(*qopt)); in mqprio_msg_parser()66 ((char *) tc->tc_opts->d_data + NLA_ALIGN(sizeof(*qopt))), in mqprio_msg_parser()
76 return NLA_ALIGN(nla_attr_size(payload)); in nla_total_size()174 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
468 data = (char *) nla_data(a) + NLA_ALIGN(sizeof(*hdr)); in rtnl_ematch_parse_attr()469 len = nla_len(a) - NLA_ALIGN(sizeof(*hdr)); in rtnl_ematch_parse_attr()
276 iov[2].iov_len = NLA_ALIGN(payload_len); in nfnl_queue_msg_send_verdict_payload()
187 offset += NLA_ALIGN(attr->nla_len); in extract_opt_stats_from_cmsg()
1158 CMSG_SPACE(32 * NLA_ALIGN(NLA_HDRLEN + sizeof(uint64_t))); in process_errors()
1671 <---- NLA_HDRLEN -----> <--- NLA_ALIGN(len) ---> <---- NLA_HDRLEN ---