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

#define nlmsg_for_each_attr ( pos,
nlh,
hdrlen,
rem   ) 

Value:

nla_for_each_attr(pos, nlmsg_attrdata(nlh, hdrlen), \
                    nlmsg_attrlen(nlh, hdrlen), rem)
Iterate over a stream of attributes in a message
  • pos loop counter, set to current attribute
  • nlh netlink message header
  • hdrlen length of family header
  • rem initialized to len, holds bytes currently remaining in stream

Definition at line 122 of file msg.h.


Generated by  Doxygen 1.6.0   Back to index