Logo Search packages:      
Sourcecode: libnl version File versions

int nla_put_u32 ( struct nl_msg *  n,
int  attrtype,
uint32_t  value 
)

Add a u32 netlink attribute to a netlink message

  • n netlink message
  • attrtype attribute type
  • value numeric value

Definition at line 570 of file attr.c.

References nla_put().

Referenced by rtnl_neightbl_build_change_request().

{
      return nla_put(n, attrtype, sizeof(uint32_t), &value);
}


Generated by  Doxygen 1.6.0   Back to index