Home
last modified time | relevance | path

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

/external/strace/
Dnetlink.h46 #ifndef NLA_ALIGN
47 # define NLA_ALIGN(len) (((len) + 3) & ~3) macro
51 #define NLA_HDRLEN ((unsigned int) NLA_ALIGN(sizeof(struct nlattr)))
Dnetlink_sock_diag.c412 offset = NLA_ALIGN(sizeof(msg)); in decode_netlink_diag_msg()
478 offset = NLA_ALIGN(sizeof(msg)); in decode_packet_diag_msg()
541 offset = NLA_ALIGN(sizeof(req)); in decode_inet_diag_req_compat()
582 offset = NLA_ALIGN(sizeof(req)); in decode_inet_diag_req_v2()
750 offset = NLA_ALIGN(sizeof(msg)); in decode_inet_diag_msg()
827 offset = NLA_ALIGN(sizeof(msg)); in decode_smc_diag_msg()
Dnlattr.c114 const unsigned long nla_len = NLA_ALIGN(nla.nla_len); in decode_nlattr()
/external/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)))
/external/libnl/include/linux-private/linux/
Dnetlink.h146 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro
147 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
/external/iproute2/include/linux/
Dnetlink.h185 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro
186 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
/external/kernel-headers/original/uapi/linux/
Dnetlink.h189 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro
190 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
/external/ltp/testcases/kernel/controllers/cgroup/
Dgetdelays.c191 na = (struct nlattr *)((char *)na + NLA_ALIGN(na->nla_len)); in get_family_id()
444 len += NLA_ALIGN(na->nla_len); in main()
503 len2 += NLA_ALIGN(na->nla_len); in main()
/external/libnl/lib/
Dattr.c75 return NLA_ALIGN(nla_attr_size(payload)); in nla_total_size()
173 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
/external/libnl/lib/route/cls/
Dematch.c410 data = nla_data(a) + NLA_ALIGN(sizeof(*hdr)); in rtnl_ematch_parse_attr()
411 len = nla_len(a) - NLA_ALIGN(sizeof(*hdr)); in rtnl_ematch_parse_attr()
/external/libnl/lib/netfilter/
Dqueue_msg.c287 iov[2].iov_len = NLA_ALIGN(payload_len); in nfnl_queue_msg_send_verdict_payload()
/external/dhcpcd-6.8.2/
Dif-linux.c923 *rem -= NLA_ALIGN(nla->nla_len); in nla_next()
924 return (struct nlattr *)(void *)((char *)nla + NLA_ALIGN(nla->nla_len)); in nla_next()
951 len = NLA_ALIGN(NLA_HDRLEN + sizeof(data)); in nla_put_32()
974 len = NLA_ALIGN(NLA_HDRLEN + sl); in nla_put_string()
/external/libnl/doc/
Dcore.txt1671 <---- NLA_HDRLEN -----> <--- NLA_ALIGN(len) ---> <---- NLA_HDRLEN ---