Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dnlattr.h134 if (NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(NLA_HDRLEN + len) > sizeof(*req)) in nlattr_add()
144 req->nh.nlmsg_len = NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(nla->nla_len); in nlattr_add()
Dnlattr.c27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
/tools/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)))
/tools/accounting/
Dgetdelays.c188 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id()
477 len += NLA_ALIGN(na->nla_len); in main()
523 len2 += NLA_ALIGN(na->nla_len); in main()
525 NLA_ALIGN(na->nla_len)); in main()
/tools/testing/selftests/nci/
Dnci_dev.c139 prv_len = NLA_ALIGN(nla_len[cnt]) + NLA_HDRLEN; in send_cmd_mt_nla()
205 len += NLA_ALIGN(na->nla_len); in get_family_id()
226 group_attr_len += NLA_ALIGN(group_na->nla_len) + in get_family_id()
232 NLA_ALIGN(group_na->nla_len)); in get_family_id()
289 len += NLA_ALIGN(na->nla_len); in get_dev_enable_state()
677 len += NLA_ALIGN(na->nla_len); in get_taginfo()