for (pos = head, rem = len; \
nla_ok(pos, rem); \
pos = nla_next(pos, &(rem)))
iterate over a stream of attributes
- pos loop counter, set to current attribute
- head head of attribute stream
- len length of attribute stream
- rem initialized to len, holds bytes currently remaining in stream
Definition at line 258 of file attr.h.
Referenced by nla_find(), nla_parse(), and nla_validate().