Searched refs:nla_ok (Results 1 – 6 of 6) sorted by relevance
89 extern int nla_ok(const struct nlattr *, int);320 nla_ok(pos, rem); \332 nla_ok(pos, rem); \
265 nla_ok;
149 int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() function
128 for (; nla_ok(nla, len); nla = nla_next(nla, &len)) { in macvlan_parse()
546 for (nla = nla_data(tb[IFLA_VFINFO_LIST]); nla_ok(nla, len); in rtnl_link_sriov_parse_vflist()
1715 in the attribute stream. The function nla_ok() exists to determine whether1722 int nla_ok(const struct nlattr *attr, int remaining);1725 A typical use of nla_ok() and nla_next() looks like this:1727 .nla_ok()/nla_next() usage1736 while (nla_ok(hdr, remaining)) {1742 NOTE: `nla_ok()` only returns true if the *complete* attributes