Home
last modified time | relevance | path

Searched refs:nla_attr_size (Results 1 – 3 of 3) sorted by relevance

/external/libnl/tests/
Dcheck-attr.c18 fail_if(nla_attr_size(0) != NLA_HDRLEN, in START_TEST()
20 fail_if(nla_attr_size(1) != NLA_HDRLEN + 1, in START_TEST()
22 fail_if(nla_attr_size(2) != NLA_HDRLEN + 2, in START_TEST()
24 fail_if(nla_attr_size(3) != NLA_HDRLEN + 3, in START_TEST()
26 fail_if(nla_attr_size(4) != NLA_HDRLEN + 4, in START_TEST()
/external/libnl/lib/
Dattr.c55 int nla_attr_size(int payload) in nla_attr_size() function
75 return NLA_ALIGN(nla_attr_size(payload)); in nla_total_size()
93 return nla_total_size(payload) - nla_attr_size(payload); in nla_padlen()
471 nla->nla_len = nla_attr_size(attrlen); in nla_reserve()
/external/libnl/include/netlink/
Dattr.h72 extern int nla_attr_size(int payload);