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

#define nla_for_each_attr ( pos,
head,
len,
rem   ) 

Value:

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().


Generated by  Doxygen 1.6.0   Back to index