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

int nla_put_u32 ( struct nl_msg *  msg,
int  attrtype,
uint32_t  value 

Add 32 bit integer attribute to netlink message.

  • msg Netlink message.
  • attrtype Attribute type.
  • value Numeric value to store as payload.
See also:
0 on success or a negative error code.

Definition at line 950 of file attr.c.

References nla_put().

      return nla_put(msg, attrtype, sizeof(uint32_t), &value);

Generated by  Doxygen 1.6.0   Back to index