Home
last modified time | relevance | path

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

/third_party/libnl/include/netlink/
Dnetlink-kernel.h281 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1))
288 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
/third_party/libnl/include/linux-private/linux/
Dnetlink.h226 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro
227 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c188 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()
/third_party/libnl/lib/route/qdisc/
Dmqprio.c60 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()
/third_party/libnl/lib/
Dattr.c76 return NLA_ALIGN(nla_attr_size(payload)); in nla_total_size()
174 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
/third_party/libnl/lib/route/cls/
Dematch.c468 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()
/third_party/libnl/lib/netfilter/
Dqueue_msg.c276 iov[2].iov_len = NLA_ALIGN(payload_len); in nfnl_queue_msg_send_verdict_payload()
/third_party/grpc/src/core/lib/iomgr/
Dbuffer_list.cc187 offset += NLA_ALIGN(attr->nla_len); in extract_opt_stats_from_cmsg()
Dtcp_posix.cc1158 CMSG_SPACE(32 * NLA_ALIGN(NLA_HDRLEN + sizeof(uint64_t))); in process_errors()
/third_party/libnl/doc/
Dcore.txt1671 <---- NLA_HDRLEN -----> <--- NLA_ALIGN(len) ---> <---- NLA_HDRLEN ---