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

#define nla_for_each_nested ( pos,
nla,
rem   ) 

Value:

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 272 of file attr.h.

Referenced by rtnl_ematch_parse().


Generated by  Doxygen 1.6.0   Back to index