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

#define nla_for_each_attr ( pos,
rem   ) 


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

Referenced by nla_find(), nla_parse(), and nla_validate().

Generated by  Doxygen 1.6.0   Back to index