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

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

Value:

for (pos = head, rem = len; \
           nlmsg_ok(pos, rem); \
           pos = nlmsg_next(pos, &(rem)))
Iterate over a stream of messages
  • pos loop counter, set to current message
  • head head of message stream
  • len length of message stream
  • rem initialized to len, holds bytes currently remaining in stream

Definition at line 133 of file msg.h.


Generated by  Doxygen 1.6.0   Back to index