Home
last modified time | relevance | path

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

/include/net/
Dnetlink.h1146 static inline int nla_len(const struct nlattr *nla) in nla_len() function
1148 return nla->nla_len - NLA_HDRLEN; in nla_len()
1159 nla->nla_len >= sizeof(*nla) && in nla_ok()
1160 nla->nla_len <= remaining; in nla_ok()
1173 unsigned int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
1189 return nla_find(nla_data(nla), nla_len(nla), attrtype); in nla_find_nested()
1212 return __nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy, in nla_parse_nested()
1231 return __nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy, in nla_parse_nested_deprecated()
1748 return kmemdup(nla_data(src), nla_len(src), gfp); in nla_memdup()
1800 start->nla_len = skb_tail_pointer(skb) - (unsigned char *)start; in nla_nest_end()
[all …]
/include/uapi/linux/
Dnetlink.h214 __u16 nla_len; member
/include/linux/
Dgenl_magic_func.h118 nla_data(nla), nla_len(nla)); \