Searched refs:nla_ok (Results 1 – 3 of 3) sorted by relevance
80 extern int nla_ok(const struct nlattr *, int);264 nla_ok(pos, rem); \276 nla_ok(pos, rem); \
148 int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() function
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