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

#define NLA_PUT ( msg,
data   ) 


do { \
            if (nla_put(msg, attrtype, attrlen, data) < 0) \
                  goto nla_put_failure; \
      } while(0)
Add unspecific attribute to netlink message.
  • msg Netlink message.
  • attrtype Attribute type.
  • attrlen Length of attribute payload.
  • data Head of attribute payload.

Definition at line 143 of file attr.h.

Generated by  Doxygen 1.6.0   Back to index