Logo Search packages:      
Sourcecode: libnl version File versions  Download package

#define nla_for_each_nested (   pos,
for (pos = nla_data(nla), rem = nla_len(nla); \
           nla_ok(pos, rem); \
           pos = nla_next(pos, &(rem)))

iterate over a stream of nested attributes

  • pos loop counter, set to current attribute
  • nla attribute containing the nested attributes
  • rem initialized to len, holds bytes currently remaining in stream

Definition at line 276 of file attr.h.

Generated by  Doxygen 1.6.0   Back to index