Home
last modified time | relevance | path

Searched refs:NLA_HDRLEN (Results 1 - 3 of 3) sorted by relevance

/third_party/libbpf/src/
H A Dnlattr.h86 return (void *)nla + NLA_HDRLEN; in libbpf_nla_data()
120 return nla->nla_len - NLA_HDRLEN; in libbpf_nla_len()
133 return (struct nlattr *)((void *)nla + NLA_HDRLEN); in nla_data()
146 if (NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(NLA_HDRLEN + len) > sizeof(*req)) in nlattr_add()
153 nla->nla_len = NLA_HDRLEN + len; in nlattr_add()
/third_party/ltp/testcases/kernel/controllers/cgroup/
H A Dcgroup_regression_getdelays.c44 #define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN))
45 #define NLA_PAYLOAD(len) (len - NLA_HDRLEN)
142 na->nla_len = nla_len + 1 + NLA_HDRLEN; in send_cmd()
/third_party/libbpf/include/uapi/linux/
H A Dnetlink.h203 * <------- NLA_HDRLEN ------> <-- NLA_ALIGN(payload)-->
232 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) macro

Completed in 2 milliseconds